Re: java.net.UnknownHostException during geronimo startup
Just do a grep -r from your Geronimo home and you should find the XML On Mar 11, 2016 21:29, "Kevan Miller"wrote: > Your old hostname is embedded in your original geronimo server. So, the > server is trying to resolve "stisitabctmp" during startup. I don't recall > how you can reconfigure your server with the new hostname. You could try to > configure 'stisitabctmp' to be the same as 'stisitcds' in your network > config on 'stisitcds'. Yes, it's a hack... > > On Fri, Mar 11, 2016 at 1:13 AM, Johannes Weberhofer < > jweberho...@weberhofer.at> wrote: > >> Is another server running at the same host? >> >> Btw. it would be good not to send the whole message in a single line, >> it's hard to read... >> >> Best regards, >> Johannes >> >> Am 08.02.2016 um 16:29 schrieb amlan.geronimo: >> >>> Hi Team, I have an took a backup from old geronimo application server - >>> stisitcds and untar it at new geronimo server stisitabctmp. I thought in >>> this way I can avoide new installation and deployment at new server >>> stisitabctmp. But In this way, I am getting one error during startup of >>> geronimo...at stisitabctmp Here is the geronimo.out log .output >>> Module 9/71 org.apache.geronimo.framework/j2ee-security/2.1.8/car >>> 2016-02-08 08:47:39,858 WARN [8/car,j2eeType=GBean,name=JMXService] Failure >>> in JMXConnector service:jmx:rmi:// >>> 0.0.0.0:10017/jndi/rmi://0.0.0.0:1117/JMXConnector 2016-02-08 >>> 08:47:39,860 ERROR [GBeanInstanceState] Error while starting; GBean is now >>> in the *FAILED state: >>> abstractName="org.apache.geronimo.framework/j2ee-security/2.1.8/car?ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.8/car,j2eeType=GBean,name=JMXService" >>> java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1117/JMXConnector]: >>> javax.naming.ConfigurationException [Root exception >>> is java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested >>> exception is: java.net.UnknownHostException: stisitabctmp: stisitabctmp]* >>> Caused by: javax.naming.ConfigurationException [Root exception is >>> java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested exception is: >>> java.net.UnknownHostException: stisitabctmp: stisitabctmp] *Server Startup >>> failed org.apache.geronimo.kernel.config.LifecycleException: start of >>> org.apache.geronimo.framework/j2ee-security/2.1.8/car failed at >>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:580)* >>> *Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: >>> Configuration org.apache.geronimo.framework/j2ee-security/2.1.8/car failed >>> to start due to the following reasons: The service >>> ServiceModule=org.apache.geronimo.framework/j2ee-security/2.1.8/car,j2eeType=GBean,name=JMXService >>> did not start because Cannot bind to URL [rmi:// >>> 0.0.0.0:1117/JMXConnector]: >>> javax.naming.ConfigurationException [Root exception is >>> java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested exception is: >>> java.net.UnknownHostException: stisitabctmp: stisitabctmp]* Please let me >>> know. How can I startup my server Regards, Amlan >>> >>> -- >>> View this message in context: java.net.UnknownHostException during >>> geronimo startup < >>> http://apache-geronimo.328035.n3.nabble.com/java-net-UnknownHostException-during-geronimo-startup-tp3989980.html >>> > >>> Sent from the Users mailing list archive < >>> http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html> at >>> Nabble.com. >>> >> >> -- >> Johannes Weberhofer >> Weberhofer GmbH, Austria, Vienna >> > >
Re: NoClassDefFoundError org/w3c/dom/ElementTraversal
I've always been advised that the xerces and xalan jars should go in jre/lib/endorsed. Maybe give that a try (after removing them from the war) and see if it works? Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: 716/341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Aug 1, 2015 14:23, Peter Petersson petersson.pe...@gmail.com wrote: Hi I am hitting a class loader problem that I need some help resolving (maybe someone already have resolved this). I get the following stack trace (snippet, more below) when I try to deploy my war file in geronimo 3.0.1 (tomcat7) 2015-08-01 01:10:28,646 ERROR [[/xxx]] Exception starting filter LiftFilter java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal I have found that the problem is related to reading Lifts resource/props/*.props files (a plain text file containing key value pair strings). I have come to this conclusions as disabling the properties files by emptying the content, removing the files or changing the .props extension to something like *.props.disabled then the war file will install and load as expected (although without the properties loaded). In my war files /WEB-INF/lib/ I have **xerces:xercesImpl:2.11.0** and **xml-apis:xml-apis:1.4.01** and the org/w3c/dom/ElementTraversal class is in the xml-apis jar but when running in Geronimo this class is not reached for some reason (running in vanilla jetty works). I have tried some filter options in geronimo-web.xml but so far have not found a working setup. Anny ideas on how to resolve this ? best regards Peter Petersson java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.apache.geronimo.hook.equinox.GeronimoClassLoader.defineClass(GeronimoClassLoader.java:213) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458) at org.apache.geronimo.hook.equinox.GeronimoClassLoader.findLocalClass(GeronimoClassLoader.java:237) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102) at java.util.XMLUtils.load(XMLUtils.java:74) at java.util.Properties.loadFromXML(Properties.java:868) at net.liftweb.util.Props$$anonfun$7$$anonfun$apply$5.apply(Props.scala:309) at net.liftweb.util.Props$$anonfun$7$$anonfun$apply$5.apply(Props.scala:304) at net.liftweb.common.Full.map(Box.scala:806) at net.liftweb.util.Props$$anonfun$7.apply(Props.scala:304) at net.liftweb.util.Props$$anonfun$7.apply(Props.scala:300) at scala.Function1$$anonfun$andThen$1.apply(Function1.scala:55) at scala.collection.immutable.Stream.flatMap(Stream.scala:493) at net.liftweb.util.ListHelpers$class.first(ListHelpers.scala:139) at net.liftweb.util.Helpers$.first(Helpers.scala:34) at net.liftweb.util.Props$.props$lzycompute(Props.scala:300) at net.liftweb.util.Props$.props
Re: certificate will be expired at 8/22/2015 - Apache-Geronimo-2.1.8
That looks like an internal cert. Either way, you can apply a new certificate the same way you applied the one that's there now Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: 716/341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On May 5, 2015 3:06 PM, amlan.geronimo amlan.geron...@gmail.com wrote: Hi Friends, I am using Apache Geronimo 2.1.8. Here I see certificate will be expired at 8/22/2015. So what should be my action to avoid any issue. - - Can you describe the step in details? - - If I don't renew the certificate, what may be impact of that? - - I also don't know how does it generate encrypted password and paste at config.xml file. Please help on this. Issued to : Apache Geronimo Issued by : Apache Geronimo Valid from 8/24/2005 to 8/22/2015 I copied few lines from my config.xml. ${ServerHostname} ${HTTPSPort + PortOffset} 8192 150 25 75 false 100 false false Default TLS var/security/keystores/geronimo-default {Simple}rO0ABXNyABlqYXZheC5jcnlwdG8uU2VhbGVkT2JqZWN0PjY9psO3VHACAARbAA1lbmNvZGV kUGFyYW1zdAACW0JbABBlbmNyeXB0ZWRDb250ZW50cQB+AAFMAAlwYXJhbXNBbGd0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAJ4cHB1cgACW 0Ks8xf4BghU4AIAAHhwEArVToThqcjvbXFD5C2uUmpwdAADQUVT JKS Regards, Amlan -- View this message in context: certificate will be expired at 8/22/2015 - Apache-Geronimo-2.1.8 http://apache-geronimo.328035.n3.nabble.com/certificate-will-be-expired-at-8-22-2015-Apache-Geronimo-2-1-8-tp3989014.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com.
Re: Package uses conflict: Import-Package: org.apache.axis2.transport.http deploying web service in Geronimo application server with httpclient bundle installed.
Did you happen to include the axis jars in web-inf/lib? Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Mar 4, 2015 8:23 AM, javi jcaei...@gmail.com wrote: I’m developing a Rest Web Service, but when it’s deployed in the Geronimo application server (3.0.1), I get the following error: org.osgi.framework.BundleException: The bundle default.ConsultarProductosWebServer_1.0.0 [388] could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.axis2.transport.http; version=[1.6.1,1.6.1], Package uses conflict: Import-Package: org.apache.axis2.transport.http.server; version=[1.6.1,1.6.1] at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)… This is my import packages (in Geronimo-web.xml): sys:import-packageorg.apache.http; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.client; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.client.entity; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.client.methods; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.impl.client; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.message; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.entity; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.impl.entity; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.impl.io; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.impl; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.io; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.params; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.protocol; version=4.4.0/sys:import-package sys:import-packageorg.apache.http.util; version=4.4.0/sys:import-package In the Geronimo application server, there are two active bundles, previously installed on my: · org.apache.httpcomponents.httpclient_4.4 Exported packages: org.apache.http.auth.params;version=4.4; uses:=org.apache.http.params, org.apache.http.client.entity;version=4.4; uses:=org.apache.http, org.apache.http.entity, org.apache.http.client.methods;version=4.4; uses:=org.apache.http, org.apache.http.client.config, org.apache.http.concurrent, org.apache.http.conn,org.apache.http.message, org.apache.http.params, org.apache.http.client.params;version=4.4; uses:=org.apache.http, org.apache.http.auth.params, org.apache.http.client.config, org.apache.http.conn.params, org.apache.http.cookie.params, org.apache.http.params, org.apache.http.client;version=4.4; uses:=org.apache.http, org.apache.http.auth, org.apache.http.client.methods, org.apache.http.conn, org.apache.http.conn.routing, org.apache.http.cookie, org.apache.http.params, org.apache.http.protocol, … · org.apache.httpcomponents.httpcore_4.4 Exported packages: org.apache.http.entity;version=4.4; uses:=org.apache.http, org.apache.http.impl.entity;version=4.4; uses:=org.apache.http, org.apache.http.entity, org.apache.http.io, org.apache.http.impl.io;version=4.4; uses:=org.apache.http, org.apache.http.config, org.apache.http.io, org.apache.http.message, org.apache.http.params, org.apache.http.util, org.apache.http.impl;version=4.4; uses:=org.apache.http, org.apache.http.config, org.apache.http.entity, org.apache.http.impl.entity, org.apache.http.io, org.apache.http.params, org.apache.http.protocol, org.apache.http.io;version=4.4; uses:=org.apache.http, org.apache.http.config, org.apache.http.util, org.apache.http.message;version=4.4; uses:=org.apache.http, org.apache.http.params, org.apache.http.util, org.apache.http.nio.entity;version=4.4; uses:=org.apache.http, org.apache.http.entity, org.apache.http.nio, org.apache.http.nio.util, org.apache.http.nio.params
Re: Login failure in deploying DayTrader on Geronimo
Do other deployments work using the same login information? Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Feb 27, 2015 1:32 PM, saikat_de desai...@gmail.com wrote: I am new to Geronimo technology. I am trying to deploy DayTrader on Geronimo. My config details are as follows - OS: Amazon EC2 Cent OS (64bit) JDK: java-1.6.0-openjdk.x86_64 MySQL: 5.1.73-3.el6_5 Geronimo: 3.0.1 DayTrader: 3.0.0 (built thru maven). After setting environment variables starting Geronimo (using $GERONIMO_HOME/bin/geronimo start), if I try to run deploy daytrader, deployment fails with login failure exception. [root@ip-10-113-176-178 bin]# ./deploy --verbose --user system --password manager deploy $DAYTRADER_HOME/javaee6/assemblies/daytrader-ear/target/daytrader-ear-3.0.0.ear $DAYTRADER_HOME/javaee6/plans/target/classes/daytrader-mysql-xa-plan.xml Using GERONIMO_HOME: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_SERVER: /root/geronimo-tomcat7-javaee6-web-3.0.1 Using GERONIMO_TMPDIR: /root/geronimo-tomcat7-javaee6-web-3.0.1/var/temp Using JRE_HOME: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64 2015-02-27 17:50:13,820 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Login Failed at org.apache.geronimo.deployment.cli.OnlineServerConnection.tryToConnect(OnlineServerConnection.java:126) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:75) at org.apache.geronimo.deployment.cli.OnlineServerConnection.(OnlineServerConnection.java:50) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:167) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) 1) Could you please help me how to troubleshoot resolve this issue ? Apart from 'mvn install' 'createDerbyDB', I have not executed any other automated/manual step for daytrader. 2) Once daytrader is deployed, if I want to expose a public URL (accessible thru browser) of the deployment, how can I do that ? What all other packages needed to be installed ? -- View this message in context: Login failure in deploying DayTrader on Geronimo http://apache-geronimo.328035.n3.nabble.com/Login-failure-in-deploying-DayTrader-on-Geronimo-tp3988819.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com.
Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1
I would guess its either a classpath conflict, previous installation of Geronimo, or bad permissions. You could install to C:/Geronimo and shouldn't have a problem. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Feb 3, 2015 8:17 PM, Zhi Xie daxie...@gmail.com wrote: I couldn't reproduce your issue on windows 7 64bit 1.11.00.AI B13. It is my geronimo server start output in console. Please check it and give me more information to recreate your findings. C:\geronimo-tomcat7-javaee6-3.0.1\binset JAVA_HOME=e:\jdks\sun\jdk1.7.0_75 C:\geronimo-tomcat7-javaee6-3.0.1\bingeronimo.bat run Using GERONIMO_HOME: C:\geronimo-tomcat7-javaee6-3.0.1 Using GERONIMO_SERVER: C:\geronimo-tomcat7-javaee6-3.0.1 Using GERONIMO_TMPDIR: C:\geronimo-tomcat7-javaee6-3.0.1\var\temp Using JRE_HOME:e:\jdks\sun\jdk1.7.0_75\jre __ _ / /___ _ (_) ___ / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \ / /_/ // __/ / / /_/ / / / / // / / / / / /_/ / \/ \___/_/ \/_/ /_/_//_/ /_/ /_/\/ Apache Geronimo (3.0.1) Hit 'tab' for a list of available commands and '[cmd] --help' for help on a specific command. Hit 'ctrl-d' or 'osgi:shutdown' to shutdown Geronimo. geronimo Booting Geronimo Kernel (in Java 1.7.0_75)... Starting Geronimo Application Server v3.0.1 [] 100% 12s Startup complete Listening on Ports: 1050 0.0.0.0 CORBA Naming Service 1099 0.0.0.0 RMI Naming 1527 0.0.0.0 Derby Connector 2001 0.0.0.0 OpenEJB SSL ORB Adapter 4201 0.0.0.0 OpenEJB Daemon 6882 0.0.0.0 OpenEJB ORB Adapter 8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector 8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector 8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector 0.0.0.0 JMX Remoting Connector 61616 0.0.0.0 ActiveMQ Transport Connector Started Application Modules: EAR: org.apache.geronimo.plugins/console-tomcat/3.0.1/car JAR: org.apache.geronimo.configs/mejb/3.0.1/car RAR: org.apache.geronimo.configs/activemq-ra/3.0.1/car RAR: org.apache.geronimo.configs/system-database/3.0.1/car RAR: org.apache.geronimo.plugins.monitoring/agent-ds/3.0.1/car RAR: org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0.1/car RAR: org.apache.geronimo.plugins/uddi-db/3.0.1/car WAR: org.apache.geronimo.configs/remote-deploy-tomcat/3.0.1/car WAR: org.apache.geronimo.configs/uddi-tomcat/3.0.1/car WAR: org.apache.geronimo.configs/welcome-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/activemq-console-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/openejb-console-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/plugin-console-tomcat/3.0.1/car WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/3.0.1/car Web Applications: / /activemq /console /console-base /debug-views /juddi /monitoring /openejb-server /plan-creator /plugin /remote-deploy /system-database Geronimo Application Server started --- 2015-02-01 5:23 GMT+08:00 paulhr p...@roubekas.org: I found the cause. It seems the the hierarchy of the directory structure can be too flat. The example below is ok. *C:\g\geronimo-tomcat7-javaee6-3.0.1\bin* But this example is too flat for Geronimo to handle. *C:\geronimo-tomcat7-javaee6-3.0.1\bin* -- View this message in context: Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1 http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988719.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com. -- Best Regards Gary
Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1
What's the rest of the exception..? Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 30, 2015 6:54 PM, paulhr p...@roubekas.org wrote: I did a search and found this as a bug in Lunix. But I am on Windows 7. === error message during start up Error starting framework: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: === steps taken to cause error C:\geronimon301\bin Windows 7 Home Premium SP1 SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_75 I then do cd c: cd \geronimon301\bin C:\geronimo301\bingeronimo.bat run -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713.html Sent from the Users mailing list archive at Nabble.com.
Re: LifecycleException on startup after server crash
I don't know if anyone has responded yet... when it crashes and then the ear fails, what causes the crash? Any exceptions? It looks to me like Geronimo may have a bad cache following the event and that's what's causing the break, but I'm not sure. I've seen it happen on websphere, although with obviously different messages. Tomcat also gives me problems like this, where if there is an issue it will simply delete the entire war file and any related contents. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 23, 2015 3:57 AM, Genc, Ömer oemer.g...@iais.fraunhofer.de wrote: Hey there, i am having problems with deploying my artifacts on geronimo server after the server crashed. I am using Geronimo 3.0.1. When starting with a fresh geronimo installation, my ear can be deployed and works correctly. However, if the module is already deployed on the server and the server crashes, the server has problems starting up again. The reason for this is my ear. On startup the server fails with the following exception, while trying to load my ear: *org.apache.geronimo.kernel.config.LifecycleException*: load of TEST/com.name.ear/1.0/ear failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( *SimpleConfigurationManager.java:316*) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup( *EmbeddedDaemon.java:234*) at org.apache.geronimo.system.main.EmbeddedDaemon.execute( *EmbeddedDaemon.java:94*) at org.apache.geronimo.system.osgi.BootActivator$1.execute( *BootActivator.java:107*) at org.apache.geronimo.main.Bootstrapper.start( *Bootstrapper.java:88*) at org.apache.geronimo.main.Bootstrapper.execute( *Bootstrapper.java:61*) at org.apache.geronimo.cli.AbstractCLI.executeMain( *AbstractCLI.java:65*) at org.apache.geronimo.cli.daemon.DaemonCLI.main( *DaemonCLI.java:33*) Caused by: *org.osgi.framework.BundleException*: The bundle TEST.com.name.ear_1.0.0 [378] could not be resolved. Reason: Missing Constraint: Import-Package: org.osgi.service.prefs; version=[1.1.1,1.1.1] at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError( *AbstractBundle.java:1327*) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException( *AbstractBundle.java:1311*) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker( *BundleHost.java:323*) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start( *AbstractBundle.java:299*) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration( *SimpleConfigurationManager.java:311*) ... 7 more Restarting the server does not solve the problem. The only way to solve this is to manually delete the artifact from the repository using the command line or the file system. However, this is a no-op for me. Can anyone give me an advice, where to look and why the server has problems loading my ear on startup? Thanks in advance, Oemer
Re: Critical Watch - Autocomplete Password in Browser Vulnerability
Not on my side - its not accepted by all browsers (usually that just means IE) so I'm not sure what to say. I haven't had issues with it, but I also disable password saving entirely in the browser itself. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 16, 2015 8:10 AM, amlan.geronimo amlan.geron...@gmail.com wrote: Kevin All forum friends, I tried with Mozilla firefox. But this time also no luck for me. I updated at login.jsp file under org/apache/geronimo/plugins/console-tomcat/2.1.8/console-tomc at-2.1.8.car/portal-driver.war $ grep autocomplete login.jsp input name=j_username type=text autocomplete=off class=InputField value= size=20px/ input name=j_password type=password autocomplete=off class=InputField value= size=20px/ Any advise? Thank you in advance!! - Amlan -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Critical-Watch-Autocomplete-Password-in-Browser-Vulnerability-tp3988677p3988684.html Sent from the Users mailing list archive at Nabble.com.
Re: Critical Watch - Autocomplete Password in Browser Vulnerability
You can tell internet explorer (and any other browser) not to save passwords.. I believe the setting is under tools - internet options - security, select internet and then select custom level. Alternately if you say no to that prompt I believe it asks if you want to save passwords in the future, to which you can say no as well. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 15, 2015 8:21 AM, amlan.geronimo amlan.geron...@gmail.com wrote: Hi Team, When I try to login in Geronimo Admin console with admin credential(system/system's password). Then browser (in my case IE) ask whether I like to save my password? If I click ok then it saves the password in the form of browser cookie. My question is how can I stop this using autocomplete=off and at which file we will make this change. Please help. -Amlan -- View this message in context: Critical Watch - Autocomplete Password in Browser Vulnerability http://apache-geronimo.328035.n3.nabble.com/Critical-Watch-Autocomplete-Password-in-Browser-Vulnerability-tp3988677.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com.
Re: Critical Watch - Autocomplete Password in Browser Vulnerability
Yeah there's an option on the form for it - autocomplete = off but not all browsers honor it Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 15, 2015 9:29 AM, amlan.geronimo amlan.geron...@gmail.com wrote: Thank you Kevin for your reply!! Can we stop this programmatically? so that Browser will not ask for this again. -Amlan -- View this message in context: Re: Critical Watch - Autocomplete Password in Browser Vulnerability http://apache-geronimo.328035.n3.nabble.com/Critical-Watch-Autocomplete-Password-in-Browser-Vulnerability-tp3988677p3988679.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com.
Re: htaccess
I don't know for sure as I've never tried, but I wouldn't recommend using Geronimo as your web. Its a j2ee container and should be used that way, with apache or some other webserver fronting it. My opinion. That being said, its likely using a stripped down version of Apache to do the serving, so it's possible. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 11, 2015 3:23 PM, albu77 albu.cons...@gmail.com wrote: Another newbie question: Can we use htaccess on Geronimo to protect some resources. If not are ther other solutions Regards Alain -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/htaccess-tp3988662.html Sent from the Users mailing list archive at Nabble.com.
Re: Regarding steps for deploying web application in appache geronimo server
What is the error you're getting Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jan 3, 2015 10:49 AM, Susil Manohar Sahoo susil.mano...@gmail.com wrote: Hi I am unable to deploy the war in geronimo app server. I am using *geronimo-web.xml *as below ?xml version=1.0 encoding=UTF-8 standalone=no? web:web-app xmlns:app= http://geronimo.apache.org/xml/ns/j2ee/application-2.0; xmlns:bp= http://www.osgi.org/xmlns/blueprint/v1.0.0; xmlns:client= http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0; xmlns:conn=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2; xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; xmlns:ejb= http://openejb.apache.org/xml/ns/openejb-jar-2.2; xmlns:jaspi= http://geronimo.apache.org/xml/ns/geronimo-jaspi; xmlns:log= http://geronimo.apache.org/xml/ns/loginconfig-2.0; xmlns:name= http://geronimo.apache.org/xml/ns/naming-1.2; xmlns:pers= http://java.sun.com/xml/ns/persistence; xmlns:pkgen= http://openejb.apache.org/xml/ns/pkgen-2.1; xmlns:sec= http://geronimo.apache.org/xml/ns/security-2.0; xmlns:web= http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1; dep:environment dep:moduleId dep:groupIdsample.web.application/dep:groupId dep:artifactIdSampleApplication/dep:artifactId dep:version1.0/dep:version dep:typewar/dep:type /dep:moduleId /dep:environment web:context-root/HelloTest/web:context-root /web:web-app But the url: localhost:8080/HelloTest is getting error. Please guide me the step by step procedure for run an demo application in eclipse; am already config all the server details in eclipse. -- Best Regards -- Susil Manohar sahoo mob no:- +91-8149805798 ph no:- +91-20 4016 8139
Re: What is the equivalence of catalina.policy in Geronimo?
That file is used by the jdk security system. Any file can be used, if not specified the one in jre/lib/security is used. Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Dec 10, 2014 4:42 PM, Jack Cai cai_j...@us.chanjet.com wrote: Thanks. -Jack
Re: Geronimo 4.0 - JEE7
Historically its about a year or so between released. 3.0.1 was pushed in 2012. The svn trunk looks like it hasn't been updated in a while, and there aren't any new branches either -- Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Nov 7, 2014 2:34 PM, Stig Even Larsen s...@priv.biz wrote: Hi, Does this mean that Geronimo is slowly dying / being discontinued? - Stig Even Larsen 2014-11-07 18:41 GMT+01:00 Kevan Miller kevan.mil...@gmail.com: Yep. That's what I'd expect/hope... :) --kevan On Fri, Nov 7, 2014 at 9:18 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Hi Kevan, We eventually have interest on the components you mentioned but to add then into TomEE 2.x. Jean-Louis 2014-11-07 18:16 GMT+01:00 Kevan Miller kevan.mil...@gmail.com: Hi, I haven't seen much interest expressed for building a Java EE 7 implementation of Geronimo. It does seem that we can expect the community will be providing components useful for Java EE 7 servers (e.g. specs, javamail, xbean, connectors, etc). Others may have their own opinions on this... --kevan On Wed, Nov 5, 2014 at 2:09 PM, Collins Solutions collins-soluti...@austin.rr.com wrote: Does anyone know when this released is being planned? -- Jean-Louis
Re: Need Help !
Is the MySQL jar loaded into Geronimo and has the server been restarted? Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jul 25, 2014 1:25 PM, d...@hp.com d...@hp.com wrote: Hi I am new to this Geronimo app server technology, and trying to deploy daytrader-3.0.0.ear in Geronimo app server. The following are the software stack what I am using. 1. geronimo-tomcat7-javaee6-3.0.1 - app server version 2. Java 6 3. MySQL Connector - mysql-connector-java-5.1.31.jar while deploying ear file error has been thrown like below ./deploy --user system --password manager redeploy daytrader-ear-3.0.0.ear daytrader-mysql-xa-plan.xml Using GERONIMO_HOME: geronimo-tomcat7-javaee6-3.0.1 Using GERONIMO_SERVER: geronimo-tomcat7-javaee6-3.0.1 Using GERONIMO_TMPDIR: geronimo-tomcat7-javaee6-3.0.1/var/temp Using JRE_HOME:/opt/java6/jre No ModuleID or TargetModuleID provided. Attempting to guess based on the content of the plan. Attempting to use ModuleID 'org.apache.geronimo.daytrader/daytrader/3.0.0/car' Stopped org.apache.geronimo.daytrader/daytrader/3.0.0/car Unloaded org.apache.geronimo.daytrader/daytrader/3.0.0/car Uninstalled org.apache.geronimo.daytrader/daytrader/3.0.0/car Deployed org.apache.geronimo.daytrader/daytrader/3.0.0/car Redeployed org.apache.geronimo.daytrader/daytrader/3.0.0/car 2014-07-25 21:37:52,281 ERROR [DeployTool] Error: *org.apache.geronimo.common.DeploymentException: Operation failed: com/mysql/jdbc/jdbc2/optional/MysqlXADataSource* at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:392) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) The plan file is attached with this mail. any help would be greatly appreciated. Please do let me know if you need more information. Thanks Danny J *daytrader-mysql-xa-plan.xml* (11K) Download Attachment http://apache-geronimo.328035.n3.nabble.com/attachment/3988136/0/daytrader-mysql-xa-plan.xml -- View this message in context: Need Help ! http://apache-geronimo.328035.n3.nabble.com/Need-Help-tp3988136.html Sent from the Users mailing list archive http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html at Nabble.com.
Re: Constant requests by service Geronimo / aspentec-lm on port 6142
Aspen license manager. Its using geronimos classpath, but I don't think it's actually a Geronimo service. Hopefully this helps - https://www.google.com/search?q=Aspen+license+manageroq=Aspen+license+manageraqs=chrome..69i57.1125j0j4sourceid=chrome-mobileespv=1ie=UTF-8 Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Jun 24, 2014 9:13 PM, s...@midix.com s...@midix.com wrote: I have two servers. One of them is sending requests to the other on a second basis (if not even more frequent) and I do not know why! I have used snoop and identified following (on the server sending the requests): # snoop udp Using device /dev/hme (promiscuous mode) lin134 - 237.255.1.2 UDP D=6142 S=6142 LEN=40 lin134 - 237.255.1.2 UDP D=6142 S=6142 LEN=40 lin134 - 237.255.1.2 UDP D=6142 S=6142 LEN=40 When I go over to the server lin134 and inspect the process: # grep 6142 /etc/services aspentec-lm 6142/tcp# Aspen Technology License Manager aspentec-lm 6142/udp# Aspen Technology License Manager # lsof |grep aspen java 18267 root 178u IPv6 46657338 UDP *:aspentec-lm # ps -ef |grep 18267 root 3919 939 0 15:10 pts/100:00:00 grep 18267 root 18267 1 0 May27 ?00:15:34 /usr/lib/jvm/jdk1.6.0_23/jre/bin/java -Xmx256m -XX:MaxPermSize=128m -javaagent:/opt/geronimo-tomcat6-javaee5-2.2/bin/jpa.jar -Dorg.apache.geronimo.home.dir=/opt/geronimo-tomcat6-javaee5-2.2 -Djava.endorsed.dirs =/opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed:/usr/lib/jvm/jdk1.6.0_23/jre/lib/endorsed -Djava.ext.dirs=/opt/geronimo-tomcat6-javaee5-2.2/lib/ext:/usr/lib/jvm/jdk1.6.0_23 /jre/lib/ext -Djava.io.tmpdir=var/temp -jar /opt/geronimo-tomcat6-javaee5-2.2/ bin/server.jar --long The process geronimo tomcat obviously has something to do with it, but I am unsure what. I have searched google etc. but this seems to be a rare problem. Please help -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Constant-requests-by-service-Geronimo-aspentec-lm-on-port-6142-tp3988058.html Sent from the Users mailing list archive at Nabble.com.
Re: Change JDBC connect URL in console
you are most welcome Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Wed, Dec 4, 2013 at 7:21 PM, jbeaulau jbeau...@cisco.com wrote: Thanks Kevin -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Change-JDBC-connect-URL-in-console-tp3987472p3987474.html Sent from the Users mailing list archive at Nabble.com.
Re: Change JDBC connect URL in console
As a general rule the hostname is cached in memory and a restart is required to reload the attribute On Dec 4, 2013 4:58 PM, jbeaulau jbeau...@cisco.com wrote: Hello, I need to change the hostname in the JDBC Connect URL for a DB pool. Once I make the update and save, is the change implemented immediately, or do I need to restart the Geronimo instance? Geronimo 2.1.3 Thanks -John -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Change-JDBC-connect-URL-in-console-tp3987472.html Sent from the Users mailing list archive at Nabble.com.
Re: Nullpointer deploying jax-ws webservice
Is this a generic error ? 2013-11-30 14:37:22,321 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy cws_web_source-1.0-SNAPSHOT: WSDL generation failed at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) This app has no webservices in it at all... Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Fri, Nov 29, 2013 at 1:26 PM, Kevin Huntly kmhun...@gmail.com wrote: From the command line (exploded ear, /opt/Apache/geronimo/current/bin/deploy deploy --inPlace `pwd`): 2013-11-29 14:21:32,396 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutionsWeb: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) From deployer.log: 2013-11-29 14:20:55,188 INFO [BasicServerInfo] -- 2013-11-29 14:20:59,495 INFO [SystemProperties] Setting Property=java.rmi.server.RMIClassLoaderSpi to Value=org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl 2013-11-29 14:21:32,396 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutionsWeb: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) Exploded WAR (/opt/Apache/geronimo/current/bin/deploy deploy --inPlace `pwd`) 2013-11-29 14:24:39,015 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutions_web_source-1.0-SNAPSHOT.war: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb/eSolutions_web_source-1.0-SNAPSHOT.war /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124
Re: Nullpointer deploying jax-ws webservice
I tried it that way as well, with and without leading slash. I did fix it by dropping the wsdl altogether, so that was nice - but now I cannot deploy using the CLI. It won't accept either the ear or the war but I can deploy the war in the console and it works. I'll post the stack trace as soon as I get on my PC. Sent from my iPhone On Nov 29, 2013, at 1:16, Ivan xhh...@gmail.com wrote: From the git history, It looks like that you have fixed this issue by removing the wsdl file, with this way, the Geronimo server will gnerate the wsdl file you. From the original codes, I guess the issue here is that, wsdl is not in the correct location as configured by wsdlLocation in WebService annotation ? It is suggested to use the relative path to the application root, e.g. wsdlLocation='WEB-INF/wsdl/CoreRequestProcessorService.wsdl'. (no slash in the beginning of the path) Using /wsdl/CoreRequestProcessorService.wsdl will cause the codes to search the absolute file /wsdl/CoreRequestProcessorService.wsdl on linux box. The general searching policy is : a. Treat the url is an absolute URL, use new URL('').open() b. Consider it is of a relative path and try to resolve to the application root. c. Searching it from the classpath. Hope you have a happy thanksgiving day ;-) 2013/11/27 Kevin Huntly kmhun...@gmail.com I get an npe trying to deploy a jax-ws annotated webservice to geronimo 3.0.1 on jdk 1.7.0_45. I dont have the code to attach but it is on github: https://github.com/cwsus/cws-esolutions The webservice classes are under eSolutionsCore/src/main/java/com/cws/esolutions/core/ws, the wsdl is under web/eSolutions/wars/eSolutions_web_source/src/main/webapp/wsdl, and geronimo-web.xml under web/eSolutions/wars/eSolutions_web_source/src/main/geronimo. If it makes it easier to have them pasted here i can do that in the morning. Ive been trying to figure this out for a few days ... Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:234) at org.apache.axis2.jaxws.util.WSDL4JWrapper.init(WSDL4JWrapper.java:156) at org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:166) at org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:175) at org.apache.geronimo.axis2.pojo.POJOWebServiceContainer.init(POJOWebServiceContainer.java:76) at org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:105) ... 55 more Caused by: java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper$14.run(WSDL4JWrapper.java:974) at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132) at org.apache.axis2.jaxws.util.WSDL4JWrapper.getInputStream(WSDL4JWrapper.java:971) at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:189) ... 60 more -- Ivan
Re: Nullpointer deploying jax-ws webservice
From the command line (exploded ear, /opt/Apache/geronimo/current/bin/deploy deploy --inPlace `pwd`): 2013-11-29 14:21:32,396 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutionsWeb: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) From deployer.log: 2013-11-29 14:20:55,188 INFO [BasicServerInfo] -- 2013-11-29 14:20:59,495 INFO [SystemProperties] Setting Property=java.rmi.server.RMIClassLoaderSpi to Value=org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl 2013-11-29 14:21:32,396 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutionsWeb: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) Exploded WAR (/opt/Apache/geronimo/current/bin/deploy deploy --inPlace `pwd`) 2013-11-29 14:24:39,015 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy eSolutions_web_source-1.0-SNAPSHOT.war: Cound not open module file: /appvol/applications/eSolutions/eSolutionsWeb/eSolutions_web_source-1.0-SNAPSHOT.war /opt/Apache/geronimo/current/var/temp/geronimo-fileutils6097305115786813817.tmpfile (No such file or directory) at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32) /opt/Apache/geronimo/current/var/tmp exists and is properly permissioned: [caspersb-daws1.caspersbox.corp:appadm] : /opt/Apache/geronimo/current/var/log/system $ id uid=105(appadm) gid=104(appgrp) groups=104(appgrp) context=user_u:system_r:unconfined_t:s0 [caspersb-daws1.caspersbox.corp:appadm] : /opt/Apache/geronimo/current/var/log/system $ [caspersb-daws1.caspersbox.corp:appadm] : /opt/Apache/geronimo/current/var/temp $ ls -ld drwxr-xr-x 3 appadm appgrp 4096 Nov 29 14:21 . [caspersb-daws1.caspersbox.corp:appadm] : /opt/Apache/geronimo/current/var/temp $ Kevin Huntly 79 Aurora Drive Cheektowaga, NY 14215 Email: kmhun...@gmail.com Cell: (716) 341-5669 LinkedIn: http://www.linkedin.com/in/kevinhuntly -BEGIN GEEK CODE BLOCK- Version: 1.0 GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E--- W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+) PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++ G++ e(+) h--- r+++ y+++* --END GEEK CODE BLOCK-- On Fri, Nov 29, 2013 at 8:01 AM, Kevin Huntly kmhun...@gmail.com wrote: I tried it that way as well
Nullpointer deploying jax-ws webservice
I get an npe trying to deploy a jax-ws annotated webservice to geronimo 3.0.1 on jdk 1.7.0_45. I dont have the code to attach but it is on github: https://github.com/cwsus/cws-esolutions The webservice classes are under eSolutionsCore/src/main/java/com/cws/esolutions/core/ws, the wsdl is under web/eSolutions/wars/eSolutions_web_source/src/main/webapp/wsdl, and geronimo-web.xml under web/eSolutions/wars/eSolutions_web_source/src/main/geronimo. If it makes it easier to have them pasted here i can do that in the morning. Ive been trying to figure this out for a few days ... Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:234) at org.apache.axis2.jaxws.util.WSDL4JWrapper.init(WSDL4JWrapper.java:156) at org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:166) at org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:175) at org.apache.geronimo.axis2.pojo.POJOWebServiceContainer.init(POJOWebServiceContainer.java:76) at org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:105) ... 55 more Caused by: java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper$14.run(WSDL4JWrapper.java:974) at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132) at org.apache.axis2.jaxws.util.WSDL4JWrapper.getInputStream(WSDL4JWrapper.java:971) at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:189) ... 60 more