This discussion is archived
6 Replies Latest reply: Aug 9, 2012 8:51 PM by Praveer.Rai RSS

PageCompileServlet Exception when opening dyn/admin

Praveer.Rai Journeyer
Currently Being Moderated
Hi All ,

When ever i try to open dyn/admin , getting below exception :

**** Error     Sun Aug 05 14:08:33 IST 2012     1344155913554     /atg/dynamo/servlet/pagecompile/PageCompileServlet     The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=87, The parameter is incorrect
**** Error     Sun Aug 05 14:08:33 IST 2012     1344155913554     /atg/dynamo/servlet/pagecompile/PageCompileServlet          at atg.servlet.pagecompile.jsp11.JSPPageProcessor.javaToClass(JSPPageProcessor.java:416)


Has anyone faced this issue before ?

Notes :

even dyn/admin/nucleus does not work.
Classpath displayed on console is too long.(also missing java reference - how to i resolve this.)
Java bin folder is added in path variable.
There in enough virtual memory.
This issue on ATG 10.1


TIA
Praveer
  • 1. Re: PageCompileServlet Exception when opening dyn/admin
    karthik chopperla Pro
    Currently Being Moderated
    Try clearing out everything in atg/atg10/home/PageBuild directory and let dyn/admin pages to be recompiled again ( Try taking a back up of folder before deleting everything in pagebuild if you are worried about the folder contents).

    -karthik
  • 2. Re: PageCompileServlet Exception when opening dyn/admin
    Nitin Khare Expert
    Currently Being Moderated
    Java bin folder is added in path variable.
    The "java" you are referring to - is it just JRE or JDK? You can verify if JDK's bin directory is in the path as "javac" would be executed to compile the jhtml pages used in dyn/admin. If "javac" is available in the path then it could be the issue related to long arguments passed to a program (javac) on windows.
    even dyn/admin/nucleus does not work.
    Interesting that the workaround to directly access component browser with http://host:port/dyn/admin/nucleus is also not working. I think it does not involve a jhtml page for the output so it should not fail due to this issue.
  • 3. Re: PageCompileServlet Exception when opening dyn/admin
    Praveer.Rai Journeyer
    Currently Being Moderated
    Hi Karthik ,

    Tried , doesnt work.


    Hi Nitin,

    javac is there in path , i feel the issue is in very long classpath being passed. - any suggestions how to resolve this.
    I have windows 7 64 bit OS.posting entire classpath in next post.


    ~ Praveer
  • 4. Re: PageCompileServlet Exception when opening dyn/admin
    Praveer.Rai Journeyer
    Currently Being Moderated
    **** Error     Mon Aug 06 10:16:19 IST 2012     1344228379738     /atg/dynamo/servlet/pagecompile/PageCompileServlet     Caused by :atg.servlet.pagecompile.AutoCompileException: Unable to execute the command 'javac -target 1.5 -classpath C:\Oracle\Middleware\jdk160_24\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\sunrsasign.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\charsets.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\modules\jdk.boot.jar;C:\Oracle\Middleware\jdk160_24\jre\classes;C:\Oracle\Middleware\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\patch_oepe1050\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\Middleware\jdk160_24\lib\tools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\schema\weblogic-domain-binding.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\schema\weblogic-domain-binding-compatibility.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\schema\diagnostics-binding.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\schema\diagnostics-image-binding.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlcipher.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\xmlx.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\aqapi.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\EccpressoAsn1.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\EccpressoCore.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\EccpressoJcae.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\mysql-connector-java-commercial-5.1.14-bin.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlsqlserver.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wldb2.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlsybase.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlinformix.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\fmwgenerictoken.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlw-langx.jar;C:\Oracle\Middleware\modules\javax.jsp_1.2.0.0_2-1.jar;C:\Oracle\Middleware\modules\glassfish.el_1.0.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.jdt_3.5.2.0.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.compiler_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.web.api_1.4.0.0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\wlw-langx-L10N.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\jcom.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-L10N.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-de.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-es.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-fr.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-it.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-ja.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-ko.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-pt_BR.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic-zh_TW.jar;C:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\Middleware\modules\features\weblogic.server.modules.wlsve_10.3.5.0.jar;C:\Oracle\Middleware\modules\com.oracle.vmm.client_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.vmm.client.adapter.ovm22.ws_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor.j2ee_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor.j2ee.binding_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor.wl_1.3.3.0.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor.wl.binding_1.3.3.0.jar;C:\Oracle\Middleware\modules\com.bea.core.datasource6_1.9.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.datasource6.binding_1.9.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.beangen_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor.settable.binding_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.accessor_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.accessor.binding_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.management.core_2.8.0.1.jar;C:\Oracle\Middleware\modules\com.bea.core.management.core.binding_2.8.0.1.jar;C:\Oracle\Middleware\modules\com.bea.core.ejbgen_1.1.0.2.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.apache.bcel_5.2.1.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.collections_3.2.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.lang_2.1.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.pool_1.3.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.io_1.0.0.0_1-4.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.fileupload_1.0.0.0_1-2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.dom_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.logging_1.0.0.0.jar;C:\Oracle\Middleware\modules\org.apache.openjpa_1.2.0.0_1-1-1-SNAPSHOT.jar;C:\Oracle\Middleware\modules\com.bea.core.xml.xmlbeans_2.1.0.0_2-5-1.jar;C:\Oracle\Middleware\modules\com.bea.core.logging_1.8.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.bea.opensaml_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.bea.opensaml2_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.monitoring.harvester.api_2.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.monitoring.harvester.jmx_2.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.adaptive.harvester.utils_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.mbean.typing.util_1.4.0.0.jar;C:\Oracle\Middleware\modules\javolution_3.7.19.0.jar;C:\Oracle\Middleware\modules\joda.time_1.2.1.0.jar;C:\Oracle\Middleware\modules\com.bea.core.xml.staxb.buildtime_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.xml.staxb.runtime_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.annogen_1.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.kodo_1.4.0.0_4-2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.kodo.integration_1.6.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.kodo.integration.binding_1.6.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.kodo.integration.tools_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.xml.beaxmlbeans_2.3.0.0_2-5-1.jar;C:\Oracle\Middleware\modules\com.bea.core.utils_1.9.0.1.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.aspectj.aspectjweaver_5.3.0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.apache.commons.logging_1.2.0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.springframework.spring_1.1.0.0_2-5-3.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.springframework.pitchfork_1.3.0.0_2-0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.spring.instrument_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.i18n_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.xacml_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.saml2.utils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.engine.impl_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.engine.api_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.api_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.impl_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.jdkutils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.utils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.saml2_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.saml2.manage_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.providers.utils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.saml.utils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.xacmlproviders.utils_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.common.security.providers.env_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.certj_3.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.ldapjdk_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.saaj_1.6.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.stax_1.9.0.0.jar;C:\Oracle\Middleware\modules\glassfish.jaxb_1.0.0.0_2-1-12.jar;C:\Oracle\Middleware\modules\glassfish.jaxb.xjc_1.0.0.0_2-1-12.jar;C:\Oracle\Middleware\modules\glassfish.jaxws.resolver_1.0.0.0_2-1-5.jar;C:\Oracle\Middleware\modules\glassfish.jaxws.fastinfoset_1.0.0.0_2-1-5.jar;C:\Oracle\Middleware\modules\glassfish.jaxws.rt_1.2.0.0_2-1-5.jar;C:\Oracle\Middleware\modules\glassfish.jaxws.mimepull_1.0.0.0_1-3.jar;C:\Oracle\Middleware\modules\com.bea.core.stax2_1.0.0.0_3-0-1.jar;C:\Oracle\Middleware\modules\com.bea.core.woodstox_1.0.0.0_4-0-5.jar;C:\Oracle\Middleware\modules\glassfish.jaxws.tools_1.1.0.0_2-1-5.jar;C:\Oracle\Middleware\modules\glassfish.stax.ex_1.0.0.0_1-2.jar;C:\Oracle\Middleware\modules\glassfish.xmlstreambuffer_1.0.0.0_0-5-257.jar;C:\Oracle\Middleware\modules\com.bea.core.apache.oro_1.0.0.0_2-0-8.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.annotation_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.jdo_2.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.bind_2.1.1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\monfox.dsnmp.agent_1.1.0.0_4-7-30.jar;C:\Oracle\Middleware\modules\cryptoj.jar;C:\Oracle\Middleware\modules\com.bea.core.serp_1.14.3.0.jar;C:\Oracle\Middleware\modules\com.bea.core.apache_1.2.0.1.jar;C:\Oracle\Middleware\modules\com.bea.core.beaninfo_2.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.descriptor_1.9.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.asm_1.0.0.0_3-2-0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.asm.commons_1.0.0.0_3-2-0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.asm.tree_1.0.0.0_3-2-0.jar;C:\Oracle\Middleware\modules\com.bea.core.repackaged.asm.util_1.0.0.0_3-2-0.jar;C:\Oracle\Middleware\modules\com.oracle.jfr_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.core_2.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.logging_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.query_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.instrumentor_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.instrumentor.config_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.flightrecorder_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.notifications_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.diagnostics.snmp_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.i18n_1.8.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.i18n.generator_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.i18n.tools_1.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.management.jmx_1.4.1.0.jar;C:\Oracle\Middleware\modules\com.bea.core.mbean.maker_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.mbean.support_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.messaging.kernel_1.8.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.resourcepool_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.socket.api_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.rmi.client_1.10.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.wls_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.lifecycle_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.store_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.store.gxa_1.6.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.store.admintool_1.2.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.store.jdbc_1.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.transaction_2.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.full_1.9.0.1.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.agent_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.classloaders_1.9.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.expressions_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.utils.wrapper_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.timers_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.workmanager_1.10.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.workarea_1.7.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.xml.weblogic.xpath_1.4.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.jatmi_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security_1.0.0.0_6-1-0-0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.auth_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.digest_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.identity_1.1.2.1.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.logger_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.psm_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.weblogic.security.ssl_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.nodemanager.plugin_1.3.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.core.nodemanager.process_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.jmspool_1.8.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.compat.wl.90_1.3.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.http.pubsub.mbean_1.6.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.redef_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.redefagent_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.bea.core.redef.binding_1.5.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\commonj.sdo_1.0.0.0_1-0.jar;C:\Oracle\Middleware\modules\com.oracle.core.coherence.descriptor_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.core.coherence.descriptor.binding_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.core.weblogic.msgcat_1.1.0.0.jar;C:\Oracle\Middleware\modules\ws.api_1.1.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.core.eclipselink.integration_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.weblogic.sca.client_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.weblogic.rac.ucp_1.0.0.0.jar;C:\Oracle\Middleware\modules\com.oracle.repackaged.ucp_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\com.oracle.repackaged.ons.client_1.0.0.0_11-1-0-6-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-all.jar;C:\Oracle\Middleware\modules\org.apache.ant.patch_1.2.0.0_1-7-1.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-antlr.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-bcel.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-bsf.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-log4j.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-oro.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-regexp.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-resolver.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-logging.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-net.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-javamail.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jmf.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jsch.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-junit.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-launcher.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-netrexx.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-swing.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-testutil.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-trax.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-weblogic.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\xml-apis.jar;C:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2\lib\ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\xqrl.jar;D:\ojdbc14.jar;C:\protocol.jar;C:\Oracle\Middleware\user_projects\domains\shop101\lib\protocol.jar;C:\Oracle\Middleware\user_projects\domains\shop101\servers\Shop101Server\cache\EJBCompilerCache\1l1pxnkydte4z;C:\Oracle\Middleware\user_projects\domains\shop101\deploy\CeCBS.ear\atg_bootstrap_ejb.jar;C:\Oracle\Middleware\user_projects\domains\shop101\deploy\CeCBS.ear\.\atglib\p13271501_1003_v1_lib.jar;C:\Oracle\Middleware\user_projects\domains\shop101\deploy\CeCBS.ear\.\atglib\_atghome_slocallib\;C:\Oracle\Middl............................................................
    ...............................................................
    .....<too long to be posted in forum , hence cropped>.............................................
    ..........................................................
    .........................................................
    C:\Oracle\Middleware\jdk160_24\lib\tools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;C:\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;C:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\xqrl.jar;D:\ojdbc14.jar;C:\protocol.jar;;C:\ATG\ATG10.1\home\pagebuild;C:\Oracle\Middleware\jdk160_24\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\sunrsasign.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\charsets.jar;C:\Oracle\Middleware\jdk160_24\jre\lib\modules\jdk.boot.jar;C:\Oracle\Middleware\jdk160_24\jre\classes -d C:\ATG\ATG10.1\home\pagebuild C:\ATG\ATG10.1\home\pagebuild\_dasadmin_3\_atg\_dynamo\_admin\_en\_change_spassword.java -J-Xmx256m'

    Make sure that you have the 'bin' directory for your JDK in your PATH variable before starting Dynamo and that you have enough swap space.
    **** Error     Mon Aug 06 10:16:19 IST 2012     1344228379738     /atg/dynamo/servlet/pagecompile/PageCompileServlet     
    **** Error     Mon Aug 06 10:16:19 IST 2012     1344228379738     /atg/dynamo/servlet/pagecompile/PageCompileServlet     The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=87, The parameter is incorrect
  • 5. Re: PageCompileServlet Exception when opening dyn/admin
    Nitin Khare Expert
    Currently Being Moderated
    Yes I think the issue could be related to the long classpath as Windows has certain limit on the number of characters that a command can have.

    There is a Nucleus component /atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor which has a compileCommand string property whose value is specified as javac -classpath {1} -d {2} {0}. Actually this same command string is used to compile the jhtml pages. Here {0} is placeholder for the source file input, {1} is for classpath and {2} is for the destination directory which defaults to <ATG>\home\pagebuild. You could have tried to override this command string property by placing minimal classpath entries but I guess ATG internally checks for presence of all 3 place holders and it probably puts up system classpath along with web-app classpath for that classpath placeholder {1}. So overriding it may not work.

    With JDK6 onwards, it supports wildcard (*) in classpath so on Windows you can have it like

    set CLASSPATH=C:\path\to\lib\*;%CLASSPATH%

    This way you can certainly reduce length of your classpath. See if you can this in those server startup scripts which are setting up and populating your classpath.

    Another approach could be to create a kind of "pathing jar". This is a jar containing only a manifest file, whose Class-Path specifies the entries or paths of your long list of jars, etc. Now you just need to add this pathing jar to your command line classpath and everything will else will also come into effect.
  • 6. Re: PageCompileServlet Exception when opening dyn/admin
    Praveer.Rai Journeyer
    Currently Being Moderated
    Thanks Nitin , will try this.

    Also now the work around dyn/admin/nucleus is working now.

    Strange...But after i changed the default admin password for ACC ( which is mandate for ATG 10.1 ) , then i logged into dyn/admin/nucleus it worked !

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points