Grégory Joseph | 9 Feb 11:30
Gravatar

Re: Module development with Tomcat and Eclipse

Hey David,

I think you meant to send your email to the list, ie <user-list <at> magnolia-cms.com>

Cheers,

-greg

On 09 Feb 2012, at 11:09, Toniolo, David wrote:

Hi Magnolians,

 

can anybody help how to setup a development environment for a module without Maven? The module is built with ANT.

 

Currently, I have to build the module JAR and make a complete deployment. L What I search for is a hot deploy configuration with Eclipse, Tomcat and ANT.

 

Greetings,

David




----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------
Will Scheidegger | 7 Feb 16:04
Picon

[magnolia-user] Maven question: Where are ${project.name} and others in the module descriptor replaced?

Dear Magnolians

I confess: I don't know nearly as much about Maven as I should. And today it showed again :-/

When you create a module with the archetypes [1] you will end up with a module descriptor file with property placeholders:
- ${project.name}
- ${project.description}
- ${project.version}

I was hoping that these would be replaced when building the project. However this is not the case... unless I
am using "magnolia-parent-pom-community-module" as parent pom. => So it must be a setting in the parent
pom then! When having a closer look at these poms I found a "maven-setproperty-plugin" in
"magnolia-parent-pom-abstract". Inserting this plugin (with a whole lot of additional stuff) in my
projects parent pom unfortunately did not solve the problem.

Can anyone tell me what I need to add exactly?

Thanks!
-will

[1] http://wiki.magnolia-cms.com/display/WIKI/Module+QuickStart

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Magnolia version upgrade to latest version

Hi,

Can anyone please help me with the download link to latest magnolia libraries?

Thanks in advance

Regards,
Toufiq

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=359f1d9a-bacd-45b9-a3e4-7067968a646d

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Catalin Anghel | 7 Feb 09:29
Picon
Gravatar

[magnolia-user] How to register a custom node type as versionable ?

Hi, 

I am new to Magnolia and I have this problem registering a custom node type as versionable (i hope I got this right) 
To explain a little better, my goal is to version my custom nodes in order to give the possibility to the editor of the page to have a list of versions and to be able to see the changes. 

My nodetypes.xml looks something like this: 
<nodeTypes 
    xmlns:rep="internal" 
    xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
    xmlns:mgnl="http://www.magnolia.info/jcr/mgnl"
    xmlns:jcr="http://www.jcp.org/jcr/1.0">

    <nodeType name="mgnl:product" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
        <supertypes>
            <supertype>mgnl:content</supertype>
            <supertype>mix:referenceable</supertype>
        </supertypes>
    </nodeType>
    <nodeType name="mgnl:productCar" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">
        <supertypes>
            <supertype>mgnl:product</supertype>
        </supertypes>
    </nodeType>
......................................................................................... 
</nodeTypes>

I have to say that mgnl:content already has mix:referenceable as a supertype and I expected to see some inheritance... but the node of type mgnl:product was not versionable in the end. 
Is there something else that I must configure or it's just the XML containing the node types? 

Any help will be highly appreciated. 

Thanks a lot,  
Catalin 


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------
Will Scheidegger | 6 Feb 17:10
Picon

[magnolia-user] multiselect control with saveMode list or json working for anyone?

Dear Magnolians

I'm trying to use the multiselect control [1] on Magnolia CE 4.4.5 with the "saveMode" set to something
other than "multiple". However the if the "saveMode" is not set either to "list" or "json" the "values"
variable in the save handler is null and the "valueStr" is empty ("")! Even worse: When set to "json" the
multiselect control will produce a JavaScript error unless you manually add a nodedata to the node with
the name set to the control name and the value set to [].

So: Is this saveMode feature working for anyone? Is it a bug? Or is it just me?

Thanks for the feedback.

-will

[1] http://documentation.magnolia-cms.com/reference/controls.html#multiselect

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Downgrade from Mgnl EE to CE

Hi there,

I started with MGNL CE, set up a website for testing and so on. Then I wanted to upgrade to EE, which worked well.

Now, that the eval period has expired, I would like to downgrade again. Is there a documented way?

Thanks in advance!

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=7119dd08-9e92-412f-a603-868879cebadc

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Picon

Custom Search page

I'm trying to setup a custom search template for my site in EE. I've created the template, search result paragraph and the freemarker script based on the stk search-result template and creating a new page using that template works but pulls in the stk freemarker script instead of my new one. Is there somewhere else that the ftl file is declared apart from in the new paragraph templatePath? I would rather not change the stk search-results script as the page will need to be formatted differently depending on the project.
 
Any ideas what I've done wrong or not done? Any help most appreciated as it's driving me crazy now.
 
Thanks
 
Jon


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------
This email and any other accompanying document (s) contain information from Kent Police, which is
confidential or privileged.  The information is intended to be for the exclusive use of the individual(s)
or bodies to whom it is addressed. The content including any subsequent replies could be disclosable if
relating to a criminal investigation or civil proceedings. If you are not the intended recipient, be
aware that any disclosure, copying, distribution or use of the contents of this information is
prohibited. If you have received this email in error, please notify us immediately by contacting the
sender or telephoning 01622 690690.

[magnolia-user] Maven archetype broken ?

Hello, 

on Friday I was still able to create a new magnolia project by using the maven archetype but today it seems to
be broken.

Here's what I get : 

[code]
> mvn archetype:generate -DarchetypeCatalog=http://nexus.magnolia-cms.com/content/groups/public/
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:generate] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
Choose a number: : 

[/code]

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=f6b0e128-6fff-4eb4-bd76-68aa4a9621fc

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Authoring instance out of sync with public instances

Hi All,

We are running Magnolia community edition version 3.5.4. Our website is running on tomcat and we have JSP
templates that were developed here shortly after the big bang by aliens. Short story is that we have almost
no clue how this works?

Last week after doing some authoring work and publishing the updates, none of the templates (including our
site?s home page), were able to render. I don?t recall exactly what the Magnolia error in the tomcat
logfiles was. 

We tried taking SQL dumps from the authoring DB and loading it to the public DB but it did not work. We
eventually had to restore the public MySQL DB from backup on the webservers, and this solved the issue with
the public DBs. Unfortunately, we did not have a valid backup for the authoring instance. So now, the site
is up and running, but the authoring DB is trash and we can?t even login to it.

Is there a way to restore/rebuild the authoring instance from the public instance?

Thanks!
David.

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=6db90c8d-3431-46d1-87ee-719d916895f6

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Will Scheidegger | 3 Feb 12:52
Picon

[magnolia-user] separate JAAS config for author and public not possible?

Dear Magnolians

Please excuse my ignorance, but I just now discovered something odd in the logs when starting up a Tomcat with an author and a public Magnolia instance which have different JAAS config files. The public instance starts up first (everything o.k.) followed by the author instance. And here is where things get interesting:

2012-02-03 12:45:15,471 INFO  fo.magnolia.cms.beans.config.PropertiesInitializer: Loading configuration at /path/to/tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties
Initializing Log4J
Initializing Log4J from [WEB-INF/config/default/log4j.xml]
2012-02-03 12:45:15,506 INFO  info.magnolia.cms.beans.config.ConfigLoader       : JAAS config file set by parent container or some other application
2012-02-03 12:45:15,513 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Config in use /path/to/tomcat/webapps/magnoliaPublic/WEB-INF/config/jaas.config
2012-02-03 12:45:15,514 INFO  info.magnolia.cms.beans.config.ConfigLoader       : Please make sure JAAS config has all necessary modules (refer config/jaas.config) configured

So am I doing something wrong or does the first webapp with a JAAS configuration set the config for all following webapps (which would suck big time)?

Thanks for shedding some light on this!

-will



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------

Oracle 11g

Hi,

I am using Oracle as the Persitence Manager and every time I restart the webapp server (TOMCAT or JBOSS), the
Magnolia application ask me to reinstall the modules.

The magnolia.repositories.home is outside the webapp.

Thank you in advance for your help !

Eric

--

-- 
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=2258c5c0-b1ae-426b-b73f-a6465670ebb9

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscribe <at> magnolia-cms.com>
----------------------------------------------------------------


Gmane