Sun application server 8 -- Can not regist.

I have install the server, run it. All seems ok, untill I want to deploy a web application. The error msg in admin console is put below.
" A 'com.sun.enterprise.tools.guiframework.exception.FrameworkError' was caught. The message from the exception: "Unable to get View for ViewDescriptor 'webApplications'"
The root cause is 'com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered'
See the HTML source for more detailed (stack trace) information."
But I have registed the product. What is wrong in the processing?
How you guys regist the this product?
Thx
Joey

When I got this error I had undeployed a servlet with Admin Console (web based admin tool). Apparently it never deployed successfully and was giving me this error every time I wanted to view a list of web components. This is the stack trace that I was getting:
com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'error' event for 'webApplications'.
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:777)
     at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:426)
     at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:283)
     at com.sun.enterprise.tools.guiframework.view.BaseServlet.onUncaughtException(BaseServlet.java:202)
     at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
     at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
     at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
     at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
     at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:184)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
     at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
     ... 37 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkError: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'webAppsTable'.
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.beforeCreate(DescriptorViewHelper.java:344)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.createChild(DescriptorViewHelper.java:242)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.createChild(DescriptorViewBeanBase.java:125)
     at com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
     at com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
     at com.sun.enterprise.tools.guiframework.view.descriptors.ViewDescriptor.registerChildren(ViewDescriptor.java:192)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.registerViewDescriptorChildren(DescriptorViewHelper.java:68)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.registerViewDescriptorChildren(DescriptorViewBeanBase.java:117)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.<init>(DescriptorViewBeanBase.java:60)
     at com.sun.enterprise.tools.guiframework.view.descriptors.ViewBeanBaseDescriptor.getInstance(ViewBeanBaseDescriptor.java:37)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:199)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:159)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getViewBean(DescriptorViewManager.java:59)
     at com.sun.enterprise.tools.guiframework.event.handlers.NextPageHandler.forwardTo(NextPageHandler.java:38)
     ... 48 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'webAppsTable'.
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:777)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.beforeCreate(DescriptorViewHelper.java:337)
     ... 61 more
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
     at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
     ... 62 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: com.sun.enterprise.tools.guiframework.exception.FrameworkException: javax.management.MBeanException: Operation 'getStatus' failed in 'applications' Config Mbean.
Target exception message: Component not registered
     at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:57)
     at com.sun.enterprise.tools.admingui.handlers.DeploymentHandler.getAppStatus(DeploymentHandler.java:861)
     at com.sun.enterprise.tools.admingui.handlers.DeploymentHandler.getAppStatusSummary(DeploymentHandler.java:1597)
     at com.sun.enterprise.tools.admingui.handlers.DeploymentHandler.loadDeploymentTableModel(DeploymentHandler.java:944)
     ... 68 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: javax.management.MBeanException: Operation 'getStatus' failed in 'applications' Config Mbean.
Target exception message: Component not registered
     at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:155)
     at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
     ... 71 more
Caused by: javax.management.MBeanException: Operation 'getStatus' failed in 'applications' Config Mbean.
Target exception message: Component not registered
     at com.sun.enterprise.admin.MBeanHelper.extractAndWrapTargetException(MBeanHelper.java:368)
     at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:379)
     at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
     at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
     at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
     at $Proxy1.invoke(Unknown Source)
     at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
     at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
     ... 72 more
Caused by: com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered
     at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getStatus(ApplicationsConfigMBean.java:1986)
     at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
     at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
     ... 83 moreTo fix this error, I ran asadmin. Then ran undeploy <servlet name>. After it said it undeployed successfully, it was fine. I am guessing the server was hung on a corrupt xml or servlet file. Thats all I have to contribute.

Similar Messages

  • Help: can not regist application in HP-UX 11.0

    My application work fine in iAS SP3 for Win2000, but when I deployed it to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang
    the error message is:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out file from
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file testd

    Hi,
    What is the version of app server on HP UX ? How did you deploy on the app
    server in HP UX using command line deployment or GUI tool ? Where are these
    errors shooting from, are these coming at the time of deployment or thrown at
    runtime ? What is the application type that you are trying to deploy ?, if
    possible send me the kxs and kjs log files please.
    Regards
    Raj
    lu yanqiang wrote:
    My application work fine in iAS SP3 for Win2000, but when I deployed it to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang
    the error message is:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out file from
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file testd

  • Re: help: can not regist application in HP-UX 11.0

    Hi,
    this the test.xml and ias-test.xml:
    test.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
    2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'>
    <web-app>
    <distributable></distributable>
    <servlet>
    <servlet-name>testjsp</servlet-name>
    <jsp-file>testjsp.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>testjsp</servlet-name>
    <url-pattern>/testjsp</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1800</session-timeout>
    </session-config>
    <login-config>
    <realm-name></realm-name>
    <form-login-config>
    <form-login-page></form-login-page>
    <form-error-page></form-error-page>
    </form-login-config>
    </login-config>
    </web-app>
    ias-test.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ias-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD iAS Web
    Application 1.0//EN'
    'http://developer.iplanet.com/appserver/dtds/IASWebApp_1_0.dtd'>
    <ias-web-app>
    <servlet>
    <servlet-name>testjsp</servlet-name>
    <guid>{722828a9-b9f6-4c55-8ec3-a315ebc2d551}</guid>
    <validation-required>false</validation-required>
    <servlet-info>
    <sticky>false</sticky>
    <encrypt>false</encrypt>
    <number-of-singles>10</number-of-singles>
    <disable-reload>false</disable-reload>
    </servlet-info>
    </servlet>
    </ias-web-app>
    thanks
    Lu yanqiang
    "Raj" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem I anticipate is Windows 2000 has app server SP3 and youare
    trying to deploy the same app logic to HP Unix which is having app serverSP1.
    So this could be problem, that's precisely the reason why I would like tolook
    into the coding.
    Regards
    Raj
    lu yanqiang wrote:
    Hi, thanks for you help:
    I'm sure that my application and the xml file is right,because I runit
    in
    Windows OK, but when I wang to register it in HP-UX 11.0, I use the
    command "webappreg test.xml" to regist my application, this commandresponse
    me these error messages:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructercalled
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIODSYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value:javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implementsGX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModuleloaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
    uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
    uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out filefrom
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file
    testdb.xml
    <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    At what stage did this error shoot up ? Is it possible for you to
    send
    the
    application for me to check ?
    Regards
    Raj
    lu yanqiang wrote:
    Hi,
    I use the iAS 6.0SP1 in HP-UX and I use command to regist
    application,
    this error message is response by "webappreg", i use webappreg to
    regist
    my
    application,and i registed it success in windows.
    thanks
    Lu yanqiang
    "Raj" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    What is the version of app server on HP UX ? How did you
    deploy on
    the
    app
    server in HP UX using command line deployment or GUI tool ? Where
    are
    these
    errors shooting from, are these coming at the time of deployment
    or
    thrown
    at
    runtime ? What is the application type that you are trying to
    deploy
    ?, if
    possible send me the kxs and kjs log files please.
    Regards
    Raj
    lu yanqiang wrote:
    My application work fine in iAS SP3 for Win2000, but when I
    deployed
    it
    to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang

    Hi,
    this the test.xml and ias-test.xml:
    test.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
    2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'>
    <web-app>
    <distributable></distributable>
    <servlet>
    <servlet-name>testjsp</servlet-name>
    <jsp-file>testjsp.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>testjsp</servlet-name>
    <url-pattern>/testjsp</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1800</session-timeout>
    </session-config>
    <login-config>
    <realm-name></realm-name>
    <form-login-config>
    <form-login-page></form-login-page>
    <form-error-page></form-error-page>
    </form-login-config>
    </login-config>
    </web-app>
    ias-test.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ias-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD iAS Web
    Application 1.0//EN'
    'http://developer.iplanet.com/appserver/dtds/IASWebApp_1_0.dtd'>
    <ias-web-app>
    <servlet>
    <servlet-name>testjsp</servlet-name>
    <guid>{722828a9-b9f6-4c55-8ec3-a315ebc2d551}</guid>
    <validation-required>false</validation-required>
    <servlet-info>
    <sticky>false</sticky>
    <encrypt>false</encrypt>
    <number-of-singles>10</number-of-singles>
    <disable-reload>false</disable-reload>
    </servlet-info>
    </servlet>
    </ias-web-app>
    thanks
    Lu yanqiang
    "Raj" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem I anticipate is Windows 2000 has app server SP3 and youare
    trying to deploy the same app logic to HP Unix which is having app serverSP1.
    So this could be problem, that's precisely the reason why I would like tolook
    into the coding.
    Regards
    Raj
    lu yanqiang wrote:
    Hi, thanks for you help:
    I'm sure that my application and the xml file is right,because I runit
    in
    Windows OK, but when I wang to register it in HP-UX 11.0, I use the
    command "webappreg test.xml" to regist my application, this commandresponse
    me these error messages:
    HotSpot VM warning: Setting of property "java.compiler" is ignored
    creating engine class space...
    loading jx2util...
    loading jx2util...done
    Connected to LDAP server on websvr.sh-catcher.com port 389
    com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
    constructer called
    com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
    com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
    ECS initializing engine class loader instance.
    com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructercalled
    initGDSKey: GDSKey_Base
    initGDSKey- just put : com.kivasoft.IGDSKey_Base
    key=com.kivasoft.gds.GDSKey@41cd1f
    initGDSKey: GDSKey_Root
    initGDSKey- just put : com.kivasoft.IGDSKey_Root
    key=com.kivasoft.gds.GDSKey@31f71a
    initGDSKey: GDSKey_Current
    initGDSKey- just put : com.kivasoft.IGDSKey_Current
    key=com.kivasoft.gds.GDSKey@5601ea
    initGDSKey: GDSKey_CurrentEngine
    initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
    key=com.kivasoft.gds.GDSKey@17d257
    context= com.kivasoft.context.Context@6ee36c
    resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
    resolve value: /opt/iplanet/ias6/ias/APPS
    resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
    java.;com.kivasoft.;gx.
    resolve value:
    java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
    l.
    resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
    com.kivasoft.engine.IVersionable
    property not in GDS
    resolve value: com.kivasoft.engine.IVersionable
    resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
    property not in GDS
    resolve value: 0
    resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIODSYSTEM_JAVA 10
    property not in GDS
    resolve value: 10
    resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
    SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    property not in GDS
    resolve value:javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
    resolve property: GX.versionable.if.implementsGX_VERSIONABLE_IF_IMPLEMENTS
    SYSTEM_JAVA javax.servlet.Servlet
    property not in GDS
    resolve value: javax.servlet.Servlet
    class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
    loading component...{7ee76a00-a999-11d1-a16f-006097594151}
    getting threadLocal obj
    loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.thread.ModuleThread
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.thread.ModuleThread loaded by primordial CL
    registered module... com.kivasoft.IModuleThread
    loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.bind.BinderJ
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
    loaded by primordial CL
    loading component...{ed049d80-b936-1548-e481-080020721767}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.eb.EJBBinder
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
    loaded by primordial CL
    EJBBinder: binder is GOOD..
    EJBBinder: context set obj for IID_IGXEBBinder
    loading component...{a84f0507-a912-11cf-aa6c-524153480000}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.gds.GDSModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
    loaded by primordial CL
    registered module... com.kivasoft.IGDSModule
    loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
    loaded by primordial CL
    loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.principal.PrincipalModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class
    com.kivasoft.principal.PrincipalModule loaded by primordial CL
    registered module... com.kivasoft.IPrincipalModule
    loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.bind.BinderBase
    com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
    PCL cache
    loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
    getting threadLocal obj
    com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
    appears to be a core class
    com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
    com.kivasoft.eb.EBModule
    com.kivasoft.engine.EngineClassLoader: Entering
    loadClass_primordial(className)
    com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModuleloaded
    by primordial CL
    registered module... com.kivasoft.IEBModule
    The current input file= testdb.xml
    About to start xml -> descriptor conversion process
    xmlToDescriptor- file name=testdb.xml
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
    uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    servlet name = testdb
    !!! parseWebAppFromDOM() just put in setServlet name = testdb
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
    uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
    file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
    1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
    uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
    to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
    uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
    Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
    file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
    !!! handleIASServlet(): Get servlet name= testdb
    AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
    All EnvEntries name:
    All Ejb-refs:
    All Resource-refs:
    WebApp package name = testdb
    Enter setupPluginInfoInGDS()
    creating ServletPatternTrans entry, url= /testdb
    webapp ContextRoot= null
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Enter getAllServlets,registeredServletNames.size= 0
    [01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
    --- now put Web-app component descrptor into GDS
    webAppName = testdb
    Enter getAllServlets,registeredServletNames.size= 0
    Enter getAllServlets,registeredServletNames.size= 0
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getClassImpGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    Now do some verification step and regenrate the web-app.xml.out filefrom
    GDS data
    getWebAppGDSKeyByPackageName: name to match= testdb
    got key to webapp= testdb
    enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
    About to process the <servlet-mapping> element
    GDSvalue name= /System/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /System/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /System/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /System/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /System/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /System/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /System/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /fortune/fortune
    GDSvalue val= FortuneServlet
    GDSvalue name= /web/StaticServlet
    GDSvalue val= StaticServlet
    GDSvalue name= /web/JSPRunnerSticky
    GDSvalue val= JSPRunnerSticky
    GDSvalue name= /web/JSPRunner
    GDSvalue val= JSPRunner
    GDSvalue name= /web/FormAuthServlet
    GDSvalue val= FormAuthServlet
    GDSvalue name= /web/BasicAuthServlet
    GDSvalue val= BasicAuthServlet
    GDSvalue name= /web/CertAuthServlet
    GDSvalue val= CertAuthServlet
    GDSvalue name= /web/SessionInvalidator
    GDSvalue val= SessionInvalidator
    GDSvalue name= /web/AdderAlias
    GDSvalue val= AdderServlet
    GDSvalue name= /testdb/testdb
    GDSvalue val= testdb
    getServletMappingFromGDS: url= /testdb, servlet= testdb
    About to process the context-param
    [01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
    About to process the mime-mapping
    About to process the servlets
    GDSvalue name= testdb
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    GDSvalue name= testdb.jsp
    GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    The returned hashtable for servlets have: 2 entries
    About to process the servlet name= testdb.jsp
    About to process the servlet name= testdb
    About to process the tld
    The returned vector for taglib have: 0 entries
    Finished getting a wd from gd s!!!
    Now ready to write out WebApp xml file
    descriptorToXml: about to get all servlets
    Enter getAllServlets,registeredServletNames.size= 2
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    Enter getServletFromGDS
    getClassDefGDSKeyByGuid: name to match=
    {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
    BaseKey= com.kivasoft.gds.GDSKey@41cd1f
    getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
    load-on-startup value from GDS= 0
    number-of-singles value from GDS= 10
    DescriptorManager.getServletByGuidStr, ctx=
    com.kivasoft.context.Context@6ee36c
    write Xml to output file: web.xml.out
    Finished writing out j2ee xml file
    Enter getAllServlets,registeredServletNames.size= 2
    write Xml to output file: ias-web.xml.out
    Finished writing out IAS xml file
    Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
    Processing input WAR 1
    Processing input WARi 21 testdb.xml
    Encountered exception java.util.zip.ZipException processing input file
    testdb.xml
    <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    At what stage did this error shoot up ? Is it possible for you to
    send
    the
    application for me to check ?
    Regards
    Raj
    lu yanqiang wrote:
    Hi,
    I use the iAS 6.0SP1 in HP-UX and I use command to regist
    application,
    this error message is response by "webappreg", i use webappreg to
    regist
    my
    application,and i registed it success in windows.
    thanks
    Lu yanqiang
    "Raj" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    What is the version of app server on HP UX ? How did you
    deploy on
    the
    app
    server in HP UX using command line deployment or GUI tool ? Where
    are
    these
    errors shooting from, are these coming at the time of deployment
    or
    thrown
    at
    runtime ? What is the application type that you are trying to
    deploy
    ?, if
    possible send me the kxs and kjs log files please.
    Regards
    Raj
    lu yanqiang wrote:
    My application work fine in iAS SP3 for Win2000, but when I
    deployed
    it
    to
    HP-UX 11.0, It can not regist the application in HP-UX.
    can any onr help me, thanks
    Lu yanqiang

  • How iReport can work in Sun Application Server??

    I am success to use the iReport to show out the pdf file in Tomcat which i am using jsp code, but, when I run them in sun application server, it throws out the following exception.
    //=====================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error compiling report design.
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:165)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    net.sf.jasperreports.engine.JRException: Error compiling report design.
         net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:231)
         net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:86)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:106)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    //==========================
    Would someone can tell me why??This is urgent for me!!

    Here is the log file information I get from the sun application server, when i run my iReport file.
    //==================
    DetailsTimestamp: 2006-5-28 22:50:02.768
    Log Level: INFO
    Logger: javax.enterprise.system.stream.out
    Name-Value Pairs: _ThreadID=11;
    Record Number: 2808
    Message ID: exception 3
    Complete Message
    java.lang.NullPointerException
    Diagnostic Causes
    Diagnostic Checks
    //==================
    Do you mean this server.log file message? and can you know why problem with me??

  • Can't  fix error 404 in sun application server 8 2005Q1 and need help......

    i am using sun application server 8 2005Q1.........
    i an getting the err 404(requested resources not available......)
    I have did the following:
    the following are my files
    employeedetails.java(which implements the servlet class)
    findemployee.html(which gets the employee id)
    1.First I have designed the interface with URL as
    http://localhost:1050(which is my port no)/emp_details/servlet/EmployeeDetails
    2.Then I have coded the servlet with class name as EmployeeDetails
    3.I have compiled it in the following manner:
    e:\>path=%path%;c:\j2sdk1.4.2_12\bin;
    e:\>set classpath=%classpath%;e:\sun\Appserver\lib\j2ee.jar;
    e:\>javac e:\Employee\EmployeeDetails.java
    It compiled successfully without any errors
    4.Then I have started the sun application server
    5.I have also opened the deploy tool
    6.In that,
    New->Application
    the application wizard opens.......
    then I browsed and given the new application name as e:\Employee\EmployeeDetails.jar
    The application display name appears as EmployeeDetails
    7.It also appears at the left end of the tree structure
    8.Then I opened the New->Web Component
    the web component wizard appears
    9.I have clicked next
    10.In that panel I have chosen the option
    Create new WAR Module in application
    I have given the WAR display name as Emp
    11.Then in the bottom I have clicked the option 'edit contents'
    12.The edit contents pane opens.......
    13.In that I have selected EmployeeDetails.class and FindEmployee.html and clicked 'Add'
    14.It gets added in the content pane
    15.Then I have chosen the component type as Servlet
    16.In the next wizard ,the servlet class name,web component name and display name,everything
    is given as EmployeeDetails
    17.With this I have finished the web component wizard
    18.Then the context root name is given as emp_details and saved
    19.Then I have chosen the Tools->deploy
    20.In that wizard,
    I have typed the admin user name and pswd
    21.It gets deployed successfully.
    22.Then I have opened th browser and typed the following URL
    http://localhost:1050/emp_details/FindEmployee.html
    23.The html form appears.....
    24.I have kept oracle as my backend with datasource name Mine
    and in the servlet I have changed the datasource name with user name and pswd scott & tiger
    25.But when i click the submit button,it gives the error
    http status 404 -/emp_details/servlet/EmployeeDetails
    the requested resource not available
    anybody who knows the anwser plz reply me soon and help me to get rid of this error..........................

    Your code looks fine. Unless you actually made a typo in the URL I can't explain this problem. To verify this I even copied your web.xml and the SimpleServlet without any changes to my playground environment and it ran just flawlessly at http://localhost:8080/playground/servlets/HelloWorld
    To exclude things, have you tried another applicationserver (Tomcat 6? Glassfish? Jetty?) or maybe another OS?

  • Application Deployer Tool not in Sun Application Server PE 9

    Hi,
    I am new to Sun Application Server PE9. I remember using Sun "Application Deployment Tool" user interface to package EAR files some time back Sun Application Server 8. Does any one have any idea whether this deployment tool with GUI interface is available with Sun Application Server 9 or Do I need to download it separately.
    Thanks in advance.
    rsreddych.

    - deploytool was made available with Sun Java System Application server until version 8.2.
    You can download SJSAS 8.2 from: http://java.sun.com/j2ee/1.4/download.html
    From the above page, you can download either the standalone application server or (NetBeans 5.0 + SJSAS 8.2) bundle.
    - deploytool was removed from SJSAS 9.0 onward. From version 9.0, NetBeans is the IDE offered for deploying apps on to SJSAS 9.0 (glassfish) and deploytool is not offered anymore. Please download NetBeans 5.5, which is the tool now offered by Sun for deploying to 9.0.
    - It is not expected that deploytool shipped with 8.2 will work with 9.0. It most likely will not, even for j2ee 1.4 apps.

  • How can I call a Stateless-EJB3  from MBeans in Sun Application Server 9.1?

    Hi,
    I have some jobs running as Timer-Service-EJB in Sun Application Server 9.1. The Timer will be startet by a Lifecycle-Modul and it works fine.
    I have also some MBeans running in the same App-Server which should start or stop the Timer-Services by invoking dedicated methods
    in the Timer-Service-EJB.
    InitialContext ctx = new InitialContext();
    MyJob job = (MyJob) ctx.lookup("ejb/MyJob");
    job.startTimer();But I get the following error;
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
    ..... Why is it impossible to get an reference of the SerialInitContextFactory? The appserv-rt.jar is in the classpath of the Appserver ( installdir/lib ).
    Following the Sun Application Server 9.1 Developer Guide, I tried to copy the dependent classes (including appserv-rt.jar ) into domain-dir/lib.
    But I got the same error.
    Any ideas?
    Thanks,
    Stefan

    Hi Santanu,
    You need to write SoapHandler in order to pass username and pwd. You will need 2 classes namely HeaderHandlerResolver & SoapHandler. This is how i do in in my JAX-WS clients. I generate stubs and then attach handler to webserviceinterface
    PFA HeaderHandlerResolver.java and SoapHandler.java you would attach soap handler something like this in your code i have never done this via ADF so not sure.
    HeaderHandlerResolver soapHandlerResolver = new HeaderHandlerResolver();
    docInfo.setHandlerResolver(soapHandlerResolver);
    In SoapHandler class you will mention username and pwd like this
    soapMessageContext.put(BindingProvider.USERNAME_PROPERTY,"username");
    soapMessageContext.put(BindingProvider.PASSWORD_PROPERTY,"pwd");
    Regards,
    Amol Gavali

  • Not able to Parse XML data in Sun Application Server 8.2

    Iam not able to parse the xml data in sun application server,this is working fine in tomcat and oracle server.
    Please go thru the code , thanks in advance.This is used in ajax.
    function processStateChange() {
    if (req.readyState == 4) { // Complete
    if (req.status == 200) { // OK response
         var message=req.responseXML.getElementsByTagName("value")[0];
              setMessage(message.childNodes[0].nodeValue);
    //document.getElementById("theResponse").innerHTML = req.responseText;
              else
    alert("Problem: " + req.statusText);
              return true;
         }

    Use Notepad. Drag and drop in notepad.
    Aman

  • Can't print under Tomcat but no problem under sun application server 8!

    Hi,
    I am rather puzzle by the fact that a programme written by me using all the print api and printable implementation when being called by the JSF page is capable of being successfullly print out when being deployed under sun application server 8 but got hang or met with no response when the same war file generated by the JSC 2 is being deployed onto Tomcat 5.17 .
    Was it due to some missing jar file or api , I really have no idea at all
    Any suggestion please ?
    Thank

    Hi,
    I got rather stupid question to ask regarding the font size.
    if I got a font size of 10, I know it is only refering to the height in pixel , my problem start when I need to know , how many characters can I print across in a A4 size paper. The pixel point is 1/72 of an inch, it is vertical .
    Is there any formula that I can use to determine how many characters per inch that particular font is supposed to print?
    Suggestion that I received is to use trial and error method.
    Thank

  • Install both Sun Application server and Jboss application server- Can I?

    Dear all,
    I am programmer and want to test for something.
    Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?
    Is there any special attention I need to take?

    I am programmer and want to test for something.Allowed.
    Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?Why do you think it may not be possible ?
    Is there any special attention I need to take?just the way the URL is populated.

  • Can not register a new machine with Updatemanager

    Hi,
    I just install a new machine with Solaris 10 using a Flash image and Live Upgrade. The original machine from we create the Flash image was registered succesfull using Update Manager.
    Now, when I try to register the new machine, the applications ask me the user and password, but do not makes anything. The dialog freeze. The only way to stop the Update Manager is killing them (at the end is the full java error stack).
    I try with sconadm,
    sconadm register -a -r /var/tmp/registration.profile
    Unsuccessfull too, with the same stack error (Caused by: javax.management.InstanceNotFoundException: ).
    I'm bored with the Solaris patch system: all the weekend was saying error 500 for all my other registered machines, and now I can not register a new machine....
    This system fails all the time.. Is runing under W2K3 server???
    Any Idea?
    Thanks in advance.
    H.
    P.S: Error stack output:
    Exception occurred during event dispatching:
    java.lang.reflect.UndeclaredThrowableException
            at $Proxy1.getInstanceName(Unknown Source)
            at com.sun.scn.client.SCNClientSession.login(SCNClientSession.java:371)
            at com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter.loginAccount(ClientLoginCacaoAdapter.java:209)
            at com.sun.cns.basicreg.wizard.cli.CmdLineWizard.outCall(CmdLineWizard.java:1109)
            at com.sun.cns.basicreg.wizard.cli.CmdLineWizard.output(CmdLineWizard.java:773)
            at com.sun.cns.basicreg.wizard.swing.WizardPanel.isNavigationAllowed(WizardPanel.java:1337)
            at com.sun.cns.basicreg.wizard.swing.WizardDialog.okByNavigationListener(WizardDialog.java:583)
            at com.sun.cns.basicreg.wizard.swing.WizardDialog.access$100(WizardDialog.java:64)
            at com.sun.cns.basicreg.wizard.swing.WizardDialog$NextButtonActionListener.actionPerformed(WizardDialog.java:404)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5517)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5282)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3984)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3819)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1791)
            at java.awt.Component.dispatchEvent(Component.java:3819)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.Dialog$1.run(Dialog.java:535)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SCNBaseServiceFactory,assetSubProfile=Factory,host=alcaudon.tsc.uc3m.es,assetProfile=Factory,scnType=ServiceFactory,Vendor=Sun Microsystems Inc
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
            at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
            at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:548)
            at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
            at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
            at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
            at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1308)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1305)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:768)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
            at sun.rmi.transport.Transport$1.run(Transport.java:153)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
            at java.lang.Thread.run(Thread.java:595)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
            at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
            at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
            ... 39 more

    Well,
    The problem was a Memory problem: The swap file was misconfigured. Once the system reboots with the correct swap configuration I was able to register the machine.
    Anyway, the problem to connect with SunSolve is continous, but it is other point of discussion.
    I hope this solution can help people with similar problems.
    H.

  • Configuring Realm on Sun Application Server 9.0

    Hi,
    I was able to configure file realm on Sun Application Server 9.0 . But after getting authenticated (login is success), in the server.log it generates the following log & does not allow me to navigate in my application .
    [#|2007-07-31T18:10:51.281+0530|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=14;_ThreadName=httpWorkerThread-8080-1;|JACC Policy Provider: PolicyWrapper.implies, context(jscreator/jscreator)- permission((javax.security.jacc.WebRoleRefPermission /faces/Index.jsp appadmin)) domain that failed(ProtectionDomain  (file:/jscreator/jscreator <no signer certificates>)
    null
    (principals com.sun.enterprise.deployment.PrincipalImpl "admin",
    com.sun.enterprise.deployment.Group "appadmin")
    java.security.Permissions@148853d (
    (java.net.SocketPermission localhost:1024- listen,resolve)
    (java.net.SocketPermission * connect,resolve)
    (unresolved javax.security.jacc.WebRoleRefPermission jsp appadmin)
    (unresolved javax.security.jacc.WebRoleRefPermission Faces Servlet appadmin)
    (unresolved javax.security.jacc.WebRoleRefPermission appadmin)
    (unresolved javax.security.jacc.WebRoleRefPermission XmlHttpProxy appadmin)
    (unresolved javax.security.jacc.WebRoleRefPermission default appadmin)
    (unresolved javax.security.jacc.WebRoleRefPermission ThemeServlet appadmin)
    (unresolved javax.security.jacc.WebUserDataPermission /faces/* null)
    (unresolved javax.security.jacc.WebUserDataPermission /:/faces/* null)
    (unresolved javax.security.jacc.WebResourcePermission /faces/* GET,POST)
    (unresolved javax.security.jacc.WebResourcePermission /:/faces/* null)
    (unresolved javax.security.jacc.WebResourcePermission /faces/* !GET,POST)
    (unresolved com.sun.enterprise.security.CORBAObjectPermission * *)
    (java.io.FilePermission C:\DOCUME~1\SRIDHA~1\LOCALS~1\Temp\\- delete)
    (java.io.FilePermission C:/sun/domains/domain1\lib\databases\- delete)
    (java.io.FilePermission <<ALL FILES>> read,write)
    (javax.security.auth.PrivateCredentialPermission javax.resource.spi.security.PasswordCredential * "*" read)
    (java.lang.RuntimePermission loadLibrary.*)
    (java.lang.RuntimePermission modifyThreadGroup)
    (java.lang.RuntimePermission accessDeclaredMembers)
    (java.lang.RuntimePermission queuePrintJob)
    (java.lang.RuntimePermission stopThread)
    (java.util.PropertyPermission java.version read)
    (java.util.PropertyPermission java.vm.name read)
    (java.util.PropertyPermission java.vm.vendor read)
    (java.util.PropertyPermission os.name read)
    (java.util.PropertyPermission java.vendor.url read)
    (java.util.PropertyPermission java.vm.specification.vendor read)
    (java.util.PropertyPermission java.specification.vendor read)
    (java.util.PropertyPermission os.version read)
    (java.util.PropertyPermission java.specification.name read)
    (java.util.PropertyPermission java.class.version read)
    (java.util.PropertyPermission file.separator read)
    (java.util.PropertyPermission java.vm.version read)
    (java.util.PropertyPermission os.arch read)
    (java.util.PropertyPermission java.vm.specification.name read)
    (java.util.PropertyPermission java.vm.specification.version read)
    (java.util.PropertyPermission java.specification.version read)
    (java.util.PropertyPermission java.vendor read)
    (java.util.PropertyPermission * read)
    (java.util.PropertyPermission path.separator read)
    (java.util.PropertyPermission line.separator read)
    (javax.management.MBeanTrustPermission register)
    (javax.management.MBeanPermission [com.sun.messaging.jms.*:*] *)
    Can anyone help me out..???
    Thanks in advance.

    http://forums.java.net/jive/forum.jspa?forumID=56&start=0

  • Sun Application Server 8.1 remote deplyment database connection

    I use the deploy to Remote server to deply a project to Sun Application Server 8.1. When i try to connect to the database I get connection error
    javax.servlet.ServletException: javax.faces.FacesException: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Access denied for user ''@'testserver.com' (using password: YES)
    it seems it doesnt pick the User from the Connection pull settings. The settings at the server seem correct.
    This works fine when i deply to Application server 8.0 that comes with the Sun creator

    The user is correct and it does work from 8.0/
    The server doesnt pick the username from the
    configuration
    the error message says use '' emptyWhat "configuration" are you referring to? Do you mean the way that you have the 8.1 server set up?
    Since you cannot ping, then there is something wrong with the configuration on the 8.1 server.
    Why don't you remove the connection pool and start over from scratch and cut/paste the settings from the 8.0 app server over. Then make sure you can ping once everything is set up.
    Also, where is the 8.1 box located? Are you sure it has access to the database that you are trying to reach?
    You might try posting this to the App Server forum as it really isn't a Creator problem.

  • How to configure sun application server 8.2 for Oracle RAC 10g

    Hello,
    We have numerous boxes running the sun platform application server 8.2 and 2 boxes running enterprise version 8.2 all connecting to a 4 node Oracle RAC 10 G release 2 database. We have the system up and working. The application servers are connecting just fine to the database and the apps don't have any problems querying, inserting, etc. However, when we try to do failover testing of situations when a node or nodes of the Oracle RAC database goes down the application server does not gain new valid connections. Our configuration is this, OracleDataSource for the data source, table validation turned on with a valid table, ONS configuration set in properties, connectionCache enabled, and fastconnectionfailover enabled as well in the properties. We have that long oracle rac url with load balancing turned on set fot the database URL. We have the checkbox checked to fail all connections on any failure. ONS is configured properly within the database because we have a java application that runs outside of the application server that uses all the same settings described above (only set manually in our code for the OracleDataSource). This application works seemlessly when DB nodes are shutdown. We can shutdown all but one node and it's still humming along without skipping a beat. Start up one of the others, kill the last node, it still hums along nicely without skipping a beat. We'd really like to get the applications running in the application server to work the same way. Any help would be greatly appreciated. We've tried all the combinations that we can think of with configuration settings in the application server and it never works. Am tempted to rip out the database connection pool from inside the application server and configure it manually in the code but we are using entity beans and this is the much easier approach, if it will work. It's down to the point of does sun application server actually work with oracle RAC for connection failovers.

    Hi,
    We are also facing similar execption. Here is the error, we are getting, when a node is failed on RAC.
    [#|2007-11-11T12:43:53.685+0000|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.core.transaction|_ThreadID=38;|JTS5041: The resource manager is doing work outside a global transaction
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1270)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:318)
    at com.sun.gjc.spi.XAResourceImpl.start(XAResourceImpl.java:184)
    at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:258)
    at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:181)
    at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:397)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:312)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:114)
    at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:113)
    at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:268)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:193)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
    at com.syntegra.nasp.etp.dax.DBManager.getConnection(DBManager.java:192)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:241)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:251)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.getCommand(SPS_PRESCRIPTION_GUID_PROC.java:31)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.execute(SPS_PRESCRIPTION_GUID_PROC.java:23)
    at com.syntegra.nasp.etp.dax.PrescriptionBaseDataMapper.loadPresciptionByGUID(PrescriptionBaseDataMapper.java:203)
    at com.syntegra.nasp.etp.model.PrescriptionBase.findByPrescriptionGUID(PrescriptionBase.java:176)
    at com.syntegra.nasp.etp.messages.PatientPrescriptionReleaseRequest.execute(PatientPrescriptionReleaseRequest.java:120)
    at com.syntegra.nasp.etp.service.ETPSLBean.processMessage(ETPSLBean.java:159)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:128)
    at $Proxy6.processMessage(Unknown Source)
    at com.syntegra.nasp.etp.listener.RequestListener.onRequest(RequestListener.java:204)
    at com.syntegra.spine.csf.consumer.mdb.CSFListenerRegisteringConsumer.onRequest(CSFListenerRegisteringConsumer.java:54)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.invokeListener(CSFConsumerBase.java:267)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.processMessage(CSFConsumerBase.java:180)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.onMessage(CSFConsumerBase.java:102)
    at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:955)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
    at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:956)
    at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
    at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:130)
    at $Proxy9.onMessage(Unknown Source)
    at com.sun.genericra.inbound.DeliveryHelper.deliverMessage(DeliveryHelper.java:183)
    at com.sun.genericra.inbound.DeliveryHelper.deliver(DeliveryHelper.
    Regards
    Selvan.

  • JMS problem with Sun Application Server 8.2

    Hi!
    I've just started trying JMS and found a problem.
    I set a connection factory called "QueueConnectionFactory" in the Sun Application Server Admin Consol.
    After this I test this code:
    import javax.jms.*;
    import javax.naming.*;
    public class Sun_JNDI
    public static void main(String args[]) throws Exception
    Context jndiContext = null;
    System.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory" );
    System.setProperty("java.naming.factory.url.pkgs","=com.sun.enterprise.naming");
    System.setProperty("java.naming.provider.url","localhost:1024");
    jndiContext = new InitialContext();
    Object O = jndiContext.lookup("QueueConnectionFactory");
    System.out.println(jndiContext);
    in result I got this long Exception message:
    2006.02.12. 10:52:59 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1356"
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE: RAR6001 : Class Not found : com.sun.messaging.jms.ra.ResourceAdapter
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE:
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    2006.02.12. 10:53:00 com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    Exception in thread "main" javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    ... 2 more
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    So I tested this code under Netbeans5 and I don't where to find jar file contains the class: com.sun.messaging.jms.ra.ResourceAdapter
    Other time I tryied to lookup this URL: "java:comp/env/jms/QueueConnectionFactory"
    The result was: javax.naming.NameNotFoundException
    I know it is a small code example but if I'm not able to solve this problem I can't go on with JMS.
    I would be glad by any help.
    Regards:
    Sandor

    Hello
    In my code it looks like that:
    1: System.setProperty("com.sun.jndi.ldap.LdapCtxFactory", "iiop://localhost:3700");
    2: Context ctx = new InitialContext();
    3: TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("jms/DailyDestinationFactory");
    4: TopicConnection connection = factory.createTopicConnection();
    5: TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    6: Topic topic = (Topic)ctx.lookup("jms/DailyBean");
    7: TopicPublisher pub = session.createPublisher(topic);
    8: TextMessage msg = session.createTextMessage();
    9: msg.setText("NewMessage");
    10: pub.send(msg);
    and it work with Sun App Server 8.2.

Maybe you are looking for

  • How do I set the default folder for file - open file... ?

    When I save a file, photo, etc., the default folder for OPENING a file becomes the last folder I SAVED to - even after closing and reopening Firefox. Is there a way to maintain the same default folder for opening files? Thanks.

  • How do I import images from a Canon scanner on Photo Elements 12 using a Mac

    Hi I have purchase a new Mac with the 10.9 version and I am using Photo Elements 12.  I am trying to import images from my CanoScan 9000f scanner but I can't see the scanner in the Organizer, Files, Get Photos and Videos, there is no Scanner option. 

  • SPAU activity

    Dear experts, I have a question.We just underwent sap upgrade.Now i could see some objects in white background color. I find however,the code is the same i want as previous code is not overwritten by new sap patch code. Can i just leave this activity

  • PRINT-CONTROLS

    hi Experts, I'm having a SAPscript, in it i have a signatrue window. This window triggers a PRINT-CONTROL on some condition. there is a transaction SPAD which gives us a list of existing PRINT-CONTROL. when we view this PRINT-CONTROL i cannnot find i

  • Urgent : Fault Policies in 11g

    Hi All, im trying to use fault policies in 11g. as per documentation i can have 1). the fault policies and fault bindings in the same composite. this works fine 2). In a different location that is specified with two properties that you add to the com