Re: Geronom 2.1.4, Thread Pools are reporting zero usage
Thanks Jack, Is there a way that we can check for thread usage in the console? Jack Cai wrote: > > I looked through the code to see how ConnectorThreadPool and > DefaultThreadPool are actually used. It seems that ConnectorThreadPool is > used by org.apache.geronimo.connector.work.GeronimoWorkManagerGBean in > JCA, > and DefaultThreadPool is used by Jetty and System-database. So their names > are misleading in some sense. You cannot expect that the > ConnectorThreadPool > has any link with Tomcat's web connector. Hope this helps. > > -Jack > > 2009/3/12 jklcom99 > >> >> I'm running 3/2/09 2.1.4-SNAPSHOT. >> >> Geronimo console is reporting zero usages for both ConnectorThreadPool >> and >> DefaultThreadPool even with our application running. >> >> ConnectorThreadPool is set to 30 Max >> DefaultThreadPool is set to 200 min and 500 max >> >> >> Thank you >> >> -- >> View this message in context: >> http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22461310.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22681515.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Geronom 2.1.4, Thread Pools are reporting zero usage
I'm running 3/2/09 2.1.4-SNAPSHOT. Geronimo console is reporting zero usages for both ConnectorThreadPool and DefaultThreadPool even with our application running. ConnectorThreadPool is set to 30 Max DefaultThreadPool is set to 200 min and 500 max Thank you -- View this message in context: http://www.nabble.com/Geronom-2.1.4%2C-Thread-Pools-are-reporting-zero-usage-tp22461310s134p22461310.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Connecting To 192.168.1.100...Could not open connection to the host, on port 9999: Connect failed
We have changed the ActiveMQPort to something other than 61616 along with the recommended changes from https://issues.apache.org/jira/browse/GERONIMO-4518 to change all localhost and 0.0.0.0 references to 127.0.0.1 I wonder if this is a similar issue as with the rmi port... in the jms-plan.xml, we have: ... ConnectionFactory tcp://localhost: geronimo geronimo DefaultWorkManager ... It only works if we try to connect using localhost or 127.0.0.1 It does not work if connect through a real ip or a hostname. -- View this message in context: http://www.nabble.com/Connecting-To-192.168.1.100...Could-not-open-connection-to-the-host%2C-on-port-%3A-Connect-failed-tp22293908s134p22293908.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Geronimo-2.1.4 snapshot, server can't shutdown
I pulled down the latest 2/23/2009 build of 2.1.4 snapshot. I made the changes to all references of localhost and 0.0.0.0 to 127.0.0.1in config-substitutions.properties as mentioned in https://issues.apache.org/jira/browse/GERONIMO-4518. When ran stop-server C:\Geronimo2.1.4\bin>stop-server -p 3999 Connecting to Geronimo server: localhost:3999 Username: system Password: *** Connection established Stopping Geronimo server... The command never returns and the server never stops -- View this message in context: http://www.nabble.com/Geronimo-2.1.4-snapshot%2C-server-can%27t-shutdown-tp22170578s134p22170578.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Resource Refs in an ejb-jar inside an EAR on Geronimo 2-0-M5
Hi David, I'm not sure if the problem I'm having is related to openejb or something I'm missing in migrating from 1.1.1 to 2.1.2. Can you take a look at this thread http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-td18404327s134.html to see if you can spot something? Thank you djencks wrote: > > > On May 27, 2007, at 12:09 PM, ptriller wrote: > >> >> Hi ! >> >> Ok, my Problem. >> >> I try to have some EE5 MDBs inside an EAR for geronimo-2.0-M5. >> >> I managed to add the resource-adapter to my EAR, and it seems to work. >> Becaue I can inject >> the resources from the Resource Adapter into a Listener class in >> my Webapp >> (also included in >> my EAR) and if I voluntarily add some typos to the resource adapter >> or the >> resource-ref or >> resource-env-res in my geronimo-web, I get deployment errors. >> >> So far so good. >> >> Now I want to add an ejb-jar with an MDB. ok >> >> I write an EJB .. annotate it. and put it in a jar ... add it to the >> application.xml .. all is well. >> >> That works no problem with stateless session beans .. but now I >> have some >> JNDI and env >> resources to map .. >> so I add an openejb-jar.xml to the jar . >> >> It seems they changed the xsd for this file substantially in the 2.0 >> release.. I had to >> get the xsd from the geronimo server to know what I should do. >> >> The new format seems to be very simplistic compared to the old >> ones >> >> my current openejb-jar.xml is >> >> >> http://www.openejb.org/openejb-jar/1.1";> >> >> > res-id="ConnectionFactory" /> >> > res-id="ScheduleManagerQueue" /> >> > res-id="ScheduledTopic" /> >> >> >> >> If I try to use the old format, I only get parse errors... >> >> >> so ... My question is. >> >> How do I map env-resources (in my case JMX Topics and Queues) and >> normal >> resources correctly with this new openejb format ? > > The openejb 2.x xml plan format should still work, it is either > converted on the fly to the new format or understood by some part of > the deployer. I've been seeing one error message per ejb plan but > it doesn't seem to have any bad effects, the ejbs still deploy and > work fine. > > The last I heard was that it was better to use the 2.x plans rather > than a 3.x plan for openejb stuff since the conversion code will > continue to be maintained but the 3.x schema is subject to change > without any backward compatibility -- you would have to update your > plans yourself. > > What is actually not working with the 2.x plans? > > thanks > david jencks > >> >> >> Thanks >> >> >> Peter >> -- >> View this message in context: http://www.nabble.com/Resource-Refs- >> in-an-ejb-jar-inside-an-EAR-on-Geronimo-2-0-M5- >> tf3824624s134.html#a10827459 >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Resource-Refs-in-an-ejb-jar-inside-an-EAR-on-Geronimo-2-0-M5-tp10827459s134p20033539.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, I went through the deployment plans again and not seeing anything... no idea. Here's what got started between the two servers, maybe you will see something: For G1.1.1 100% 89s Startup complete Listening on Ports: [java] 1527 127.0.0.1 Derby Connector [java] 1099 0.0.0.0 RMI Naming [java] 4201 127.0.0.1 ActiveIO Connector EJB [java] 4242 127.0.0.1 Remote Login Listener [java] 8009 127.0.0.1 Tomcat Connector AJP [java] 8080 127.0.0.1 Tomcat Connector HTTP [java] 0.0.0.0 ActiveMQ Message Broker Connector [java] 8443 0.0.0.0 Tomcat Connector HTTPS [java] 127.0.0.1 JMX Remoting Connector [java] [java] Started Application Modules: [java] EAR: geronimo/webconsole-tomcat/1.1.1/car [java] EAR: myApp/1.0/car [java] RAR: geronimo/activemq/1.1.1/car [java] RAR: appDataSource/1.0/rar [java] RAR: appJMS/1.0/rar [java] WAR: geronimo/remote-deploy-tomcat/1.1.1/car [java] WAR: appWeb/1.0/war For G2.1.2 100% 105s Startup completeListening on Ports: [java] 1050 127.0.0.1 CORBA Naming Service [java] 1527 127.0.0.1 Derby Connector [java] 2001 127.0.0.1 OpenEJB ORB Adapter [java] 1099 0.0.0.0 RMI Naming [java] 4201 127.0.0.1 OpenEJB Daemon [java] 6882 127.0.0.1 OpenEJB ORB Adapter [java] 8009 127.0.0.1 Tomcat Connector AJP AJP [java] 8080 127.0.0.1 Tomcat Connector HTTP BIO HTTP [java] 127.0.0.1 ActiveMQ Transport Connector [java] 8443 127.0.0.1 Tomcat Connector HTTPS BIO HTTPS [java] 127.0.0.1 JMX Remoting Connector [java]61613 127.0.0.1 ActiveMQ Transport Connector [java] [java] Started Application Modules: [java] EAR: myApp/1.0/car [java] EAR: org.apache.geronimo.configs/uddi-tomcat/2.1.2/car [java] EAR: org.apache.geronimo.plugins/console-tomcat/2.1.2/car [java] JAR: org.apache.geronimo.configs/mejb/2.1.2/car [java] JAR: org.apache.geronimo.plugins/agent/2.1.2/car [java] RAR: appDataSource/1.0/rar [java] RAR: appJMS/1.0/rar [java] RAR: org.apache.geronimo.configs/activemq-ra/2.1.2/car [java] RAR: org.apache.geronimo.configs/system-database/2.1.2/car [java] RAR: org.apache.geronimo.plugins/agent-ds/2.1.2/car [java] RAR: org.apache.geronimo.plugins/mconsole-ds/2.1.2/car [java] WAR: appWeb/1.0/war [java] WAR: org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.2/car [java] WAR: org.apache.geronimo.configs/dojo-tomcat/2.1.2/car [java] WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.1.2/car [java] WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.2/car [java] WAR: org.apache.geronimo.plugins/plugin-console-tomcat/2.1.2/car [java] WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.2/car -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p20016160.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Hi Kevan, Thanks for looking into this, hope we can get closure soon :-). openejb-jar.xml: http://openejb.apache.org/xml/ns/openejb-jar-2.2";> http://geronimo.apache.org/xml/ns/deployment-1.2";> myApp AppServicesEjb 1.0 car myApp AppDataSource 1.0 rar AppServices http://geronimo.apache.org/xml/ns/naming-1.2";> ejb/AppServices AppServices http://geronimo.apache.org/xml/ns/naming-1.2";> AppServicesLocal AppServices Resources-ConnectionFactory http://geronimo.apache.org/xml/ns/naming-1.2";> jdbc/myApp.datasource myApp.datasource Kevan Miller wrote: > > > On Oct 13, 2008, at 5:10 PM, jklcom99 wrote: > >> >> Hi Kevan, >> >> I tested out your sample with inPlace deplopment today and it works, >> the >> ContextClassLoader is correct. >> >> In the sample deployment plan: >> >> http://java.sun.com/xml/ns/javaee"; >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee >> http://java.sun.com/xml/ns/javaee/application_5.xsd"; version="5"> >> Geronimo Sample EAR for jms-mdb >> Geronimo Sample EAR for jms-mdb >> >>jms-mdb-ejb-2.1.2-SNAPSHOT.jar >> >> >> >> jms-mdb-war-2.1.2-SNAPSHOT.war >> /order >> >> >> >> >> Where ejb reference is an actual jar jms-mdb-ejb-2.1.2-SNAPSHOT.jar >> under >> jms-mdb.ear >> >> In MyApp deployment plan >> >> >> ... >> >> >> app-ejb.jar >> >> >> ... >> >> >> where app-ejb.jar is another folder under: >> -> MyApp.ear >>-> app-ejb.jar >> -> META-INF >> - manifest.mf >> - openejb-jar.xml >> >> Is there something I'm missing in migrating from 1.1.1 to 2.1.2? > > Hi Jeff, > Slowly, but surely :) So, what does your openejb-jar.xml look > like? FYI, I exploded my jar, ran an inplace deploy, and the > ClassLoader looks correct. Still looking for a way to reproduce your > problem... > > --kevan > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19972648.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Hi Kevan, I tested out your sample with inPlace deplopment today and it works, the ContextClassLoader is correct. In the sample deployment plan: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"; version="5"> Geronimo Sample EAR for jms-mdb Geronimo Sample EAR for jms-mdb jms-mdb-ejb-2.1.2-SNAPSHOT.jar jms-mdb-war-2.1.2-SNAPSHOT.war /order Where ejb reference is an actual jar jms-mdb-ejb-2.1.2-SNAPSHOT.jar under jms-mdb.ear In MyApp deployment plan ... app-ejb.jar ... where app-ejb.jar is another folder under: -> MyApp.ear -> app-ejb.jar -> META-INF - manifest.mf - openejb-jar.xml Is there something I'm missing in migrating from 1.1.1 to 2.1.2? -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19962992.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, I haven't a chance to test the in-place deployment with your sample code. However, I did verify that with the same code running under Geronimo 1.1.1, the MDB ContextClassLoader is correct. **Thread.currentThread().getContextClassLoader() = [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=myApp/1.0/car] Whereas under Geronimo 2.1.2 > *** Thread.currentThread().getContextClassLoader() = [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=appJMS/1.0/rar] Thanks Kevan Miller wrote: > > > On Sep 18, 2008, at 10:46 AM, jklcom99 wrote: > >> >> Kevan, >> >> Do you see anything wrong with the in-place deployment? Is this an >> issue >> with openejb not setting the classloader? > > Jeff, > I'll give in-place deployment a try. Not sure that I can get to it, > today. If you're able to test in-place with my sample, that'd be > great. Once we can recreate your issue, should go a long way to fixing > it... > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19627799.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: offline deploy org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance
I will give it a try when I get a chance. Has IBM JRE been tested with Geronimo? Thanks Donald Woods-2 wrote: > > Do you get the same results with the Sun 1.6.0_07 JDK? > > > -Donald > > > jklcom99 wrote: >> This might have manifested from the fact that we had to clear out the >> manifest classpath due the invalid jar exception during deployment and >> merging the jms module. >> Thus, we're in need of these two fixes >> https://issues.apache.org/jira/browse/GERONIMO-3316 >> https://issues.apache.org/jira/browse/OPENEJB-889 >> >> Yes, keystor settings are set in config.xml and using IBM jre1.6.0sr1 >> >> Thanks >> >> >> Have you modified the default keystore settings in config.xml? >> keystoreFile, keystorePass, keystoreType >> Or modified/deleted the default keystore? >> var/security/keystores/geronimo-default >> >> What services is your app using - EJBs, security, connectors, jms, app >> client, ? >> >> Which JDK are you using? >> >> >> -Donald >> >> >> > > -- View this message in context: http://www.nabble.com/offline-deploy-org.apache.geronimo.gbean.InvalidConfigurationException%3A-Could-not-load-class-org.apache.geronimo.security.keystore.FileKeystoreInstance-tp19414808s134p19571732.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, Do you see anything wrong with the in-place deployment? Is this an issue with openejb not setting the classloader? jklcom99 wrote: > > Yes, I did and it ran. > > The difference I see in the ear deployed structure is that your MDB is in > WEB-INF->lib > > Whereas we are doing an in-place deployment with the following deployed > structure. All MDB's along with other classes are available in the lib > folder. The manifest classpath of app-ejb-jar has references to the > required MDB's via ../lib/myApp.jar. This worked under G1.1.1 > > deployed > apps > myApp.ear > myWeb.war > lib > META-INF > app-ejb.jar > META-INF > app-ejb-jar.xml > MANIFEST.MF > app-openejb-jar.xml > > Thank you > > > > Kevan Miller wrote: >> >> >> On Sep 17, 2008, at 12:28 AM, jklcom99 wrote: >> >>> >>> I don't have the ... in ear deployment plan. It >>> still got >>> the wrong classloader after adding ... >> >> Can you (did you) run a test using my test apps? >> >> --kevan >> >> >> > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19554557.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Changing application calsspath to include directory
How to create the config file? Can you show me an example? ammulder wrote: > > I'm not sure you can do this in 1.0. In 1.1, each EAR could deploy a > private copy of the SharedLib GBean and point it to the directory you > want to add as part of its "classesDirs" property (which can be one > dir or a comma-separated list of dirs). > > class="org.apache.geronimo.system.sharedlib.SharedLib"> > /path/to/properties/dir > > ServerInfo > > > > Still, the more portable solution would be to put the config files in > a JAR and put the JAR on the classpath somehow (e.g. add it to an EJB > JAR's Manifest Class-Path or put it in a WAR's WEB-INF/lib). > > Thanks, > Aaron > > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: >> >> Hi >> >> I have an EAR I want to deploy multiple times, each time with a different >> classpath. The reason for this is I want test and live versions, and in >> each >> case the application loads a property file from the classpath to >> configure >> things like database server names, web service endpoints and so on. >> >> I have read the documentation about how to add jars in at deployment time >> via entries in geronimo-application.xml, but I don't want to add jars, I >> want to add directories. >> >> Can anyone help ? >> >> Target >> >> www.targetgroup.net >> >> >> >> ** >> >> DISCLAIMER. >> >> This message is intended only for the use of the Addressee and may >> >> contain information that is PRIVILEGED and CONFIDENTIAL. >> >> If you are not the intended recipient you must not copy, >> >> distribute or take any action or reliance upon it. >> >> The content of this message may also contain personal >> >> views of an employee of this company and does >> >> not necessarily represent the view of the company. >> >> ** >> >> This message has been scanned by Norton Anti-Virus. >> >> It has also been scanned by MAILsweeper to enforce our e-mail >> >> policy. If you have any concerns or comments about the content >> >> of this message, please e-mail [EMAIL PROTECTED] >> >> ** >> _ >> This email has been scanned for all viruses by the MessageLabs Email >> Security System. For more information on a proactive email security >> service working around the clock, around the globe, visit >> http://www.messagelabs.com >> > > -- View this message in context: http://www.nabble.com/Changing-application-calsspath-to-include-directory-tp4770139s134p19541064.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Yes, I did and it ran. The difference I see in the ear deployed structure is that your MDB is in WEB-INF->lib Whereas we are doing an in-place deployment with the following deployed structure. All MDB's along with other classes are available in the lib folder. The manifest classpath of app-ejb-jar has references to the required MDB's via ../lib/myApp.jar. This worked under G1.1.1 deployed apps myApp.ear myWeb.war lib META-INF app-ejb.jar META-INF app-ejb-jar.xml MANIFEST.MF app-openejb-jar.xml Thank you Kevan Miller wrote: > > > On Sep 17, 2008, at 12:28 AM, jklcom99 wrote: > >> >> I don't have the ... in ear deployment plan. It >> still got >> the wrong classloader after adding ... > > Can you (did you) run a test using my test apps? > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19537546.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
I don't have the ... in ear deployment plan. It still got the wrong classloader after adding ... Kevan Miller wrote: > > > On Sep 16, 2008, at 2:50 PM, jklcom99 wrote: > >> >> contextClassLoader in MDB, >> >> *** Thread.currentThread().getContextClassLoader() = >> [org.apache.geronimo.kernel.classloader.JarFileClassLoader >> id=appJMS/1.0/rar] >> >> [java] javax.jms.JMSException: Failed to build body from bytes. >> Reason: >> java.io.IOException: > > Bingo. That's definitely a bad ClassLoader. Now the question is why... > > I split apart our jms-mdb example and rigged up an application which I > thought was structurally equivalent to yours. Could you give it a try? > > http://people.apache.org/~kevan/test/ contains the apps/deployment plans > > 1) deploy.sh deploy geronimo-activemq-ra-2.1.2.rar geronimo-ra.xml > 2) deploy.sh deploy jms-mdb.ear geronimo-application.xml > > Then go to http://localhost:8080/order/ , fill out the order form, and > click order. You should see the following output on the server (at > least this is what I see): > > (client) Start Sending Order Request > (client) Order Request Sent > Thread.currentThread().getContextClassLoader() = > [org.apache.geronimo.kernel.config.MultiParentClassLoader id=test/ear/ > 1.0/car] > (mdb) Order Received > > > Can you have a look at tell me what's different (i.e. what I did wrong?) > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19525174.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) [java] at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) [java] at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) [java] at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) [java] at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$54000bc6.startConfiguration() [java] at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162) [java] at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79) [java] at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) [java] at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) [java] at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) [java] Kevan Miller wrote: > > > On Sep 16, 2008, at 11:24 AM, jklcom99 wrote: > >> >> Kevan, >> >> I'm in a process of adding all dependencies to appJMS module. I'm >> getting >> the following error even with >> >>org.jdom >> >> >> j2eeType=GBean,name=RMI_Startup"java.lang.LinkageError: loading >> constraint >> violation: loader >> "org/apache/geronimo/kernel/classloader/[EMAIL PROTECTED]" >> previously initiated loading for a different type with name >> "org/jdom/Document" defined by loader >> "org/apache/geronimo/kernel/classloader/[EMAIL PROTECTED]" > > Heh. I've never seen that before... What's the stacktrace for the Error? > >> >> >> By the way, >> It has the correct id >> [org.apache.geronimo.kernel.config.MultiParentClassLoader >> id=test/ear/1.0/car] right before the message gets sent by >> javax.jms.MessageProducer. > > The ClassLoader problem wouldn't be in your MessageProducer, it will > be in your MDB. We need to know the contextClassLoader when > onMessage() is invoked on your MDB. > > --kevan > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19518194.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, I'm in a process of adding all dependencies to appJMS module. I'm getting the following error even with org.jdom j2eeType=GBean,name=RMI_Startup"java.lang.LinkageError: loading constraint violation: loader "org/apache/geronimo/kernel/classloader/[EMAIL PROTECTED]" previously initiated loading for a different type with name "org/jdom/Document" defined by loader "org/apache/geronimo/kernel/classloader/[EMAIL PROTECTED]" By the way, It has the correct id [org.apache.geronimo.kernel.config.MultiParentClassLoader id=test/ear/1.0/car] right before the message gets sent by javax.jms.MessageProducer. -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19514209.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: offline deploy org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance
This might have manifested from the fact that we had to clear out the manifest classpath due the invalid jar exception during deployment and merging the jms module. Thus, we're in need of these two fixes https://issues.apache.org/jira/browse/GERONIMO-3316 https://issues.apache.org/jira/browse/OPENEJB-889 Yes, keystor settings are set in config.xml and using IBM jre1.6.0sr1 Thanks Have you modified the default keystore settings in config.xml? keystoreFile, keystorePass, keystoreType Or modified/deleted the default keystore? var/security/keystores/geronimo-default What services is your app using - EJBs, security, connectors, jms, app client, ? Which JDK are you using? -Donald -- View this message in context: http://www.nabble.com/offline-deploy-org.apache.geronimo.gbean.InvalidConfigurationException%3A-Could-not-load-class-org.apache.geronimo.security.keystore.FileKeystoreInstance-tp19414808s134p19459853.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Yes, by merging the jms module into app ear deployment. But now we really need to keep them separate because other apps depend on that jms module also. Can you make these two fixes happen sooner because we really really really need them in order to upgrade? Thanks Donald Woods-2 wrote: > > OPENEJB-889 may not happen until their 3.1 release and Geronimo 2.2, but > didn't you find a work-around for this, by changing the app packaging? > > > -Donald > > > jklcom99 wrote: >> Is there a time line for these two fixes? >> https://issues.apache.org/jira/browse/GERONIMO-3316 >> https://issues.apache.org/jira/browse/OPENEJB-889 >> >> We really need these to migrate to G2x. >> >> Thank you >> >> >> Donald Woods-2 wrote: >>> No, and I've updated https://issues.apache.org/jira/browse/GERONIMO-3316 >>> with some fix versions so this doesn't fall of our radar again. Thanks. >>> >>> >>> -Donald >>> >>> >>> jklcom99 wrote: >>>> Kevan, >>>> >>>> Is there a way to tell Geronimo to ignore the manifest classpath that >>>> is >>>> included in the jars while deploying instead of just flat out failed? >>>> Looks >>>> like Geronimo does not like "." notation, reference to a directory such >>>> as >>>> "../somelib" or any jars that it cannot resolved in the ear lib. >>>> >>>> Thanks >>>> >>>> >>> >> > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p19459534.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Is there a time line for these two fixes? https://issues.apache.org/jira/browse/GERONIMO-3316 https://issues.apache.org/jira/browse/OPENEJB-889 We really need these to migrate to G2x. Thank you Donald Woods-2 wrote: > > No, and I've updated https://issues.apache.org/jira/browse/GERONIMO-3316 > with some fix versions so this doesn't fall of our radar again. Thanks. > > > -Donald > > > jklcom99 wrote: >> Kevan, >> >> Is there a way to tell Geronimo to ignore the manifest classpath that is >> included in the jars while deploying instead of just flat out failed? >> Looks >> like Geronimo does not like "." notation, reference to a directory such >> as >> "../somelib" or any jars that it cannot resolved in the ear lib. >> >> Thanks >> >> > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p19458604.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Does it look like this will be fixed soon? Kevan Miller wrote: > > > On Sep 10, 2008, at 4:42 PM, jklcom99 wrote: > >> >> Kevan, >> >> Is this classloader problem fixed? > > Looks like not -- https://issues.apache.org/jira/browse/OPENEJB-889 > > I'm having a look. > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19457555.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Kevan, Is there a way to tell Geronimo to ignore the manifest classpath that is included in the jars while deploying instead of just flat out failed? Looks like Geronimo does not like "." notation, reference to a directory such as "../somelib" or any jars that it cannot resolved in the ear lib. Thanks -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p19456503.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, Is this classloader problem fixed? Thanks Kevan Miller wrote: > > > On Jul 16, 2008, at 6:27 PM, jklcom99 wrote: > >> >> Kevan, >> Your assumption is correct. I've moved the jms connector into my ear >> deployment plan as you suggested. JMS is now happy. >> I'll see if I can mock up some artifacts for you. > > I spoke with David Blevins about this problem. Looks like OpenEJB is > not setting the MDB classloader before the message is delivered to the > MDB, by ActiveMQ. Thus the ClassLoader in effect, when the connector > is deployed separately, is the Connector ClassLoader, instead of the > MDB ClassLoader. > > By the way, there's another potential work-around -- add a dependency > in your appJMS module for the necessary jar files (which you have > installed into your repository). > > --kevan > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19422719.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
offline deploy org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance
Hi, I'm getting the following error with offline deploy Geronimo 2.1.2, what am I missing? C:\java\bin\java.exe" -jar "C:\JavaEE\Geronimo2.1.2\bin\deployer.jar" --user user --password "xxyyzz" --offline deploy "C:\deploy\app-services.ear" 10:17:48,281 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.framework/rmi-naming/2.1.2/car?configurationName=org.apache.geronimo.framework/rmi-naming/2.1.2/car" org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:64) at org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:177) at org.apache.geronimo.kernel.config.Configuration.(Configuration.java:280) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:59) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:41) at java.lang.reflect.Constructor.newInstance(Constructor.java:528) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361) at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:161) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:59) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:39) at java.lang.reflect.Method.invoke(Method.java:612) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$abf28ea6.loadConfiguration() at org.apache.geronimo.kernel.util.MainBootstrapper.loadPersistentConfigurations(MainBootstrapper.java:55) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:58) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.security.keystore.FileKeystoreInstance in classloader org.apache.geronimo.framework/rmi-naming/2.1.2/car at java.lang.ClassNotFoundException.(ClassNotFoundException.java:78) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:436) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:62) ... 32 more org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/jsr88-cli/2.1.2/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManag
org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance
I'm running offline deploy with the following command in G2.1.2: "java.exe" -jar "C:\JavaEE\Geronimo2.1.2\bin\deployer.jar" --user user --password "xxyyzz" --offline deploy "C:\deploy\jms.rar" 11:41:04,315 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.framework/rmi-naming/2.1.2/car?configurationName=org.apache.geronimo.framework/rmi-naming/2.1.2/car" org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class org.apache.geronimo.security.keystore.FileKeystoreInstance at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:64) at org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:177) at org.apache.geronimo.kernel.config.Configuration.(Configuration.java:280) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:59) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:41) at java.lang.reflect.Constructor.newInstance(Constructor.java:528) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361) at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:161) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:255) at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:59) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:39) at java.lang.reflect.Method.invoke(Method.java:612) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$ffdfa7cc.loadConfiguration() at org.apache.geronimo.kernel.util.MainBootstrapper.loadPersistentConfigurations(MainBootstrapper.java:55) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:58) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.security.keystore.FileKeystoreInstance in classloader org.apache.geronimo.framework/rmi-naming/2.1.2/car at java.lang.ClassNotFoundException.(ClassNotFoundException.java:78) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:436) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:62) ... 32 more org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/jsr88-cli/2.1.2/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.j
Re: org.apache.openjpa.persistence.ArgumentException: Errors encountered while resolving metadata. See nested exceptions for details.
I found the problem. org.apache.openjpa under was somehow removed during the file merging on my part. The problem is solved. -- View this message in context: http://www.nabble.com/%3Copenjpa-1.0.2-r420667%3A627158-fatal-user-error%3E-org.apache.openjpa.persistence.ArgumentException%3A-Errors-encountered-while-resolving-metadata.--See-nested-exceptions-for-details.-tp19209348s134p19222308.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
org.apache.openjpa.persistence.ArgumentException: Errors encountered while resolving metadata. See nested exceptions for details.
Hi, I'm running G2.1.2 and it has been running for a few weeks now. I'm not sure why Geronimo is giving this error today: [java] at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:522) [java] at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:302) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JPQLExpressionBuilder.java:167) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.java:136) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:216) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:186) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JPQLExpressionBuilder.java:179) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(JPQLExpressionBuilder.java:66) [java] at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(JPQLExpressionBuilder.java:1677) [java] at org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:55) [java] at org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(ExpressionStoreQuery.java:148) [java] at org.apache.openjpa.datacache.QueryCacheStoreQuery.populateFromCompilation(QueryCacheStoreQuery.java:240) [java] at org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:652) [java] at org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:633) [java] at org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:599) [java] at org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:661) [java] at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1487) [java] at org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:123) [java] at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:227) [java] at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:277) [java] at com.myapp.db.JpaDaoImpl.find(JpaDaoImpl.java:63) [java] at com.myapp.server.QuartzDao.findActiveJobs(QuartzDao.java:208) [java] at com.myapp.server.impl.ServerJobBrokerImpl.addSavedJobsToScheduler(ServerJobBrokerImpl.java:76) [java] at com.myapp.server.impl.ServerJobBrokerImpl.(ServerJobBrokerImpl.java:43) [java] at com.myapp.server.geronimo.Rmi.setupRmiObjects(Rmi.java:234) [java] at com.myapp.server.geronimo.Rmi.start(Rmi.java:120) [java] at com.myapp.server.geronimo.Rmi.doStart(Rmi.java:374) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) [java] at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) [java] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) [java] at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) [java] at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) [j
When is the next stable release
We're looking to upgrade to G2.1.x. Is there a scheduled date for the next stable release? -- View this message in context: http://www.nabble.com/When-is-the-next-stable-release-tp18775174s134p18775174.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Kevan, Your assumption is correct. I've moved the jms connector into my ear deployment plan as you suggested. JMS is now happy. I'll see if I can mock up some artifacts for you. In the meantime, here is what I had before with jms connector as a separate module hopefully will help you determine if it's a bug indeed. geronimo2.1.2 repository apps myApp 1.0 myApp-1.0.car META-INF appweb.war appDataSource 1.0 appDataSource-1.0.rar META-INF rar META-INF appJMS 1.0 appJMS-1.0.rar META-INF rar META-INF NOTE: There is no longer appJMS module, I have moved it into the ear deployment plan. Kevan Miller wrote: > > > On Jul 15, 2008, at 9:56 AM, jklcom99 wrote: > >> >> The app was running on G1.1.1. I've recently upgraded to G2.1.2- >> SNAPSHOT. I >> believe I'm on G2.1.2-SNAPSHOT 07/03 build. >> >> Test case: >> Whenever a scheduled Quartz job kicks off, the server would send a JMS >> message to update the UI. >> Could this be a bug? >> >> Please let me know if you need more information. > > Thanks. Assuming that the contents of your EAR are correct (i.e. lib/ > contains a jar file which contains the required Classes for the > ObjectMessage), I think this is a bug. > > I was hoping you could prepare some deployable artifacts that we could > be used to recreate, test and diagnose the problem. It will take a bit > of work to set up your scenario. Anything that you can do to make it > easier to recreate your problem will increase the chances of somebody > looking at it... > > If I understand correctly, you are separately deploying a JMS 'module' > and an EAR with your MDB. I don't think Quartz is needed to recreate > the problem, just some JMS ObjectMessage with an object from your > EAR's lib/ > > We may be able to figure this out without a test case, but it would > definitely help... > > --kevan > >> >> >> Thank you >> >> >> Kevan Miller wrote: >>> >>> Thanks. Is it possible for you to provide a test case that can >>> illustrate the problem? >>> >>> Which version of Geronimo were you using previously? If you want to >>> try a work-around, you could try moving your connector deployment >>> into >>> your ear deployment plan. >>> >>> --kevan >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18465908.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18498003.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
The app was running on G1.1.1. I've recently upgraded to G2.1.2-SNAPSHOT. I believe I'm on G2.1.2-SNAPSHOT 07/03 build. Test case: Whenever a scheduled Quartz job kicks off, the server would send a JMS message to update the UI. Could this be a bug? Please let me know if you need more information. Thank you Kevan Miller wrote: > > Thanks. Is it possible for you to provide a test case that can > illustrate the problem? > > Which version of Geronimo were you using previously? If you want to > try a work-around, you could try moving your connector deployment into > your ear deployment plan. > > --kevan > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18465908.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
Here is my deployment plan: http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";> http://geronimo.apache.org/xml/ns/deployment-1.2";> apps appJMS 1.0 rar org.apache.geronimo.configs activemq-broker car ConnectionFactory tcp://localhost:9099 geronimo geronimo DefaultWorkManager javax.jms.ConnectionFactory ConnectionFactory javax.jms.QueueConnectionFactory javax.jms.TopicConnectionFactory 10 0 javax.jms.Topic org.activemq.message.ActiveMQTopic myApp/appGridChange myApp/appGridChange Kevan Miller wrote: > > What's the structure of your app(s)? > > This exception indicates that you're using JMS ObjectMessages and > there's a problem deserializing the message bytes into an Object. The > class app.entity.QuartzJobIssued is not being found. Where is that > class packaged? > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18452308.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: javax.jms.JMSException: Failed to build body from bytes
JMS is a separate module. app ->myApp ->1.0 ->myApp-1.0.car ->appJMS app.entity.QuartzJobIssued is packaged in myApp.jar and it is in ear/lib. Kevan Miller wrote: > > What's the structure of your app(s)? > > This exception indicates that you're using JMS ObjectMessages and > there's a problem deserializing the message bytes into an Object. The > class app.entity.QuartzJobIssued is not being found. Where is that > class packaged? > > --kevan > > > -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18425625.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
javax.jms.JMSException: Failed to build body from bytes
I've upgraded to G2.1.2 and activemq-core 4.1.2. Now I'm getting the following JMS exception: [java] 13:20:00,099 WARN [AppBrokerImpl] javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.IOException: app.entity.QuartzJobI ssued [java] 13:20:00,099 ERROR [TokenBrokerImpl] JMSException processing JMS message. [java] javax.jms.JMSException: Failed to build body from bytes. Reason: jav a.io.IOException: app.entity.QuartzJobIssued [java] at org.apache.activemq.util.JMSExceptionSupport.create(JMSExcept ionSupport.java:33) [java] at org.apache.activemq.command.ActiveMQObjectMessage.getObject(A ctiveMQObjectMessage.java:172) [java] at app.messaging.TokenBrokerImpl.onMessage(TokenBrokerImpl.java:105) [java] at app.jms.AppThreadListener.onMessage(AppThreadListener.java:35) [java] at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQ MessageConsumer.java:854) [java] at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQ SessionExecutor.java:104) [java] at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQS essionExecutor.java:171) [java] at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTas kRunner.java:120) [java] at org.apache.activemq.thread.PooledTaskRunner.access$100(Pooled TaskRunner.java:26) [java] at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskR unner.java:47) [java] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec utor$Worker.runTask(ThreadPoolExecutor.java:665) [java] at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExec utor$Worker.run(ThreadPoolExecutor.java:690) [java] at java.lang.Thread.run(Thread.java:619) [java] Caused by: java.io.IOException: app.entity.QuartzJobIssued [java] at org.apache.activemq.command.ActiveMQObjectMessage.getObject(A ctiveMQObjectMessage.java:168) [java] ... 11 more -- View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18404327.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo-2.1.2-SNAPSHOT, Servlet.service() for servlet login-page threw exception
Actually, it's seeing the jars. After creating a new instance of a class from IBMLAP.jar, the servlet exited with: 19. What is "Exited with: 19"? jklcom99 wrote: > > It's packaged in another jar (IBMLAP.jar and that is in ear/lib) > > > djencks wrote: >> >> I don't think you've given enough info to help. Where is the EULA? >> Where does the ibm software expect it to be? >> >> thanks >> david jencks >> >> > > -- View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT%2C-Servlet.service%28%29-for-servlet-login-page-threw-exception-tp18363273s134p18382504.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo-2.1.2-SNAPSHOT, Servlet.service() for servlet login-page threw exception
It's packaged in another jar (IBMLAP.jar and that is in ear/lib) djencks wrote: > > I don't think you've given enough info to help. Where is the EULA? > Where does the ibm software expect it to be? > > thanks > david jencks > > -- View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT%2C-Servlet.service%28%29-for-servlet-login-page-threw-exception-tp18363273s134p18367998.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Geronimo-2.1.2-SNAPSHOT, Servlet.service() for servlet login-page threw exception
I thought by moving all dependency jars to ear/lib directory and they would be seen by all modules. Now that I have cleared out the manifest classpath in all my jars. MyApp.jar is referencing other jars which are now placed within ear/lib. But I'm getting this error. Am I missing something? [java] Geronimo Application Server started [java] Exited with: 19 [java] 16:58:57,596 ERROR [[login-page]] Servlet.service() for servlet login-page threw exception [java] java.lang.NullPointerException [java] at java.io.Reader.(Reader.java:61) [java] at java.io.InputStreamReader.(InputStreamReader.java:80) [java] at com.ibm.lex.lapapp.License.retrieveLicenseAgreement(Unknown S ource) [java] at com.ibm.lex.lapapp.License.getLicenseAgreement(Unknown Source ) [java] at com.ibm.lex.lapapp.License.getLicense(Unknown Source) [java] at com.ibm.lex.lapapp.LicenseAcceptanceProcess.getLicenseAgreeme nt(Unknown Source) [java] at com.ibm.lex.lapapp.APP_JLAP.getHtmlLicenseAgreement(Unkno wn Source) [java] at app.web.servlet.AppServlet.sendEulaToClient(EulaSer vlet.java:55) [java] at app.web.servlet.AppServlet.doGet(AppServlet.java:3 6) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil ter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl icationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard WrapperValve.java:233) [java] at org.apache.catalina.core.StandardContextValve.invoke(Standard ContextValve.java:175) [java] at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(D efaultSubjectValve.java:56) [java] at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMeth odValve.invoke(GeronimoStandardContext.java:406) [java] at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.inv oke(GeronimoBeforeAfterValve.java:47) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos tValve.java:128) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor tValve.java:102) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE ngineValve.java:109) [java] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVal ve.java:568) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAda pter.java:286) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Proces sor.java:844) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl er.process(Http11Protocol.java:583) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint .java:447) [java] at java.lang.Thread.run(Thread.java:619) -- View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT%2C-Servlet.service%28%29-for-servlet-login-page-threw-exception-tp18363273s134p18363273.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
G2.1.2-SNAPSHOT, java.lang.IllegalArgumentException: addChild: Child name '/' is not unique
I'm trying to migrate to G2.1 and I'm running G2.1.2-SNAPSHOT When try to start the server, I'm getting this error: This is the only app that is being deployed to the server and there're no other apps have been deployed to it. [java] 14:36:23,275 ERROR [GBeanInstance] Problem in doFail of myApp/1.0/car?J2EEApplication=myApp/1.0/car,j2eeType=WebModule,name=appmain.war [java] java.lang.NullPointerException [java] at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:380) [java] at org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:540) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) [java] at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) [java] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) [java] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493) [java] at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) [java] at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) [java] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) [java] at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) [java] at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) [java] at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) [java] at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$18bf9549.startConfiguration() [java] at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162) [java] at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79) [java] at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) [java] at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) [java] at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) [java] 14:36:23,275 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="myApp/1.0/car?J2EEApplication=myApp/1.0/car,j2eeType=WebModule,name=appmain.war" [java] java.lang.IllegalArgumentException: addChild: Child name '/' is not unique [java] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:781) [java] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [java] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) [java] at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:363) [java] at
java.lang.UnsatisfiedLinkError: no MyAppInterface in java.library.path
I'm running 2.1.2-SNAPSHOT If I put all dependency jars in ear/lib should they be seen by all modules? MyApp.jar is in ear/lib but Geronimo is not seeing it. [java] Booting Geronimo Kernel (in Java 1.6.0)... [java] Starting Geronimo Application Server v2.1.2-SNAPSHOT [java] [java] java.lang.UnsatisfiedLinkError: no MyAppInterface in java.library.path [java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) [java] at java.lang.Runtime.loadLibrary0(Runtime.java:823) [java] at java.lang.System.loadLibrary(System.java:1030) [java] at apps.MyAppInterface.loadMyAppnterfaceDLL(MyAppInterface.java:31) [java] at apps.MyAppInterface.(MyAppInterface.java:64) [java] at apps.MyAppInterface.(MyAppInterface.java:54) [java] at apps.geronimo.Server.loadNativeLibraries(Server.java:251) -- View this message in context: http://www.nabble.com/java.lang.UnsatisfiedLinkError%3A-no-MyAppInterface-in-java.library.path-tp18330709s134p18330709.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
David, One of the jar file's manifest requires ../config in the classpath. Geronimo is complaining [java] entries must end with the .jar extension (J2EE 1.4 Section 8.2): [java] path=../config Is there an attribute I can set to simply ignore it so it will deploy? Thank you djencks wrote: > > > On Jul 3, 2008, at 10:01 AM, jklcom99 wrote: > >> >> Can you elaborate on this? >> >> 1) using the javaee 5 ear lib feature to get them into your >> classpath. > > It looks like you already put all the jars in the ear lib directory. > Thus they will be in the ear classloader and available to all your > modules anyway. All you should need to do is remove all the manifest > classpaths from all the jars and modules packages >> >> 2) We could look into providing a flag for lenient mfcp >> evaluation. > > that's the subject of the jira > > thanks > david jencks > >> >> I'd put it in the geronimo plan >> >> >> >> djencks wrote: >>> > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18325163.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed
Yes, that was it. Now it's not finding my config.properties file which is included in the myApp.jar: config.properties Manifest.mf persistence.xml ... InputStream is = this.getClass().getResourceAsStream( "/" + bundleFileName ); Starting myApp...10:03:22,072 FATAL [Server] Could not find bundle. Name: config.properties apps.config.ConfigBundleException: Could not find bundle. Name: config.properties Thank you -- View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18317837.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed
I added and it was happy a little bit. but now I'm getting this error: I tried setting the port but still getting this error. Here's what I have in geronimo-ra.xml Thanks for your help. ConnectionFactory tcp://localhost:8989 ** ** DefaultWorkManager javax.jms.ConnectionFactory ConnectionFactory javax.jms.QueueConnectionFactory javax.jms.TopicConnectionFactory 10 0 ERROR [MCFConnectionInterceptor] Error occurred creating ManagedConnection for [EMAIL PROTECTED]: Could not create connection. [java] at org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:112) [java] at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48) [java] at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41) ... [java] Caused by: javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:8989. Reason: java.net.ConnectException: Connection refused: connect [java] at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33) [java] at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280) [java] at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168) [java] at org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:108) [java] at org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:102) [java] at org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:109) [java] ... 42 more Jacek Laskowski wrote: > > On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <[EMAIL PROTECTED]> wrote: >> >> I'm running 07/03 build >> >> [java] Booting Geronimo Kernel (in Java 1.6.0)... > > Change the JVM version and let us know how it goes. AFAIR, the CORBA > stuff was exactly what made us stay at Java SE 5.0-level. > > Jacek > > -- > Jacek Laskowski > Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl > > -- View this message in context: http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18307079.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed
I'm running 07/03 build [java] Booting Geronimo Kernel (in Java 1.6.0)... [java] Starting Geronimo Application Server v2.1.2-SNAPSHOT [java] [java] [] 0% 0s Loading [] 0% 1s Loading [] 0% 1s Loading org.apache.ger... [** ] 6% 1s Loading org.apache.ger... [** ] 6% 1s Starting org.apache.ger... [** ] 6% 1s Loading org.apache.ger... [** ] 7% 1s Loading org.apache.ger... [*** ] 8% 1s Starting org.apache.ger... [*** ] 8% 1s Loading org.apache.ger... [*** ] 8% 1s Loading org.apache.ger... [*** ] 9% 1s Starting org.apache.ger... [*** ] 9% 1s Loading org.apache.ger... [] 10% 1s Loading org.apache.ger... [] 10% 1s Starting org.apache.ger... [] 10% 1s Loading org.apache.ger... [** ] 76% 17s Starting org.apache.ger... [** ] 76% 17s Loading org.apache.ger... [** ] 77% 18s Loading org.apache.ger... [** ] 77% 18s Starting org.apache.ger... [** ] 77% 19s Starting org.apache.ger... 01:05:12,633 ERROR [NameService] Incorrect level of org.omg.CORBA classes found.Likely cause is an incorrect java.endorsed.dirs configuration [java] 01:05:12,648 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.2-SNAPSHOT/car,j2eeType=CORBANameService,name=NameServer" [java] org.apache.geronimo.gbean.InvalidConfigurationException: CORBA usage requires Yoko CORBA spec classes in java.endorsed.dirs classpath [java] at org.apache.geronimo.corba.NameService.doStart(NameService.java:168) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) [java] at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) [java] at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) [java] at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) [java] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) [java] at org.apache.geronimo.kernel.config.KernelConfigur
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Thanks, Slowly I'm getting there. I found a few posts others are having same problem deploying servicemix.war to Geronimo 2.1 but with no answers.I'm getting taglib error. [java] 15:00:46,352 INFO [config] Loaded Module: myApp/1.0/car [java] 15:00:49,430 WARN [JspModuleBuilderExtension] Invalid transformed taglib [java] org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: [java] [java] C:\apps\myApp.ear\webApp.war\WEB-INF\myApp.tld:10:5: error: cvc-datatype-valid.1.1: string value 'My App Tag Library' does not match pattern for tld-canonical-nameType in namespace http://java.sun.com/xml/ns/javaee [java] [java] Descriptor: [java] http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"; version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee";> [java] 1.0 [java] My App Tag Library [java] http://localhost/myApp [java] [java] validateLogin [java] myapp.web.tags.ValidateLoginTag [java] empty [java] [java] beanName [java] false [java] true [java] [java] [java] loginPage [java] false [java] true [java] [java] [java] successPage [java] false [java] true [java] [java] -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18267007.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Can you elaborate on this? 1) using the javaee 5 ear lib feature to get them into your classpath. 2) We could look into providing a flag for lenient mfcp evaluation. I'd put it in the geronimo plan djencks wrote: > > I think some of your jars have manifest classpath entries that are > wrong and were ignored in g 1.1.1. I would advise removing all > manifest classpath entries from all the jars and using the javaee 5 > ear lib feature to get them into your classpath. I realize this may > involve modifying 3rd party jars (oro?) to remove manifest classpath > entries that, well, shouldn't be there. > > BTW other people have spent a lot of time on dead ends with this kind > of problem because they made unwarranted assumptions about what the > manifests actually are. Be sure to look in the actual artifacts you > are deploying, not something you think is being built into them. I > use emacs for this which lets me open multiple levels of jar > structured archives and look at the files inside. > > We could look into providing a flag for lenient mfcp evaluation. > I'd put it in the geronimo plan. See > https://issues.apache.org/jira/browse/GERONIMO-3316 > > thanks > david jencks > > On Jul 3, 2008, at 8:17 AM, jklcom99 wrote: > >> >> Now, I'm onto a different error. >> >>Error: Unable to distribute myApp.ear: Determining complete >>manifest classpath unsuccessful: >> >>org.apache.geronimo.common.DeploymentException: Determining >> complete >>manifest classpath unsuccessful: >> >>... >> >>Caused by: java.io.FileNotFoundException: >>C:\apps\myApp.ear\lib\jakarta-oro.jar >>(The system cannot find the file specified) >> >> at java.util.zip.ZipFile.open(Native Method) >> >> at java.util.zip.ZipFile.(ZipFile.java:114) >> >> at java.util.jar.JarFile.(JarFile.java:133) >> >> at java.util.jar.JarFile.(JarFile.java:97) >> >> at >> >> org.apache.geronimo.deployment.DeploymentContext >> $DefaultJarFileFactory.newJarFile(DeploymentContext.java:269) >> >> ... 18 more >> >> There is a copy of jakarta-oro-2.0.8.jar in >> C:\apps\myApp.ear\lib\jakarta-oro-2.0.8.jar but if I rename it to >> jakarta-oro.jar then I would get the following error:This app >> works >> under G1.1.1. Is it something I'm missing or I need to change to >> migrate to >> G2.1? >> >>Caused by: java.io.FileNotFoundException: >>C:\apps\myApp.ear\lib\struts-legacy.jar >>(The system cannot find the file specified) >> >> at java.util.zip.ZipFile.open(Native Method) >> >> at java.util.zip.ZipFile.(ZipFile.java:114) >> >> at java.util.jar.JarFile.(JarFile.java:133) >> >> at java.util.jar.JarFile.(JarFile.java:97) >> >> at >> >> org.apache.geronimo.deployment.DeploymentContext >> $DefaultJarFileFactory.newJarFile(DeploymentContext.java:269) >> >> ... 18 more >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18260199.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18263963.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Now, I'm onto a different error. Error: Unable to distribute myApp.ear: Determining complete manifest classpath unsuccessful: org.apache.geronimo.common.DeploymentException: Determining complete manifest classpath unsuccessful: ... Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\lib\jakarta-oro.jar (The system cannot find the file specified) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:97) at org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:269) ... 18 more There is a copy of jakarta-oro-2.0.8.jar in C:\apps\myApp.ear\lib\jakarta-oro-2.0.8.jar but if I rename it to jakarta-oro.jar then I would get the following error:This app works under G1.1.1. Is it something I'm missing or I need to change to migrate to G2.1? Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\lib\struts-legacy.jar (The system cannot find the file specified) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:97) at org.apache.geronimo.deployment.DeploymentContext$DefaultJarFileFactory.newJarFile(DeploymentContext.java:269) ... 18 more -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18260199.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Cool, will the fix be in the next build? Jarek Gawor-2 wrote: > > Ok, found the problem. You were deploying an ear while I was deploying > a war. War deployments worked fine but ear deployments were broken. > Anyway, committed a fix for that issue. Thanks. > > Jarek > > On Wed, Jul 2, 2008 at 3:11 PM, jklcom99 <[EMAIL PROTECTED]> wrote: >> >> I downloaded the latest build from 0702 2.1 >> run the command like you were doing, got the same error with or without >> Ant. >> >> C:\RSSP\Dev\Cerberus\console>C:\Geronimo-2.1.2\bin\deploy --offline >> deploy >> --inPlace C:\apps\myApp.ear >> Using GERONIMO_BASE: C:\Geronimo-2.1.2 >> Using GERONIMO_HOME: C:\Geronimo-2.1.2 >> Using GERONIMO_TMPDIR: var\temp >> Using JRE_HOME:C:\Program Files\Java\jdk1.6.0\jre >> Deployer operation failed: Failed to expand the module archive >> org.apache.geronimo.common.DeploymentException: Failed to expand the >> module >> archive >> >> >> >> Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\appmain.war >> (Access is denied) >>at java.util.zip.ZipFile.open(Native Method) >>at java.util.zip.ZipFile.(ZipFile.java:114) >>at java.util.jar.JarFile.(JarFile.java:133) >>at java.util.jar.JarFile.(JarFile.java:70) >>at >> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServ >> ices(WARWebServiceFinder.java:109) >>... 22 more >> >> >> >> Jarek Gawor-2 wrote: >>> >>> I do not see that problem with the 0702 2.1 build. Here's what I'm >>> doing: >>> >>> [EMAIL PROTECTED]:~/target> >>> 0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT/bin/deploy.sh --offline >>> deploy --inPlace >>> ~/development/branches/geronimo/2.1/testsuite/webservices-testsuite/jaxws-tests/jaxws-partial/target/jaxws-partial-2.1.2-SNAPSHOT >>> Using GERONIMO_BASE: >>> /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT >>> Using GERONIMO_HOME: >>> /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT >>> Using GERONIMO_TMPDIR: var/temp >>> Using JRE_HOME:/home/jgawor/software/jdk1.5.0_12/jre >>> Deployed JEE5/JAXWSPartial/1.0/war >>> >>> >>> Maybe try the same without Ant and let me know how it goes. Also, >>> download latest 0702 build as it just got updated again. >>> >>> Jarek >>> >>> On Wed, Jul 2, 2008 at 12:10 PM, jklcom99 <[EMAIL PROTECTED]> wrote: >>>> >>>> I pulled it from the nightly build >>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080702 >>>> The line number is different for >>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) >>>> >>>> >>>> >>>> Jarek Gawor-2 wrote: >>>>> >>>>> If you still see the following root exception with exactly the same >>>>> line numbers (especially in WARWebServiceFinder) then you do not have >>>>> the latest code. >>>>> >>>>> C:\apps\myApp.ear\appmain.war (Access is denied) >>>>> [java] at java.util.zip.ZipFile.open(Native Method) >>>>> [java] at java.util.zip.ZipFile.(ZipFile.java:114) >>>>> [java] at java.util.jar.JarFile.(JarFile.java:133) >>>>> [java] at java.util.jar.JarFile.(JarFile.java:70) >>>>> [java] at >>>>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103) >>>>> >>>>> Jarek >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18241151.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18244680.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18247096.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
I downloaded the latest build from 0702 2.1 run the command like you were doing, got the same error with or without Ant. C:\RSSP\Dev\Cerberus\console>C:\Geronimo-2.1.2\bin\deploy --offline deploy --inPlace C:\apps\myApp.ear Using GERONIMO_BASE: C:\Geronimo-2.1.2 Using GERONIMO_HOME: C:\Geronimo-2.1.2 Using GERONIMO_TMPDIR: var\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0\jre Deployer operation failed: Failed to expand the module archive org.apache.geronimo.common.DeploymentException: Failed to expand the module archive Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\appmain.war (Access is denied) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:114) at java.util.jar.JarFile.(JarFile.java:133) at java.util.jar.JarFile.(JarFile.java:70) at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServ ices(WARWebServiceFinder.java:109) ... 22 more Jarek Gawor-2 wrote: > > I do not see that problem with the 0702 2.1 build. Here's what I'm doing: > > [EMAIL PROTECTED]:~/target> > 0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT/bin/deploy.sh --offline > deploy --inPlace > ~/development/branches/geronimo/2.1/testsuite/webservices-testsuite/jaxws-tests/jaxws-partial/target/jaxws-partial-2.1.2-SNAPSHOT > Using GERONIMO_BASE: > /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT > Using GERONIMO_HOME: > /home/jgawor/target/0702/geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME:/home/jgawor/software/jdk1.5.0_12/jre > Deployed JEE5/JAXWSPartial/1.0/war > > > Maybe try the same without Ant and let me know how it goes. Also, > download latest 0702 build as it just got updated again. > > Jarek > > On Wed, Jul 2, 2008 at 12:10 PM, jklcom99 <[EMAIL PROTECTED]> wrote: >> >> I pulled it from the nightly build >> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080702 >> The line number is different for >> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) >> >> >> >> Jarek Gawor-2 wrote: >>> >>> If you still see the following root exception with exactly the same >>> line numbers (especially in WARWebServiceFinder) then you do not have >>> the latest code. >>> >>> C:\apps\myApp.ear\appmain.war (Access is denied) >>> [java] at java.util.zip.ZipFile.open(Native Method) >>> [java] at java.util.zip.ZipFile.(ZipFile.java:114) >>> [java] at java.util.jar.JarFile.(JarFile.java:133) >>> [java] at java.util.jar.JarFile.(JarFile.java:70) >>> [java] at >>> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103) >>> >>> Jarek >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18241151.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18244680.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
I pulled it from the nightly build http://people.apache.org/builds/geronimo/server/binaries/2.1/20080702 The line number is different for org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) Jarek Gawor-2 wrote: > > If you still see the following root exception with exactly the same > line numbers (especially in WARWebServiceFinder) then you do not have > the latest code. > > C:\apps\myApp.ear\appmain.war (Access is denied) > [java] at java.util.zip.ZipFile.open(Native Method) > [java] at java.util.zip.ZipFile.(ZipFile.java:114) > [java] at java.util.jar.JarFile.(JarFile.java:133) > [java] at java.util.jar.JarFile.(JarFile.java:70) > [java] at > org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103) > > Jarek > > -- View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18241151.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
I pulled the latest code and am still getting that same error. Here's the command being executed in my ant target: And yes, C:\apps\myApp.ear\appmain.war is a directory. Thank you Jarek Gawor-2 wrote: > > I think I already fixed that today. Try with very latest code. > > If it doesn't, please make sure to include in your email the exact > command you are executing. Are you also specifying --inPlace option > and is C:\apps\myApp.ear\appmain.war is a directory? > > Jarek > > On Tue, Jul 1, 2008 at 6:37 PM, jklcom99 <[EMAIL PROTECTED]> wrote: >> >> I'm using today build, G2.1.2. When deploy offline, I'm getting this >> error >> (Access is denied): >> >> [java] Deployer operation failed: Failed to expand the module archive >> [java] org.apache.geronimo.common.DeploymentException: Failed to >> expand >> the module archive >> [java] at >> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) >> [java] at >> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73) >> [java] at >> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45) >> [java] at >> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:68) >> [java] at >> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97) >> [java] at >> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80) >> [java] at >> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364) >> [java] at >> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330) >> [java] at >> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159) >> [java] at >> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595) >> [java] at >> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) >> [java] at >> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) >> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> [java] at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [java] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [java] at java.lang.reflect.Method.invoke(Method.java:597) >> [java] at >> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) >> [java] at >> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) >> [java] at >> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) >> [java] at >> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) >> [java] at >> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) >> [java] at >> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) >> [java] at java.lang.Thread.run(Thread.java:619) >> [java] Caused by: java.io.FileNotFoundException: >> C:\apps\myApp.ear\appmain.war (Access is denied) >> [java] at java.util.zip.ZipFile.open(Native Method) >> [java] at java.util.zip.ZipFile.(ZipFile.java:114) >> [java] at java.util.jar.JarFile.(JarFile.java:133) >> [java] at java.util.jar.JarFile.(JarFile.java:70) >> [java] at >> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103) >> [java] ... 22 more >> [java] Error: Unable to distribute myApp.ear: Failed to expand >> the >> [java] module archive >> [java] >> [java] org.apache.geronimo.common.DeploymentException: Failed to >> expand the >> [java] module archive >> [java] >> [java] at >> [java] >> org.apache.geronimo.jaxws.b
deploy-offline, Deployer operation failed: Failed to expand the module archive
I'm using today build, G2.1.2. When deploy offline, I'm getting this error (Access is denied): [java] Deployer operation failed: Failed to expand the module archive [java] org.apache.geronimo.common.DeploymentException: Failed to expand the module archive [java] at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) [java] at org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73) [java] at org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45) [java] at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:68) [java] at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97) [java] at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80) [java] at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364) [java] at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330) [java] at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159) [java] at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595) [java] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) [java] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) [java] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) [java] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) [java] at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) [java] at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) [java] at java.lang.Thread.run(Thread.java:619) [java] Caused by: java.io.FileNotFoundException: C:\apps\myApp.ear\appmain.war (Access is denied) [java] at java.util.zip.ZipFile.open(Native Method) [java] at java.util.zip.ZipFile.(ZipFile.java:114) [java] at java.util.jar.JarFile.(JarFile.java:133) [java] at java.util.jar.JarFile.(JarFile.java:70) [java] at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:103) [java] ... 22 more [java] Error: Unable to distribute myApp.ear: Failed to expand the [java] module archive [java] [java] org.apache.geronimo.common.DeploymentException: Failed to expand the [java] module archive [java] [java] at [java] org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:109) [java] [java] at [java] org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73) [java] [java] at [java] org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45) [java] [java] at [java] org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:68) [java] [java] at [java] org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97) [java] [java] at [java] org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80) [java] [java] at [java] org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364) [java] [java] at [java] org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330) [java] [java] at [java] org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159) [java] [java] at [j
Re: geronimo v2 quartz plugin
\base\deployer\src\java\org\gplugins\quartz\deploy ment\NamingHelper.java:[132,48] cannot find symbol symbol : method createGBeanRef(org.apache.geronimo.kernel.config.Configuration, org.apache.geronimo.deployment.xbeans.GbeanType,java.lang.ClassLoader) location: class org.gplugins.common.ReferenceResolver C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\NamingHelper.java:[134,58] cannot find symbol symbol : method getProperty() location: interface org.apache.geronimo.deployment.xbeans.GbeanType C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[228,36] cannot find symbol symbol : constructor DeploymentContext(java.io.File,java.io.File,org.apache.ger onimo.kernel.repository.Environment,org.apache.geronimo.kernel.config.Configurat ionModuleType,org.apache.geronimo.kernel.Naming,org.apache.geronimo.kernel.confi g.ConfigurationManager,java.util.Collection) location: class org.apache.geronimo.deployment.DeploymentContext C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[269,8] cannot find symbol symbol : class RefContext location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[269,36] cannot find symbol symbol : class RefContext location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[269,48] cannot find symbol symbol : class EJBReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[270,17] cannot find symbol symbol : class ResourceReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[271,17] cannot find symbol symbol : class ServiceReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[279,35] getGBeanRefs(org.apache.geronimo.kerne l.config.Configuration,org.apache.geronimo.deployment.xbeans.GbeanType[]) in org .gplugins.quartz.deployment.NamingHelper cannot be applied to (org.apache.geroni mo.kernel.config.Configuration,org.gplugins.quartz.deployment.xbeans.GbeanRefTyp e[]) C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[311,56] cannot find symbol symbol : class EJBReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[312,61] cannot find symbol symbol : class ResourceReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean C:\downloads\apache\qplugin2.0\base\deployer\src\java\org\gplugins\quartz\deploy ment\QuartzJobDeployerGBean.java:[313,60] cannot find symbol symbol : class ServiceReferenceBuilder location: class org.gplugins.quartz.deployment.QuartzJobDeployerGBean ==== jklcom99 wrote: > > I've looked into > > org.apache.xbean > xbean-naming > 3.3 > > > xbean-naming has no implementation of ConfigurationAwareReference. > > geronimo-naming has both implementations of ConfigurationAwareReference > and SimpleReference that QuartzJobFactory is calling for. I don't know > why it's not seeing it... > >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2- >> SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2- >> SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2. >> 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2- >> SNAPSHOT/geronimo-system-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//opensymphony/quartz/1.5.2/quart >> z-1.5.2.pom >> Downloading: >> http://repo1.maven.org/maven2/opensymphony/quartz/1.5.2/quartz-1.5. >> 2.pom >> [INFO] [compiler:compile] >> [INFO] Compiling 5 source files to >
Re: geronimo v2 quartz plugin
If that is the case, I don't see why it's giving that error. djencks wrote: > > > On Jun 27, 2008, at 11:06 AM, jklcom99 wrote: > >> >> And why is it trying to access org.apache.xbean.naming.reference. >> instead of org.apache.geronimo.naming.reference.* which is what is >> imported >> in QuartzJobFactory.java > > The Geronimo reference classes extend the xbean reference class. > > thanks > david jencks > >> >> >> >> manucet wrote: >>> >>> Hi, >>> >>> FYI I got the following error too when i tried to build this. >>> >>> [INFO] Failed to configure plugin parameters for: >>> org.codehaus.mojo:xmlbeans-mav >>> en-plugin:2.3.1 >>> >>> (found static expression: 'geronimo-quartz-0.2.xsd' which may act >>> as a >>> defau >>> lt value). >>> >>> Cause: Cannot assign configuration entry 'sourceSchemas' to >>> 'interface >>> java.util >>> .List' from 'geronimo-quartz-0.2.xsd', which is of type class >>> java.lang.String >>> >>> It was because of a wrong configuration entry in the pom >>> base/deployer/pom.xml. Modify >>> >>> geronimo-quartz-0.2.xsd >>> >>> to >>> >>> >>>geronimo-quartz-0.2.xsd >>> >>> >>> and it will build. Good luck with the porting >>> >>> regards >>> Manu >>> >>> On Fri, Jun 27, 2008 at 3:51 AM, David Jencks >>> <[EMAIL PROTECTED]> >>> wrote: >>>> >>>> On Jun 26, 2008, at 1:20 PM, jklcom99 wrote: >>>> >>>>> >>>>> Hi David, >>>>> >>>>> After reading up on the documents you suggested. I attempted to >>>>> get >>>>> quartz >>>>> to build with G2.1.2-SNAPSHOT. I'm getting compile error: (even >>>>> I have >>>>> included geronimo-naming as a dependency). Can you please point >>>>> out >>>>> what >>>>> I'm doing wrong and missing? Also getting error when tried to >>>>> build >>>>> eclipse >>>>> project, see below. >>>>> >>>>> Thank you >>>>> >>>>> Thu 06/26/2008 15:59:38.32 >>>>> C:\downloads\apache\qplugin2.0>mvn compile >>>>> [INFO] Scanning for projects... >>>>> [INFO] Reactor build order: >>>>> [INFO] Quartz Plugin for Geronimo >>>>> [INFO] Quartz Scheduler for Geronimo >>>>> [INFO] Geronimo Quartz Deployer >>>>> [INFO] Quartz Admin Console for Geronimo >>>>> [INFO] Quartz Plugins :: Geronimo Dependencies >>>>> [INFO] Quartz Plugins for Geronimo >>>>> [INFO] Geronimo Plugin :: Quartz Scheduler >>>>> [INFO] Geronimo Plugin :: Quartz Deployer >>>>> [INFO] >>>>> >>>>> [INFO] Building Quartz Plugin for Geronimo >>>>> [INFO]task-segment: [compile] >>>>> [INFO] >>>>> >>>>> [INFO] No goals needed for project - skipping >>>>> [INFO] >>>>> >>>>> [INFO] Building Quartz Scheduler for Geronimo >>>>> [INFO]task-segment: [compile] >>>>> [INFO] >>>>> >>>>> [INFO] [resources:resources] >>>>> [INFO] Using default encoding to copy filtered resources. >>>>> Downloading: >>>>> http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2- >>>>> SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom >>>>> Downloading: >>>>> http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2- >>>>> SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom >>>>> Downloading: >>>>> http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2. >>>>> 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom >>>>> Downloading: >>>>> http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2- >>>>> SNAPSHOT/geronimo-syst
Re: geronimo v2 quartz plugin
And why is it trying to access org.apache.xbean.naming.reference. instead of org.apache.geronimo.naming.reference.* which is what is imported in QuartzJobFactory.java manucet wrote: > > Hi, > > FYI I got the following error too when i tried to build this. > > [INFO] Failed to configure plugin parameters for: > org.codehaus.mojo:xmlbeans-mav > en-plugin:2.3.1 > >(found static expression: 'geronimo-quartz-0.2.xsd' which may act as a > defau > lt value). > > Cause: Cannot assign configuration entry 'sourceSchemas' to 'interface > java.util > .List' from 'geronimo-quartz-0.2.xsd', which is of type class > java.lang.String > > It was because of a wrong configuration entry in the pom > base/deployer/pom.xml. Modify > > geronimo-quartz-0.2.xsd > > to > > > geronimo-quartz-0.2.xsd > > > and it will build. Good luck with the porting > > regards > Manu > > On Fri, Jun 27, 2008 at 3:51 AM, David Jencks <[EMAIL PROTECTED]> > wrote: >> >> On Jun 26, 2008, at 1:20 PM, jklcom99 wrote: >> >>> >>> Hi David, >>> >>> After reading up on the documents you suggested. I attempted to get >>> quartz >>> to build with G2.1.2-SNAPSHOT. I'm getting compile error: (even I have >>> included geronimo-naming as a dependency). Can you please point out >>> what >>> I'm doing wrong and missing? Also getting error when tried to build >>> eclipse >>> project, see below. >>> >>> Thank you >>> >>> Thu 06/26/2008 15:59:38.32 >>> C:\downloads\apache\qplugin2.0>mvn compile >>> [INFO] Scanning for projects... >>> [INFO] Reactor build order: >>> [INFO] Quartz Plugin for Geronimo >>> [INFO] Quartz Scheduler for Geronimo >>> [INFO] Geronimo Quartz Deployer >>> [INFO] Quartz Admin Console for Geronimo >>> [INFO] Quartz Plugins :: Geronimo Dependencies >>> [INFO] Quartz Plugins for Geronimo >>> [INFO] Geronimo Plugin :: Quartz Scheduler >>> [INFO] Geronimo Plugin :: Quartz Deployer >>> [INFO] >>> >>> [INFO] Building Quartz Plugin for Geronimo >>> [INFO]task-segment: [compile] >>> [INFO] >>> >>> [INFO] No goals needed for project - skipping >>> [INFO] >>> >>> [INFO] Building Quartz Scheduler for Geronimo >>> [INFO]task-segment: [compile] >>> [INFO] >>> >>> [INFO] [resources:resources] >>> [INFO] Using default encoding to copy filtered resources. >>> Downloading: >>> http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2- >>> SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom >>> Downloading: >>> http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2- >>> SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom >>> Downloading: >>> http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2. >>> 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom >>> Downloading: >>> http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2- >>> SNAPSHOT/geronimo-system-2.1.2-SNAPSHOT.pom >>> Downloading: >>> http://people.apache.org/~ammulder//opensymphony/quartz/1.5.2/quart >>> z-1.5.2.pom >>> Downloading: >>> http://repo1.maven.org/maven2/opensymphony/quartz/1.5.2/quartz-1.5. >>> 2.pom >>> [INFO] [compiler:compile] >>> [INFO] Compiling 5 source files to >>> C:\downloads\apache\qplugin2.0\base\scheduler >>> \target\classes >>> [INFO] >>> >>> [ERROR] BUILD FAILURE >>> [INFO] >>> >>> [INFO] Compilation failure >>> >>> >>> C:\downloads\apache\qplugin2.0\base\scheduler\src\java\org\gplugins\quartz\Quart >>> zJobFactory.java:[71,42] cannot access >>> org.apache.xbean.naming.reference.SimpleR >>> eference >>> class file for org.apache.xbean.naming.reference.SimpleReference not >>> found >>> ConfigurationAwareReference ref = (ConfigurationAwareReference) >>> value; >>> >
Re: geronimo v2 quartz plugin
I've looked into org.apache.xbean xbean-naming 3.3 xbean-naming has no implementation of ConfigurationAwareReference. geronimo-naming has both implementations of ConfigurationAwareReference and SimpleReference that QuartzJobFactory is calling for. I don't know why it's not seeing it... > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: > http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2- > SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom > Downloading: > http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2- > SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom > Downloading: > http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2. > 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom > Downloading: > http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2- > SNAPSHOT/geronimo-system-2.1.2-SNAPSHOT.pom > Downloading: > http://people.apache.org/~ammulder//opensymphony/quartz/1.5.2/quart > z-1.5.2.pom > Downloading: > http://repo1.maven.org/maven2/opensymphony/quartz/1.5.2/quartz-1.5. > 2.pom > [INFO] [compiler:compile] > [INFO] Compiling 5 source files to > C:\downloads\apache\qplugin2.0\base\scheduler\src\java\org\gplugins > \quartz\Quart > zJobFactory.java:[71,42] cannot access > org.apache.xbean.naming.reference.SimpleR > eference > class file for org.apache.xbean.naming.reference.SimpleReference not > found >ConfigurationAwareReference ref = (ConfigurationAwareReference) djencks wrote: > > > On Jun 26, 2008, at 1:20 PM, jklcom99 wrote: > >> >> Hi David, >> >> After reading up on the documents you suggested. I attempted to get >> quartz >> to build with G2.1.2-SNAPSHOT. I'm getting compile error: (even I >> have >> included geronimo-naming as a dependency). Can you please point out >> what >> I'm doing wrong and missing? Also getting error when tried to build >> eclipse >> project, see below. >> >> Thank you >> >> Thu 06/26/2008 15:59:38.32 >> C:\downloads\apache\qplugin2.0>mvn compile >> [INFO] Scanning for projects... >> [INFO] Reactor build order: >> [INFO] Quartz Plugin for Geronimo >> [INFO] Quartz Scheduler for Geronimo >> [INFO] Geronimo Quartz Deployer >> [INFO] Quartz Admin Console for Geronimo >> [INFO] Quartz Plugins :: Geronimo Dependencies >> [INFO] Quartz Plugins for Geronimo >> [INFO] Geronimo Plugin :: Quartz Scheduler >> [INFO] Geronimo Plugin :: Quartz Deployer >> [INFO] >> >> [INFO] Building Quartz Plugin for Geronimo >> [INFO]task-segment: [compile] >> [INFO] >> >> [INFO] No goals needed for project - skipping >> [INFO] >> >> [INFO] Building Quartz Scheduler for Geronimo >> [INFO]task-segment: [compile] >> [INFO] >> >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2- >> SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2- >> SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2. >> 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2- >> SNAPSHOT/geronimo-system-2.1.2-SNAPSHOT.pom >> Downloading: >> http://people.apache.org/~ammulder//opensymphony/quartz/1.5.2/quart >> z-1.5.2.pom >> Downloading: >> http://repo1.maven.org/maven2/opensymphony/quartz/1.5.2/quartz-1.5. >> 2.pom >> [INFO] [compiler:compile] >> [INFO] Compiling 5 source files to >> C:\downloads\apache\qplugin2.0\base\scheduler >> \target\classes >> [INFO] >> >> [ERROR] BUILD FAILURE >> [INFO] >> >> [INFO] Compilation failure >> >> C:\downloads\apache\qplugin2.0\base\scheduler\src\java\org\gplugins >> \quartz\Quart >> zJobFactory.java:[71,42] cannot acce
Re: geronimo v2 quartz plugin
#x27;geronimo-quartz-0.2.xsd', which is of type class java.lang.String [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu Jun 26 16:14:55 EDT 2008 [INFO] Final Memory: 6M/12M djencks wrote: > > > On Jun 23, 2008, at 12:06 PM, jklcom99 wrote: > >> >> Ok, can you show me the steps and what is involved to create a plugin? > > There are lots of examples of plugins to compare with: the directory > and roller plugins in plugins, the contents of the main server build > plugins directory, and the samples. > > I glanced really quickly at the quartz stuff and it looks like: > 1. update to current geronimo stuff, such as version 2.1.1. Use > org.apache.geronimo.genesis/project-config/1.4/pom as the parent (I > may get a later version out soon, we'll see). Prune unneeded stuff > out of the build such as repositories. Basically get the build to work. > 2. in geronimo 2.1 and later, the geronimo-plugin.xml is generated by > the car-maven-plugin. The format has also changed a lot. So, you > should figure out what bits of the geronimo-plugin.xml are still > relevant and correct and get them into the appropriate part of the > pom.xml. > > There's some documentation here: > http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html > http://cwiki.apache.org/GMOxDOC21/constructing-a-special-purpose-server-using-maven.html > > Let me know if this is starting you off at the wrong level. > > thanks > david jencks > >> >> >> >> djencks wrote: >>> >>> >>> On Jun 19, 2008, at 2:32 PM, jklcom99 wrote: >>> >>>> >>>> Can some one tell me if the quartz plugin from this link >>>> >>>> http://www.archivum.info/[EMAIL PROTECTED]/2008-05/ >>>> msg00505.html is >>>> applicable for Geronimo 2.1? >>> >>> Definitely not. However it should not be too hard to update. I >>> opened https://issues.apache.org/jira/browse/GERONIMO-4140 to track >>> progress on this. I probably won't have time myself to get to this >>> soon but would be happy to give advice if you (or someone else) would >>> like to work on it. >>> >>> thanks >>> david jencks >>> >>>> >>>> >>>> Thank you >>>> >>>> >>>> Kevan Miller wrote: >>>>> >>>>> >>>>> On Jan 16, 2008, at 5:27 PM, Christian Malolepszy wrote: >>>>> >>>>>> Helo all, >>>>>> >>>>>> is anyone working on a quartz plugin for geronimo 2? >>>>>> I neet the features of quartz to migrate my projects to geronimo2. >>>>> >>>>> Hi Christian, >>>>> I don't recall any quartz plugin work for geronimo 2.0, only 1.1. >>>>> Could be mistaken. >>>>> >>>>> Possible that with a little interest that somebody will have a >>>>> look... >>>>> >>>>> --kevan >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18018668.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18076097.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18142347.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: geronimo v2 quartz plugin
Hi David, That's a little advance for me. I have basic knowledge on Maven and zero on Geronimo plugins. When will you put the later version of quartz out? djencks wrote: > > > On Jun 23, 2008, at 12:06 PM, jklcom99 wrote: > >> >> Ok, can you show me the steps and what is involved to create a plugin? > > There are lots of examples of plugins to compare with: the directory > and roller plugins in plugins, the contents of the main server build > plugins directory, and the samples. > > I glanced really quickly at the quartz stuff and it looks like: > 1. update to current geronimo stuff, such as version 2.1.1. Use > org.apache.geronimo.genesis/project-config/1.4/pom as the parent (I > may get a later version out soon, we'll see). Prune unneeded stuff > out of the build such as repositories. Basically get the build to work. > 2. in geronimo 2.1 and later, the geronimo-plugin.xml is generated by > the car-maven-plugin. The format has also changed a lot. So, you > should figure out what bits of the geronimo-plugin.xml are still > relevant and correct and get them into the appropriate part of the > pom.xml. > > There's some documentation here: > http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html > http://cwiki.apache.org/GMOxDOC21/constructing-a-special-purpose-server-using-maven.html > > Let me know if this is starting you off at the wrong level. > > thanks > david jencks > >> >> >> >> djencks wrote: >>> >>> >>> On Jun 19, 2008, at 2:32 PM, jklcom99 wrote: >>> >>>> >>>> Can some one tell me if the quartz plugin from this link >>>> >>>> http://www.archivum.info/[EMAIL PROTECTED]/2008-05/ >>>> msg00505.html is >>>> applicable for Geronimo 2.1? >>> >>> Definitely not. However it should not be too hard to update. I >>> opened https://issues.apache.org/jira/browse/GERONIMO-4140 to track >>> progress on this. I probably won't have time myself to get to this >>> soon but would be happy to give advice if you (or someone else) would >>> like to work on it. >>> >>> thanks >>> david jencks >>> >>>> >>>> >>>> Thank you >>>> >>>> >>>> Kevan Miller wrote: >>>>> >>>>> >>>>> On Jan 16, 2008, at 5:27 PM, Christian Malolepszy wrote: >>>>> >>>>>> Helo all, >>>>>> >>>>>> is anyone working on a quartz plugin for geronimo 2? >>>>>> I neet the features of quartz to migrate my projects to geronimo2. >>>>> >>>>> Hi Christian, >>>>> I don't recall any quartz plugin work for geronimo 2.0, only 1.1. >>>>> Could be mistaken. >>>>> >>>>> Possible that with a little interest that somebody will have a >>>>> look... >>>>> >>>>> --kevan >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18018668.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18076097.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18113960.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: geronimo v2 quartz plugin
Ok, can you show me the steps and what is involved to create a plugin? djencks wrote: > > > On Jun 19, 2008, at 2:32 PM, jklcom99 wrote: > >> >> Can some one tell me if the quartz plugin from this link >> >> http://www.archivum.info/[EMAIL PROTECTED]/2008-05/ >> msg00505.html is >> applicable for Geronimo 2.1? > > Definitely not. However it should not be too hard to update. I > opened https://issues.apache.org/jira/browse/GERONIMO-4140 to track > progress on this. I probably won't have time myself to get to this > soon but would be happy to give advice if you (or someone else) would > like to work on it. > > thanks > david jencks > >> >> >> Thank you >> >> >> Kevan Miller wrote: >>> >>> >>> On Jan 16, 2008, at 5:27 PM, Christian Malolepszy wrote: >>> >>>> Helo all, >>>> >>>> is anyone working on a quartz plugin for geronimo 2? >>>> I neet the features of quartz to migrate my projects to geronimo2. >>> >>> Hi Christian, >>> I don't recall any quartz plugin work for geronimo 2.0, only 1.1. >>> Could be mistaken. >>> >>> Possible that with a little interest that somebody will have a >>> look... >>> >>> --kevan >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18018668.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18076097.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke
Hi, Sorry, I just saw your response. Yes, I'm using 2.1.2-SNAPSHOT from http://people.apache.org/builds/geronimo/server/binaries/2.1/. The reason I pulled the latest build was that off-line deploy was failing with G2.1.1. With the second patch I was able to proceed further along. Now it's getting that configuration error. Here is the deployment descriptor that is failing: http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";> http://geronimo.apache.org/xml/ns/deployment-1.2";> test testJMS 1.0 rar org/apache/geronimo/configs activemq-broker car ConnectionFactory tcp://localhost:8093 geronimo geronimo DefaultWorkManager javax.jms.ConnectionFactory ConnectionFactory javax.jms.QueueConnectionFactory javax.jms.TopicConnectionFactory 10 0 javax.jms.Topic org.activemq.message.ActiveMQTopic topic/testNodeTreeChange topic/testNodeTreeChange javax.jms.Topic org.activemq.message.ActiveMQTopic topic/testNotification topic/testNotification Thanks Jacek Laskowski wrote: > > On Fri, Jun 20, 2008 at 1:00 AM, jklcom99 <[EMAIL PROTECTED]> wrote: > >> [java] Caused by: >> org.apache.geronimo.kernel.config.InvalidConfigException: >> Error starting configuration gbean test/testJMS/1.0/rar > ... >> [java] Caused by: >> org.apache.geronimo.kernel.config.InvalidConfigException: >> Cound not find parent configuration: >> org/apache/geronimo/configs/activemq-broke >> r/2.1.2-SNAPSHOT/car > > Hi, > > It's 2.1.2-SNAPSHOT I believe and you're deploying > test/testJMS/1.0/rar a rar module? The plan would be very helpful to > look at. You mentioned about offline deployer - what's the error > message on its console? Is there anything causing you working with > 2.1.2 not 2.2-SNAPSHOT or 2.1.1 (that's what I'm using and I don't > think I'll have time to look at the earlier versions, sorry)? > > Entering mode "Awaiting response..." ;-) > > Jacek > > -- > Jacek Laskowski > Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl > > -- View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18030724.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke
Hi, I pulled down the nightly build today. I'm getting the following error with off-line deploy. [java] Deployer operation failed: Unable to create configuration for deploy ment [java] org.apache.geronimo.common.DeploymentException: Unable to create con figuration for deployment [java] at org.apache.geronimo.deployment.DeploymentContext.createTempCo nfiguration(DeploymentContext.java:120) [java] at org.apache.geronimo.deployment.DeploymentContext.(Deplo ymentContext.java:100) [java] at org.apache.geronimo.deployment.DeploymentContext.(Deplo ymentContext.java:80) [java] at org.apache.geronimo.j2ee.deployment.EARContext.(EARCont ext.java:68) [java] at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildCon figuration(EARConfigBuilder.java:530) [java] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java: 254) [java] at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java: 133) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.inv oke(ReflectionMethodInvoker.java:34) [java] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBean Operation.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanI nstance.java:867) [java] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKern el.java:239) [java] at org.apache.geronimo.deployment.plugin.local.AbstractDeployCom mand.doDeploy(AbstractDeployCommand.java:116) [java] at org.apache.geronimo.deployment.plugin.local.DistributeCommand .run(DistributeCommand.java:61) [java] at java.lang.Thread.run(Thread.java:619) [java] Caused by: org.apache.geronimo.kernel.config.LifecycleException: loa d of test/testJMS/1.0/rar failed [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. loadConfiguration(SimpleConfigurationManager.java:327) [java] at org.apache.geronimo.deployment.DeploymentConfigurationManager .loadConfiguration(DeploymentConfigurationManager.java:115) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. loadConfiguration(SimpleConfigurationManager.java:286) [java] at org.apache.geronimo.deployment.DeploymentConfigurationManager .loadConfiguration(DeploymentConfigurationManager.java:111) [java] at org.apache.geronimo.deployment.DeploymentContext.createTempCo nfiguration(DeploymentContext.java:117) [java] ... 17 more [java] Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean test/testJMS/1.0/rar [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. load(SimpleConfigurationManager.java:352) [java] at org.apache.geronimo.deployment.DeploymentConfigurationManager .load(DeploymentConfigurationManager.java:119) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. loadConfiguration(SimpleConfigurationManager.java:312) [java] ... 21 more [java] Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke r/2.1.2-SNAPSHOT/car [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. findParentConfigurations(SimpleConfigurationManager.java:367) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. load(SimpleConfigurationManager.java:346) [java] ... 23 more -- View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18019949.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: geronimo v2 quartz plugin
Can some one tell me if the quartz plugin from this link http://www.archivum.info/[EMAIL PROTECTED]/2008-05/msg00505.html is applicable for Geronimo 2.1? Thank you Kevan Miller wrote: > > > On Jan 16, 2008, at 5:27 PM, Christian Malolepszy wrote: > >> Helo all, >> >> is anyone working on a quartz plugin for geronimo 2? >> I neet the features of quartz to migrate my projects to geronimo2. > > Hi Christian, > I don't recall any quartz plugin work for geronimo 2.0, only 1.1. > Could be mistaken. > > Possible that with a little interest that somebody will have a look... > > --kevan > > -- View this message in context: http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18018668.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
When deploy-offline, BasicServerInfo cannot be cast to org.apache.geronimo.system.serverinfo.ServerIn
I applied GERONIMO-4072.patch, got a little further with off-line deploy. Now it is getting this error: [java] 12:06:16,520 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.configs/client-dep loyer/2.1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/client-deploy er/2.1.2-SNAPSHOT/car,j2eeType=ArtifactResolver,name=ClientArtifactResolver" [java] java.lang.ClassCastException: org.apache.geronimo.system.serverinfo. BasicServerInfo cannot be cast to org.apache.geronimo.system.serverinfo.ServerIn fo [java] at org.apache.geronimo.client.builder.OptionalExplicitDefaultArt ifactResolver.getServerInfo(OptionalExplicitDefaultArtifactResolver.java:68) [java] at org.apache.geronimo.client.builder.OptionalExplicitDefaultArt ifactResolver.(OptionalExplicitDefaultArtifactResolver.java:53) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC onstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del egatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:51 3) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstanc e(GBeanInstance.java:948) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptF ullStart(GBeanInstanceState.java:268) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GB eanInstanceState.java:102) [java] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRec ursive(GBeanInstanceState.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursiv e(GBeanInstance.java:555) [java] at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGB ean(BasicKernel.java:379) [java] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConf igurationGBeans(ConfigurationUtil.java:456) [java] at org.apache.geronimo.kernel.config.KernelConfigurationManager. start(KernelConfigurationManager.java:187) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. startConfiguration(SimpleConfigurationManager.java:562) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. startConfiguration(SimpleConfigurationManager.java:543) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.inv oke(ReflectionMethodInvoker.java:34) [java] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBean Operation.java:124) [java] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanI nstance.java:832) [java] at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoke r.java:57) [java] at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(R awOperationInvoker.java:35) [java] at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.inter cept(ProxyMethodInterceptor.java:96) [java] at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$72 dbee7a.startConfiguration() [java] at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.sta rtPersistentOfflineConfigurations(OfflineDeployerStarter.java:121) [java] at org.apache.geronimo.deployment.cli.OfflineDeployerStarter.sta rt(OfflineDeployerStarter.java:71) [java] at org.apache.geronimo.deployment.cli.ServerConnection.startOffl ineDeployer(ServerConnection.java:103) [java] at org.apache.geronimo.deployment.cli.ServerConnection.(Se rverConnection.java:91) [java] at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployT ool.java:161) [java] at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper .main(MainConfigurationBootstrapper.java:45) [java] at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.j ava:67) [java] at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI .java:31) [java] Error: Unexpected error. Cannot start offline-deployer [java] org.apache.geronimo.kernel.config.LifecycleException: start of org.a pache.geronimo.configs/client-deployer/2.1.2-SNAPSHOT/car failed [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. startConfiguration(SimpleConfigurationManager.java:579) [java] at org.apache.geronimo.kernel.config.SimpleConfigurationManager. startConfiguration(SimpleConfigurationManager.java:543) [java] at sun.reflect.Native
Re: how to apply GERONIMO-4072.patch?
Kevan, I applied the patch and built it. When I tried to build my application with the new geronimo geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT. It failed to expand geronimo-activemq-ra-2.1.2-SNAPSHOT.rar. I should mention that when building the Geronimo source it failed at starting Selenium. However, the geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT-bin.tar.gz did get created. I assume the build is ok. Can you tell me I'm missing? Is there a build with this patch available for download? Thank you Kevan Miller wrote: > > > On Jun 5, 2008, at 10:35 PM, jklcom99 wrote: > >> >> Can someone show me the steps on how to apply GERONIMO-4072.patch? > > I'm not sure if the patch was prepared against trunk or branches/2.1. > Assuming branches/2.1: > > Get the source tree: > svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1 > cd 2.1 > > Apply the patch (adjust path to the patch file accordingly): > patch -p0 < GERONIMO-4072.patch > or > patch -p0 -i GERONIMO-4072.patch > > Build: > mvn > > --kevan > > -- View this message in context: http://www.nabble.com/how-to-apply-GERONIMO-4072.patch--tp17683296s134p17791013.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: how to apply GERONIMO-4072.patch?
I applied the patch to Geronimo source. I have set MAVEN_OPTS -Xmx1024m but I'm still getting...with mvn build Is there some other settings I can set to get Geronimo built? [INFO] Compiling 21 source files to C:\downloads\apache\geronimo\plugins\openejb \geronimo-openejb\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) jklcom99 wrote: > > Can someone show me the steps on how to apply GERONIMO-4072.patch? > -- View this message in context: http://www.nabble.com/how-to-apply-GERONIMO-4072.patch--tp17683296s134p17701141.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
how to apply GERONIMO-4072.patch?
Can someone show me the steps on how to apply GERONIMO-4072.patch? -- View this message in context: http://www.nabble.com/how-to-apply-GERONIMO-4072.patch--tp17683296s134p17683296.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: (GERONIMO-4072) Fail to offline deploy an application because of the dependency to rmi-naming
Is there a work around for the time being? Kevan Miller wrote: > > I'm pretty sure that this hasn't been fixed, yet. > > --kevan > > On May 27, 2008, at 10:45 AM, jklcom99 wrote: > >> >> Can someone tell me if this has been fixed for 2.1.1? >> >> I'm getting this error when deploying using ant: >> >> [java] 15:02:21,605 ERROR [GBeanInstanceState] Error while >> starting; >> GBean >> is now in the FAILED state: >> abstractName="org.apache.geronimo.framework/rmi-nami >> ng/2.1.1/car?configurationName=org.apache.geronimo.framework/rmi- >> naming/2.1.1/ca >> r" >> [java] java.lang.NumberFormatException: For input string: "null" >> [java] at >> java.lang.NumberFormatException.forInputString(NumberFormatEx >> ception.java:48) >> [java] at java.lang.Integer.parseInt(Integer.java:447) >> [java] at java.lang.Integer.valueOf(Integer.java:553) >> [java] at >> sun.beans.editors.IntEditor.setAsText(IntEditor.java:21) >> [java] at >> org.apache.geronimo.system.configuration.GBeanOverride.getVal >> ue(GBeanOverride.java:389) >> [java] at >> org.apache.geronimo.system.configuration.GBeanOverride.applyO >> verrides(GBeanOverride.java:348) >> [java] at >> org.apache.geronimo.system.configuration.LocalAttributeManage >> r.setAttributes(LocalAttributeManager.java:210) >> [java] at >> org.apache.geronimo.system.configuration.LocalAttributeManage >> r.applyOverrides(LocalAttributeManager.java:179) >> [java] at >> org.apache.geronimo.kernel.config.Configuration.(Config >> uration.java:280) >> [java] ... >> >> >> -- >> View this message in context: >> http://www.nabble.com/%28GERONIMO-4072%29-Fail-to-offline-deploy-an-application-because-of-the-dependency-to-rmi-naming-tp17492119s134p17492119.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/%28GERONIMO-4072%29-Fail-to-offline-deploy-an-application-because-of-the-dependency-to-rmi-naming-tp17492119s134p17606226.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: geronimo v2 quartz plugin
I'm too looking for quartz plugin for G2.x. Is/will it be available? Christian Malolepszy wrote: > > Helo all, > > is anyone working on a quartz plugin for geronimo 2? > I neet the features of quartz to migrate my projects to geronimo2. > > best regards > christian > > > -- View this message in context: http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p17351947.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: How to configure transport to use ssl://localhost:61616
It's using 3.2.4 and I'm having a hard time locating the source for it. What are the steps for upgrading? Thank you Kevan Miller wrote: > > > On Jan 24, 2008, at 10:25 AM, jklcom99 wrote: > >> >> We need to stay on Geronimo 1.1.1. Is it possible to upgrade >> ActiveMQ to >> 4.1.1? > > There might be later versions of ActiveMQ 3.2.x with ssl support. > > Upgrading to AMQ 4.1.1 is going to pretty hard, I'm afraid. Probably > easier, I think, to add ssl support to the AMQ 3.2.x codebase and > build it yourself. > > --kevan > > > -- View this message in context: http://www.nabble.com/How-to-configure-transport-to-use-ssl%3A--localhost%3A61616-tp15054001s134p15077053.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: How to configure transport to use ssl://localhost:61616
We need to stay on Geronimo 1.1.1. Is it possible to upgrade ActiveMQ to 4.1.1? Thanks Kevan Miller wrote: > > > On Jan 23, 2008, at 5:15 PM, jklcom99 wrote: > >> >> I'm using Geronimo 1.1.1. >> >> How do I modify the configuration in Geronimo so that AMQ will >> listen on >> ssl://localhost:61616 instead of the default tcp://localhost:61616? >> Or for >> that matter adding additional transport connectors that AMQ will >> listen to? > > The relevant configuration info is in var/config/config.xml. In > particular: > > > > 0.0.0.0 > 61616 > > > > However, I don't think that ActiveMQ 3.2.1 supported an ssl connector. > The following does not work for me... > > > > ssl > 0.0.0.0 > 61616 > > > > FYI, you could define additional connectors by configuring additional > gbeans in the activemq module. e.g.: > > class="org.activemq.gbean.ActiveMQConnectorGBean"> > tcp > localhost > 16161 > > ActiveMQ > > > > I see evidence of SSL transport support in ActiveMQ 4. So, you might > need to look at G 2.0 for this capability. > > --kevan > > -- View this message in context: http://www.nabble.com/How-to-configure-transport-to-use-ssl%3A--localhost%3A61616-tp15054001s134p15065838.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
How to configure transport to use ssl://localhost:61616
I'm using Geronimo 1.1.1. How do I modify the configuration in Geronimo so that AMQ will listen on ssl://localhost:61616 instead of the default tcp://localhost:61616? Or for that matter adding additional transport connectors that AMQ will listen to? Thank you -- View this message in context: http://www.nabble.com/How-to-configure-transport-to-use-ssl%3A--localhost%3A61616-tp15054001s134p15054001.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.