6 Replies Latest reply: Jul 30, 2012 11:38 AM by SME_DBA RSS

    Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2

    SME_DBA
      Hi

      I cannot deploy apex listener war file 1.1.4. It throws following error and deployment fails:

      Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: oracle.dbtools.rt.util.FilePathSyntaxException: ILLEGAL_CHARACTER. Please see server.log for more details.

      Anyone else having the same problem?

      Thanks,

      Farhan
        • 1. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
          950962
          Hi Farhan,

          I have encountered the same problem today while deploying Apex Listener 1.1.4 on Tomcat 7 running on Windows Server 2008 R2. Because I haven’t had any clue about this exception, I decided to deploy version 1.0.2, which works fine with the same server configuration.
          As well as you, I would appreciate if someone would have a solution.

          Regards,

          Gert

          Edited by: user8808300 on 22.07.2012 08:56
          • 2. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
            Udo
            I haven't tested the new release myself yet. Could you try the previous release (1.1.3)? It could be that something went wrong when implementing the change for
            Fix a problem with standalone mode not handling the /apex (instead of /apex/) url properly and raising an exception
            The 1.1.3 release is not (yet) listed in the previous release archive, but it's still [url http://download.oracle.com/otn/java/appexpress/apex_listener.1.1.3.243.11.40.zip]available on OTN.

            -Udo
            • 3. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
              Colm Divilly-Oracle
              Can you post the full stack trace, and can you tell me the full locations where:

              1) You are storing your Listener Configuration
              2) You have installed Tomcat/GlassFish

              and also your operating system

              Thanks,
              Colm

              Edited by: Colm Divilly on Jul 23, 2012 8:55 AM
              • 4. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
                SME_DBA
                I installed version 1.1.3 and it deployed successfully with the same configuration. Error stack is posted below.

                OS: Windows 7 x64
                Glassfish Server Location: G:\glassfish3 (G: is separate sata physical disk)
                Listener Location: G:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN

                kDiagnosticVMOptions
                -XX:PermSize=64m
                -XX:MaxPermSize=192m
                -XX:NewRatio=2
                -Xmx512m
                -javaagent:G:/glassfish3/glassfish/lib/monitor/flashlight-agent.jar
                -client
                -Dosgi.shell.telnet.maxconn=1
                -Dfelix.fileinstall.disableConfigSave=false
                -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
                -Dfelix.fileinstall.dir=G:\glassfish3\glassfish/modules/autostart/
                -Djavax.net.ssl.keyStore=G:\glassfish3\glassfish\domains\domain1/config/keystore.jks
                -Dosgi.shell.telnet.port=6666
                -Djava.security.policy=G:\glassfish3\glassfish\domains\domain1/config/server.policy
                -Djava.awt.headless=true
                -Dfelix.fileinstall.log.level=2
                -Dfelix.fileinstall.poll=5000
                -Dcom.sun.aas.instanceRoot=G:\glassfish3\glassfish\domains\domain1
                -Dosgi.shell.telnet.ip=127.0.0.1
                -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
                -Djava.endorsed.dirs=G:\glassfish3\glassfish/modules/endorsed;G:\glassfish3\glassfish/lib/endorsed
                -Dcom.sun.aas.installRoot=G:\glassfish3\glassfish
                -Dfelix.fileinstall.bundles.startTransient=true
                -Djava.ext.dirs=G:\_Java\jdkx64/lib/ext;G:\_Java\jdkx64/jre/lib/ext;G:\glassfish3\glassfish\domains\domain1/lib/ext
                -Dfelix.fileinstall.bundles.new.start=true
                -Djavax.net.ssl.trustStore=G:\glassfish3\glassfish\domains\domain1/config/cacerts.jks
                -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
                -Djava.security.auth.login.config=G:\glassfish3\glassfish\domains\domain1/config/login.conf
                -DANTLR_USE_DIRECT_CLASS_LOADING=true
                -Dgosh.args=--nointeractive
                Jul 21, 2012 3:16:04 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
                INFO: Successfully launched in 27 msec.
                +[#|2012-07-21T15:16:14.351+0100|INFO|oracle-glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=Thread-2;|Running GlassFish Version: Oracle GlassFish Server 3.1.2.2 (build 5)|#]+

                +[#|2012-07-21T15:16:14.447+0100|INFO|oracle-glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=1;_ThreadName=Thread-2;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]+

                +[#|2012-07-21T15:16:14.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=30;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 34ms - bound to [0.0.0.0:3700]|#]+

                +[#|2012-07-21T15:16:14.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 105ms - bound to [0.0.0.0:8080]|#]+

                +[#|2012-07-21T15:16:14.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=26;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 69ms - bound to [0.0.0.0:8181]|#]+

                +[#|2012-07-21T15:16:14.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 64ms - bound to [0.0.0.0:4848]|#]+

                +[#|2012-07-21T15:16:14.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=33;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 24ms - bound to [0.0.0.0:7676]|#]+

                +[#|2012-07-21T15:16:15.002+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=1;_ThreadName=Thread-2;|The Admin Console is already installed, but not yet loaded.|#]+

                +[#|2012-07-21T15:16:15.154+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-2;|Oracle GlassFish Server 3.1.2.2 (5) startup time : Felix (9,572ms), startup services(1,309ms), total(10,881ms)|#]+

                +[#|2012-07-21T15:16:15.990+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=40;_ThreadName=Thread-2;|User [] from host 162.49.176.77 does not have administration access|#]+

                +[#|2012-07-21T15:16:16.076+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=42;_ThreadName=Thread-2;|The Admin Console is already installed, but not yet loaded.|#]+

                +[#|2012-07-21T15:16:16.076+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=42;_ThreadName=Thread-2;|The Admin Console is starting. Please wait.|#]+

                +[#|2012-07-21T15:16:18.240+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=54;_ThreadName=Thread-2;|JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://162.49.176.77:8686/jndi/rmi://162.49.176.77:8686/jmxrmi|#]+

                +[#|2012-07-21T15:16:18.336+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]|#]+

                +[#|2012-07-21T15:16:18.343+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]|#]+

                +[#|2012-07-21T15:16:18.347+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]|#]+

                +[#|2012-07-21T15:16:18.376+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0171: Created virtual server [server]|#]+

                +[#|2012-07-21T15:16:18.378+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0171: Created virtual server [__asadmin]|#]+

                +[#|2012-07-21T15:16:18.878+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0172: Virtual server [server] loaded default web module []|#]+

                +[#|2012-07-21T15:16:19.711+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=42;_ThreadName=Thread-2;|SEC1002: Security Manager is OFF.|#]+

                +[#|2012-07-21T15:16:19.965+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=42;_ThreadName=Thread-2;|SEC1010: Entering Security Startup Service|#]+

                +[#|2012-07-21T15:16:19.968+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=42;_ThreadName=Thread-2;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]+

                +[#|2012-07-21T15:16:20.083+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=42;_ThreadName=Thread-2;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]+

                +[#|2012-07-21T15:16:20.091+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=42;_ThreadName=Thread-2;|SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]+

                +[#|2012-07-21T15:16:20.104+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=42;_ThreadName=Thread-2;|SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.|#]+

                +[#|2012-07-21T15:16:20.117+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=42;_ThreadName=Thread-2;|SEC1011: Security Service(s) Started Successfully|#]+

                +[#|2012-07-21T15:16:21.944+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=42;_ThreadName=Thread-2;|Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context ''|#]+

                +[#|2012-07-21T15:16:22.822+0100|INFO|oracle-glassfish3.1.2|org.hibernate.validator.internal.util.Version|_ThreadID=42;_ThreadName=Thread-2;|HV000001: Hibernate Validator 4.3.0.Final|#]+

                +[#|2012-07-21T15:16:23.321+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=42;_ThreadName=Thread-2;|WEB0671: Loading application [__admingui] at []|#]+

                +[#|2012-07-21T15:16:23.322+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=42;_ThreadName=Thread-2;|CORE10010: Loading application __admingui done in 7,246 ms|#]+

                +[#|2012-07-21T15:16:23.322+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=42;_ThreadName=Thread-2;|The Admin Console application is loaded.|#]+

                +[#|2012-07-21T16:19:51.895+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=88;_ThreadName=Thread-2;|User [] from host activate.smeuk.com does not have administration access|#]+

                +[#|2012-07-21T16:19:53.990+0100|WARNING|oracle-glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=88;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]+

                +[#|2012-07-21T16:19:54.000+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=87;_ThreadName=Thread-2;|User [] from host activate.smeuk.com does not have administration access|#]+

                +[#|2012-07-21T16:25:13.918+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=44;_ThreadName=Thread-2;|User [] from host activate.smeuk.com does not have administration access|#]+

                +[#|2012-07-21T16:25:29.748+0100|WARNING|oracle-glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=44;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]+

                +[#|2012-07-21T16:25:29.767+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=90;_ThreadName=Thread-2;|User [] from host activate.smeuk.com does not have administration access|#]+

                +[#|2012-07-21T16:25:48.761+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=44;_ThreadName=Thread-2;|Created EjbThreadPoolExecutor with thread-core-pool-size 16 thread-max-pool-size 32 thread-keep-alive-seconds 60 thread-queue-capacity 2147483647 allow-core-thread-timeout false |#]+

                +[#|2012-07-21T16:25:49.495+0100|INFO|oracle-glassfish3.1.2|com.sun.jersey.server.impl.application.WebApplicationImpl|_ThreadID=44;_ThreadName=Thread-2;|Initiating Jersey application, version 'Jersey: 1.11.1 03/31/2012 06:49 PM'|#]+

                +[#|2012-07-21T16:25:50.172+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.admin.rest.adapter|_ThreadID=44;_ThreadName=Thread-2;|REST00001: Listening to REST requests at context: /management/domain|#]+

                +[#|2012-07-21T16:25:50.217+0100|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=87;_ThreadName=Thread-2;|Redirecting to /|#]+

                +[#|2012-07-21T16:25:50.442+0100|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=90;_ThreadName=Thread-2;|Admin Console: Initializing Session Attributes...|#]+

                +[#|2012-07-21T16:27:16.128+0100|INFO|oracle-glassfish3.1.2|null|_ThreadID=87;_ThreadName=Thread-2;|unable to read instance state file G:\glassfish3\glassfish\domains\domain1\config\.instancestate, recreating|#]+

                +[#|2012-07-21T16:27:49.593+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=87;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:28:25.690+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=40;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:28:25.715+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=44;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:28:41.691+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=40;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:29:10.218+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=87;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:29:10.241+0100|INFO|oracle-glassfish3.1.2|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=90;_ThreadName=Thread-2;|SEC1117: Realm [file] successfully updated.|#]+

                +[#|2012-07-21T16:30:30.057+0100|WARNING|oracle-glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=87;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]+

                +[#|2012-07-21T16:30:30.114+0100|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=87;_ThreadName=Thread-2;|GUI deployment: uploadToTempfile|#]+

                +[#|2012-07-21T16:30:30.124+0100|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=87;_ThreadName=Thread-2;|uploadFileName=apex.war|#]+

                +[#|2012-07-21T16:30:31.278+0100|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.core.StandardContext|_ThreadID=44;_ThreadName=Thread-2;|PWC1306: Startup of context /apex failed due to previous errors|#]+

                +[#|2012-07-21T16:30:31.279+0100|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.core.StandardContext|_ThreadID=44;_ThreadName=Thread-2;|PWC1305: Exception during cleanup after start failed+
                org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
                +     at org.apache.catalina.session.StandardManager.stop(StandardManager.java:873)+
                +     at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5571)+
                +     at com.sun.enterprise.web.WebModule.stop(WebModule.java:527)+
                +     at org.apache.catalina.core.StandardContext.start(StandardContext.java:5384)+
                +     at com.sun.enterprise.web.WebModule.start(WebModule.java:498)+
                +     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)+
                +     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)+
                +     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)+
                +     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)+
                +     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)+
                +     at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)+
                +     at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)+
                +     at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)+
                +     at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)+
                +     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)+
                +     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)+
                +     at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)+
                +     at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)+
                +     at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)+
                +     at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)+
                +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
                +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
                +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
                +     at java.lang.reflect.Method.invoke(Method.java:601)+
                +     at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)+
                +     at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)+
                +     at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)+
                +     at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)+
                +     at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)+
                +     at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)+
                +     at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)+
                +     at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)+
                +     at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)+
                +     at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)+
                +     at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)+
                +     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)+
                +     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)+
                +     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)+
                +     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)+
                +     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)+
                +     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)+
                +     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)+
                +     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)+
                +     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)+
                +     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)+
                +     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)+
                +     at com.sun.grizzly.ContextTask.run(ContextTask.java:71)+
                +     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)+
                +     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)+
                +     at java.lang.Thread.run(Thread.java:722)+
                +|#]+

                +[#|2012-07-21T16:30:31.298+0100|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=44;_ThreadName=Thread-2;|ContainerBase.addChild: start:+
                org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: oracle.dbtools.rt.util.FilePathSyntaxException: ILLEGAL_CHARACTER
                +     at org.apache.catalina.core.StandardContext.start(StandardContext.java:5389)+
                +     at com.sun.enterprise.web.WebModule.start(WebModule.java:498)+
                +     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)+
                +     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)+
                +     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)+
                +     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)+
                +     at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)+
                +     at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)+
                +     at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)+
                +     at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)+
                +     at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)+
                +     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)+
                +     at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)+
                +     at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)+
                +     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)+
                +     at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)+
                +     at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)+
                +     at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)+
                +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
                +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)+
                +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)+
                +     at java.lang.reflect.Method.invoke(Method.java:601)+
                +     at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)+
                +     at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)+
                +     at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)+
                +     at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)+
                +     at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)+
                +     at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)+
                +     at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)+
                +     at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)+
                +     at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)+
                +     at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)+
                +     at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)+
                +     at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)+
                +     at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)+
                +     at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)+
                +     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)+
                +     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)+
                +     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)+
                +     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)+
                +     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)+
                +     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)+
                +     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)+
                +     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)+
                +     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)+
                +     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)+
                +     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)+
                +     at com.sun.grizzly.ContextTask.run(ContextTask.java:71)+
                +     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)+
                +     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)+
                +     at java.lang.Thread.run(Thread.java:722)+
                Caused by: java.lang.IllegalArgumentException: oracle.dbtools.rt.util.FilePathSyntaxException: ILLEGAL_CHARACTER
                +     at oracle.dbtools.rt.util.Files.checkLegal(Files.java:133)+
                +     at oracle.dbtools.rt.util.Files.file(Files.java:98)+
                +     at oracle.dbtools.apex.config.ApexConfigFile.chooseExistingFile(ApexConfigFile.java:80)+
                +     at oracle.dbtools.apex.config.ApexConfigFile.choose(ApexConfigFile.java:57)+
                +     at oracle.dbtools.apex.config.ApexConfig.init(ApexConfig.java:149)+
                +     at oracle.dbtools.rt.web.SCListener.contextInitialized(SCListener.java:33)+
                +     at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)+
                +     at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)+
                +     at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)+
                +     ... 62 more+
                Caused by: oracle.dbtools.rt.util.FilePathSyntaxException: ILLEGAL_CHARACTER
                +     at oracle.dbtools.rt.util.FilePathSyntax.check(FilePathSyntax.java:45)+
                +     at oracle.dbtools.rt.util.Files.checkLegal(Files.java:131)+
                +     ... 70 more+
                +|#]+
                • 5. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
                  Colm Divilly-Oracle
                  The problem is occurring when the listener is trying to locate the apex-config.xml file, when checking either the user.home or the java.io.tmpdir Java System properties. It is not liking the values found in one or other of these properties.

                  These properties equate to the Windows +%USERPROFILE%+ and +%TEMP%+ environment variables, can you post the values of these environment variables

                  <pre>
                  G:\>echo %USERPROFILE%
                  G:\>echo %TEMP%
                  </pre>

                  I also need to see the actual values of user.home and java.io.tmpdir System properties. Probably the best way to do this would be to run the GF asadmin generate-jvm-report command documented here:

                  http://docs.oracle.com/cd/E18930_01/html/821-2433/generate-jvm-report-1.html

                  and post that output

                  Complete speculation on my part but the problem may relate to problems with the JRE calculating a value for user.home correctly:

                  http://bugs.sun.com/view_bug.do?bug_id=4787931

                  Thanks,
                  Colm

                  Edited by: Colm Divilly on Jul 25, 2012 2:05 PM meant user.home not user.dir
                  • 6. Re: Problem Deploying Apex listener 1.1.4 on Glassfish Server 3.1.2.2
                    SME_DBA
                    Hi Colm

                    Your speculation was correct. It was something to do with Java Temporary Internet Files location settings in Java control panel. Usually it is set to some value in User profile folder. But in my case "Keep temporary files on my computer" was unchecked so it was not able to cache JAR files locally. After enabling the caching of file, I re-deployed the apex war file and it worked this time.

                    Thanks

                    Farhan