Security Exception deploying to App Server with Creator

I'm trying to deploy a Spring/Hibernate application to the default app server with creator. I'm getting an exception which seems to be related to security settings on the server and the cglib library that Hibernate requires. Below is the full stack trace. Does anyone know what I can do to solve this problem? I had a brief look at the server.policy file but don't know what to modify or if I need to modify it at all.
When I deploy the .war to Tomcat, I do not receive this exception.
Thanks!
Mike
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:535)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:470)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1065)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:224)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:150)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
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 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
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.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:517)
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:185)
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.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.Class.getProtectionDomain(Class.java:2074)
at net.sf.cglib.core.ReflectUtils$1.run(ReflectUtils.java:42)
at java.security.AccessController.doPrivileged(Native Method)
at net.sf.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:40)
... 98 more

Try this:
//Required permissions for Hibernate
grant codeBase "file:/path-to-web-project/Creator-project-name/build/web/-"{
permission java.util.PropertyPermission "*", "read,write";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "getProtectionDomain";
};Replace path-to-web-project with the path to your project's folder. For example,
file:/C:/Documents and Settings/localuser/My Documents/Creator/MyCreatorProject/build/web/-

Similar Messages

  • Can a include file exception crash an app server?

    Hi,
              Can somebody please help me with the answer to this question?
              Question is: I have an include file in a jsp page. But this include
              file is not present on the server and hence it is giving an
              exception.This exception is being caught and a message is thrown on
              the console.Now, will this exception 'crash' my app server anytime?
              Also will the exception be thrown everytime a user tries to access the
              jsp page? Please help.
              Thanks,
              

              "Shirin" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > Can somebody please help me with the answer to this question?
              > Question is: I have an include file in a jsp page. But this include
              > file is not present on the server and hence it is giving an
              > exception.This exception is being caught and a message is thrown on
              > the console.Now, will this exception 'crash' my app server anytime?
              No. It shouldn't crash the app server.
              > Also will the exception be thrown everytime a user tries to access the
              > jsp page? Please help.
              Yes, until the file that is included exists or until the page handles the
              exception.
              Tom
              

  • Whether java component (Not ejb, not servlet) can be deployed in App Server and get the services provided by App Server

    As I mentioned in subject, I am just wondering Whether the java component (Not
    ejb, not servlet) can be deployed in App Server and get the services provided
    by App Server or not?

    Nevermind folks - I got it to work. All my configuration was correct; I had other issues with the ejb-jar file that the verifier informed me of (my previous deployments were with the verifier turned-off).

  • Can I use Oracle app server with mysql

    Can I use Oracle app server with mysql. I seem to have the following error when trying to create a datastore. I have mysql.jar in my classpath. Can any one tell me what's wrong.
    Error initializing data-source 'jdbc/topup': DriverManagerDataSource driver 'org.gjt.mm.mysql.Driver' not found

    Yes you can forward requests from your own apache to the iAS. This can be done using mod_proxy. Some hints about how to do this are availlable on this forum.
    mod_oc4j is not a standard apache module, and therefore is not availlable when you download apache. There is no apparent reason to use mod_oc4j on a "regular" webserver (unless you want to build your own iAS). Also there might be some licenseing issues with using mod_oc4j module on a standard apache.
    You can encrypt data that is passed from a random Apache to you iAS.

  • Problem with JDBC deploying to App Server 8.1

    Hi,
    I'm trying to deploy my application onto App Server PE 8.1, and it connects to an Oracle database. I created the connection as described in the Creator 2 tutorial, but when I attempt to ping I get the following error:
    [sunm][Oracle JDBC Driver]OS Authentication was requested, but is not supported by this Oracle Server.
    I supplied a username and password. Why is it trying to perform OS authentication and how to I make it stop?
    Thanks,
    Rick

    Quoting this from DataDirect JDBC Driver documentation
    http://media.datadirect.com/download/docs/jdbc/jdbcref/jdbcoracle.html#wp1001070
    If a user ID is not specified and the driver is running on a Windows platform, the driver uses Type 2 OS authentication when establishing a connectionIf you are deploying to bundled PE, all the datasource config would be automatically done for you.
    If you are deploying to a standalone PE, Sun JDBC Driver won't work with it. Only Creator Bundled PE and Sun AppServer StandardEdition & EnterpriseEditions can work with Sun JDBC Drivers.
    HTH,
    Sakthi

  • Exception in Sun App Server 9

    Hi ,
    i was wondering why i get this stacktrace below when i access JSP page
    [#|2006-10-25T10:58:40.919+0800|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=httpWorkerThread-80-0;_RequestID=b573afc9-2776-432e-a955-15a99f9cff71;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.getClearHiddenFieldScript(ButtonRenderer.java:313)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:212)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:239)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent(PopupCalendarRenderer.java:328)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupCalendarRenderer.java:213)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.renderer.PanelGroupRenderer.encodeChildren(PanelGroupRenderer.java:61)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableColumnRenderer.encodeChildren(TableColumnRenderer.java:173)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRowGroupRenderer.encodeChildren(TableRowGroupRenderer.java:185)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeChildren(TableRenderer.java:157)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:241)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at biz.autoscan.ils.security.SecurityFilter.doFilter(SecurityFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:789)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:328)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    But it was working fine when i use app server bundled with the Creator

    i dont know if this is related to the popup calendar thingy as u can see
    at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent( PopupCalendarRenderer.java:328)
    at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupC alendarRenderer.java:213)
    Here is my structure of my JSP page but this error doesnt happen for all the pages.. only certain pages that has a ajax popup calendar bind to the table.
    Login.jsp ---> ( FilterPage.jsp) ( there is always a filter for every page ) -->SearchA.jsp
    my SearchA.jsp structure would as below
    -propertysheet
           -propertysection
                  -property
                         -table
                              -column1
                                ajax auto complete
                              -column2
                                 static text
                              - column3
                                 static text ( showing date )
                                 group panelDate
                                      popupCalendar
                                      msgforPopupCalendarHere is the subsequent stacktrace i got in my server.log
    [#|2006-10-25T10:58:40.915+0800|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=11;_ThreadName=httpWorkerThread-80-0;_RequestID=b573afc9-2776-432e-a955-15a99f9cff71;|executePhase([b]RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1bf1be2) threw exception
    com.sun.rave.web.ui.appbase.ApplicationException
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at biz.autoscan.ils.security.SecurityFilter.doFilter(SecurityFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:789)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:328)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    Caused by: java.lang.NullPointerException
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.getClearHiddenFieldScript(ButtonRenderer.java:313)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:212)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:239)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent(PopupCalendarRenderer.java:328)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupCalendarRenderer.java:213)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.renderer.PanelGroupRenderer.encodeChildren(PanelGroupRenderer.java:61)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableColumnRenderer.encodeChildren(TableColumnRenderer.java:173)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRowGroupRenderer.encodeChildren(TableRowGroupRenderer.java:185)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeChildren(TableRenderer.java:157)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:241)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         ... 37 more
    |#]

  • Is it possible to integrate a different application server with Creator

    It's not love at first sight, but I think i'm gonna fall in love with creator. my question is, is it possible to use/integrate a different application server into creator instead of Sun's Application Server. I prefer to use Jonas

    Alexis, thanks for your help -
    The following was taken from the JRUN logs right after trying to deploy a sample Creator project called teta -
    It works fine with the APP server provided with Creator.
    # Created by JRun on 07/12 18:25:27
    07/12 18:25:38 info JRun Web Server listening on *:8105
    07/12 18:25:39 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/JRun4/lib/jrun-comp.ear
    07/12 18:25:39 info Deploying EJB "JRunSQLInvoker" from: file:/C:/JRun4/lib/jrun-comp.ear
    07/12 18:25:39 info Deploying enterprise application "default-ear" from: file:/C:/JRun4/servers/teta/default-ear/
    07/12 18:25:39 info Deploying web application "JRun Default Web Application" from: file:/C:/JRun4/servers/teta/default-ear/
    07/12 18:25:40 info Web Services in default-ear#default-war:
    07/12 18:25:40 info AdminService
    07/12 18:25:40 user JSPServlet: init
    07/12 18:25:41 info Recovering 1 session(s)
    07/12 18:25:41 info Deploying web application "file:/C:/JRun4/servers/teta/teta.war" from: file:/C:/JRun4/servers/teta/teta.war
    07/12 18:25:41 user JSPServlet: init
    07/12 18:25:41 error Could not pre-load servlet: JSPServlet
    [4]java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
         at java.lang.Class.getConstructor0(Class.java:1762)
         at java.lang.Class.newInstance0(Class.java:276)
         at java.lang.Class.newInstance(Class.java:259)
         at jrun.servlet.WebApplicationService.addListener(WebApplicationService.java:1393)
         at jrun.jsp.compiler.JRunTagLibraryInfo$TLDParser.listenerclassEnd(JRunTagLibraryInfo.java:602)
         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 jrunx.util.SAXReflectionHandler.invoke(SAXReflectionHandler.java:115)
         at jrunx.util.SAXReflectionHandler.endElement(SAXReflectionHandler.java:38)
         at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
         at jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:190)
         at jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
         at jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
         at jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
         at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
         at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [3]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 jrunx.util.SAXReflectionHandler.invoke(SAXReflectionHandler.java:115)
         at jrunx.util.SAXReflectionHandler.endElement(SAXReflectionHandler.java:38)
         at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
         at jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:190)
         at jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
         at jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
         at jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
         at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
         at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
         at java.lang.Class.getConstructor0(Class.java:1762)
         at java.lang.Class.newInstance0(Class.java:276)
         at java.lang.Class.newInstance(Class.java:259)
         at jrun.servlet.WebApplicationService.addListener(WebApplicationService.java:1393)
         at jrun.jsp.compiler.JRunTagLibraryInfo$TLDParser.listenerclassEnd(JRunTagLibraryInfo.java:602)
         ... 34 more
    [2]java.lang.reflect.InvocationTargetException
         at jrunx.util.SAXReflectionHandler.invoke(SAXReflectionHandler.java:119)
         at jrunx.util.SAXReflectionHandler.endElement(SAXReflectionHandler.java:38)
         at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
         at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
         at jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:190)
         at jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
         at jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
         at jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
         at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
         at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [1]jrun.jsp.compiler.JRunTagLibraryInfo$TLDParseException: Exception parsing the TLD null : null
         at jrun.jsp.compiler.JRunTagLibraryInfo.init(JRunTagLibraryInfo.java:198)
         at jrun.jsp.compiler.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:119)
         at jrun.jsp.JSPEngine.checkResourceForTaglibs(JSPEngine.java:483)
         at jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:451)
         at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
         at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [0]javax.servlet.ServletException: Exception parsing the TLD null : null
         at jrun.jsp.JSPEngine.findImplicitTaglibs(JSPEngine.java:457)
         at jrun.jsp.JSPEngine.<init>(JSPEngine.java:141)
         at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    07/12 18:25:42 error Could not pre-load servlet: Faces Servlet
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
         at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1204)
         at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:762)
         at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:257)
         at jrun.deployment.DeployerService.initModules(DeployerService.java:711)
         at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
         at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
         at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
         at jrun.deployment.DeployerService.run(DeployerService.java:891)
         at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:223)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Deployement problem in Oracle App Serv with hibernate + JPA and Spring

    Dear All,
         I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
         Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version     I am using the following technologies
    1.     Spring 2.0.7
    2.     Struts 2.0.9
    3.     Hibernate 3.3
    4.     JPA 1.0
    5.     Oracle App Server 10.1.2.0.2
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>My Application</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>
                   org.apache.struts2.dispatcher.FilterDispatcher
              </filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>/index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>
                   org.directwebremoting.servlet.DwrServlet
              </servlet-class>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
         </servlet-mapping>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/conf/spring/datasource-context.xml,
                   /WEB-INF/conf/spring/aop-context.xml          
              </param-value>
         </context-param>
    </web-app>
    /Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
              </property>
              <property name="username">
                   <value>admin</value>
              </property>
              <property name="password">
                   <value>admin</value>
              </property>
         </bean>
         <!--  following code is for using mysql -->
         <!--
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>org.gjt.mm.mysql.Driver</value>
              </property>
              <property name="url">
                   <value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>+
              </property>
         </bean>
         -->
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Aop-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
    <!--  Bean Definition of all the required Interceptors -->
         <bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
         <!--
         <bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
              <constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
         </bean>     
         -->
          <!--bean id="methodCacheInterceptor" -->
         <bean id="methodCachingAdvice"
              class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
              <property name="cache">
                   <ref local="methodCache" />
              </property>
         </bean>
         <bean id="cacheManager"
              class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
              <property name="configLocation">
                   <value>WEB-INF/conf/other/ehcache.xml</value>
              </property>
         </bean>     
         <bean id="methodCache"
              class="org.springframework.cache.ehcache.EhCacheFactoryBean">
              <property name="cacheManager">
                   <ref local="cacheManager" />
              </property>
              <property name="cacheName">
                   <value>mkclSetsCache</value>
              </property>
         </bean>      
         <!--
         <bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
          -->
         <aop:config>
              <aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>          
              <!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
              <aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
              <aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
              <aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>          
              <aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
              <aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
         </aop:config>
    </beans>Persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
    Thanks a lot in advance.
    With Best Regards,
    Ishaan
    null

    Did you ever find a solution to this Ishaan?
    I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct?

  • Integrating Sun App Server with WebSphere MQ

    Hi,
    I am using Sun App server V8.1 . I also have a websphere MQ v5.3 installed in my system. I want to integrate this MQ with the App server.
    I created a queueManager and a Queue in MQ and using the JMSAdmin console of the Mq, i created jndi lookup resources using INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    In the application server side, i created a Resource adapter using the command:
    create-resource-adapter-config --property SupportsXA=true:ProviderIntegrationMode=jndi:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:D\\:\\MQ:LogLevel=finest mqra
    Then i deployed this resource adaptor using the command :
    deploy name mqra target server "D:\Sun\AppServer\lib\addons\resourceadapters\genericjmsra\genericra.rar"
    Using this resource adapter i created a connection pool, connector resource and an admin object using the commands
    create-connector-connection-pool raname mqra connectiondefinition javax.jms.QueueConnectionFactory transactionsupport  XATransaction property ConnectionFactoryJndiName=MQQCF mymqpool
    create-connector-resource --poolname mymqpool jms/MyMqQCF
    create-admin-object raname mqra restype javax.jms.Queue --property DestinationJndiName=RTQueue jms/MyMqQueue
    After that, i wrote a java code to lookup these resources and put a message into the queue.
    This is the snippet of my java code
    InitialContext ic = new InitialContext();
    QueueConnectionFactory cnxFact = (QueueConnectionFactory)ic.lookup("jms/MyMqQCF");
    Queue qu = (Queue)ic.lookup("jms/MyMqQueue");
    try {               
    QueueConnection qConn = cnxFact.createQueueConnection();
    QueueSession qSess = qConn.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
    QueueSender qSend = qSess.createSender(qu);
    TextMessage msg = qSess.createTextMessage();
    msg.setText("1");
    qSend.send(msg);
    qConn.close();
    I am getting an exception in the line, QueueConnection qConn = cnxFact.createQueueConnection();
    here is the stack trace
    java.lang.ClassCastException: com.ibm.mq.jms.MQQueueConnectionFactory
    at com.sun.genericra.outbound.ManagedQueueConnectionFactory.createXAConnection(ManagedQueueConnectionFactory.java:45)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createPhysicalConnection(AbstractManagedConnectionFactory.java:127)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:111)
    at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:90)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:437)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:286)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:145)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
    at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:69)
    at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:101)
    Can anybody help???

    bump
    update:
    So to avoid this problem I added spring.jar to the server classpath. that got rid of this message but then it started complaining that its missing struts2 core jar..i added that in server classpath as well...I did same for 4 other files and in the end it said 'bean for xwork has already been initialized' (because all these jars are in the application as well).
    So I am stuck. if I add all jars to server classpath..it says beans have already been initialized. If I take out the jars from server classpath then it says that stuff is missing (eg. contextLoader.properties missing - orig post)
    again, all this goes away when I restart the server..so i am just trying to avoid having to restart server every code change.

  • Problems between IDE and Deployment on App Server 8.2

    I have an application that I wrote last year using JSC-EA and converted it ti JSC2-1. I can run the application on my development environment SunAppServer 8.2 with no problems.
    When I attempt to deploy it to a standalone Sun App Server 8.2 I experience the following:
    1) Login page works fine
    2) Main menu selection page works fine
    3) Results page does not display information.
    More details:
    Main Menu page consists of:
    1) a page with a page fragment that contains a menu.
    2) 3 or 4 JSF components
    Results page consists of:
    1) 2-3 JSF text components (display OK)
    2) Same menu page fragment as above (displays OK)
    3) Second page fragment that contains a table with components added under program control (does not get displayed in deployment server, but displays fine in IDE server).
    Is there ANY possibility that this can be related to migration from JSC2-EA to JSC2-1? If so, what could cause this behavior?
    Is there ANY explanation as to why the application displays OK in the IDE (same app server version as deployment) but not in the deployment server?
    ANY help is appreciated.
    Thanks,

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Finding a pages URL once it is deployed to app server

    Hi, I have deployed a jheadstart application to Oracle Application Server, I know the context root, and an authentication window pops up if I enter the context folder after the server name, but I can't locate the page I want within the context folder, the server returns file not found errors on all the paths i've tried...
    How is the URL location of the pages determined? Is it built up from the file structure in the app server j2ee home, or does it depend on the application structure in Jdeveloper before deployment?
    The jheadstart app structure is: Application -> ViewController -> Web Content -> pages -> mypage.jspx
    The deployed folder structure in app server is : j2ee\home\applications\myapplication\ViewArchive\pages\mypage.jspx
    So in this case what would the URL be after the context root to bring up mypage.jspx ?

    Michael,
    Yes, you can add an index.jsp to yout web root dir, with the following content:
    <% response.sendRedirect("faces/pages/Home.jspx"); %>
    In JHeadstart 10.1.3.2 we will geenrate such a file as a convenience.
    You can also specify a welcome file in web.xml.
    Steven Davelaar,
    JHeadstart Team.

  • Servlet error after deploy to app server

    Hi,
    When I run my jheadstart app from local pc then everything is fine. When I deploy the same app to the app server it starts correctly, and works somehow. But, when I click the new button in any kind of jsp, I get the following error:
    05/05/18 09:58:19 Started
    05/05/18 09:58:27 ilbi: jsp: init
    05/05/18 09:58:28 ilbi: action: init
    05/05/18 09:58:29 ilbi: uix: init
    05/05/18 09:58:31 ilbi: 9.0.4.1.0 Started
    05/05/18 09:59:06 ilbi: Servlet error
    java.lang.ClassCastException
         at oracle.jheadstart.util.ReportingUtils.processException(ReportingUtils.java:274)
         at oracle.jheadstart.util.ReportingUtils.translateExceptionToStrutsErrors(ReportingUtils.java:149)
         at oracle.jheadstart.util.ReportingUtils.reportErrors(ReportingUtils.java:131)
         at oracle.jheadstart.controller.strutsadf.action.JhsStrutsJspLifecycle.reportErrors(JhsStrutsJspLifecycle.java:263)
         at oracle.adf.controller.struts.actions.DataAction.reportErrors(DataAction.java:269)
         at oracle.adf.controller.struts.actions.DataAction.reportErrors(DataAction.java:463)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:150)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
         at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at khb.ilbi.controller.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:113)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I think this is a deployment problem and I tried to resolve used the deployment issue on this forum (I made the ADF Runtime manual installation steps), but at this moment I have no idea.
    Could anybody help me, please?
    thanks
    Gyula

    Hi,
    Here are the codes:
    OLD CODE:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    setOwnerId(AdfbcUtils.getValueFromSequence("ILB_OWNERS_S", getDBTransaction()));
    NEW CODE
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    setOwnerId(getSeqNum("ILB_OWNERS_S", getDBTransaction()));
    getSeqNum:
    PUBLIC NUMBER getSeqNum(String sequenceName, DBTransaction tr) {
    STATEMENT st = NULL;
    ResultSet rset = NULL;
    NUMBER retVal = NULL;
    try {
    String stmt = "select to_char(" + sequenceName + ".nextval) from dual" ;
    st = tr.createStatement(1);
    rset = st.executeQuery ( stmt );
    WHILE (rset.NEXT())
    retVal = NEW NUMBER(rset.getString(1));
    logger.DEBUG("Sequence captured");
    RETURN retVal;
    } catch (SQLException s) {
    logger.DEBUG("Sequence not captured because error occured");
    throw NEW JboException(s);
    } finally {
    try {
    IF (st != NULL) st.CLOSE();
    } catch (SQLException s) { /* ignore */ }
    Gyula

  • J2EE App Server with virtual servers

    H! !
    I have a Win2K with J2EE App Server 1.4. Everything is working fine. In this computer I stopped the IIS 5.0 in order to use the HTTP Server included with the product.
    I also run the DNS on the same machine with 3 domains. All name resolutions for these 3 domains work fine.
    Now I want to enter to any of the 3 domains freelyand execute JSP apps. But I don't want to enter ports numbers like this:
    http://www.mytest.com:8081/hello.jsp
    I just want to enter:
    http://www.mytest.com/hello.jsp
    So I defined a new http-port listener pointing to the 80 port on this server. With no SSL support.
    Name: http-port80
    IP Address: 0.0.0.0
    POrt: : 80
    Return server name: <blank> (Should I put here the name of the computer?)
    Then I defined a new virtual server using the http-port listener. I set the following fields:
    ID: mytest
    Hosts: www.mytest.com (Should I put here the name of the computer?)
    HTTP Listener: http-port80 (This is the name of the port listener)
    Everything seems to be fine. I can enter http://www.mytest.com and call the hello.jsp it's ok.
    But then I create a new virtual server for http://www.mytest2.com exactly as the one for the www.mytest.com, except for the host field: http://www.mytest2.com
    Then when I restart the app server I got the message on the log: "Port already in use".
    I want to use the same http-listener because I don't want to enter http://www.mytest2.com:<port>
    Any ideas how to handle this?
    Am I doing something wrong on the configuration?
    Thank you very much!!

    What I want is to enter to any of the 3 domains freely and execute JSP apps. But I don't want to enter ports numbers like this:
    http://www.mytest.com:8081/hello.jsp
    I just want to enter:
    http://www.mytest.com/hello.jsp
    As far as I understand only by having an http-listener linked to the virtual web server I can achieve this goal, right? Or Am I on the wrong direction?

  • Page Break does not work in PDF report when deployed to App Server

    I have a report with a PAGE Break before on a repeating frame that holds a matrix report. In reports designer on the PC, the report correctly shows the page break. When deployed to the app server, the report shows the page after the break superimposed on top of the page before the break.
    The report has a repeating frame that spans both pages and holds the header information (page 1), and the matrix report (page 2).
    Any suggestions on how to fix this would be greatly appreciated.
    Deb

    Crystal Reports Designer 2008 and Business Objects Enterprise XI release 2 are not in the same suite release. You should use Crystal Reports Designer XI release 2 to connect BOE XIr2.

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • My 4th Gen iPod Touch seems to be disabling my router.

    I had a hunch that it was my iPod but I thought, naaaa, my iPod couldnt be killing the router. But I did a quick search and found others over on Macrumors forums that were talking about the same issues. Basically, I think my iPod is somehow killing m

  • Best option for boosting signal

    Hi all, For internet access I plug my mac directly in to my Time Capsule and then use my touch wirelessly throughout the house. I lose signal strength toward the back of the house and sometimes lose the signal completely. What is my best option for b

  • Mulitple Smartforms for single output type

    Hi Experts, I have 4 programs and 4 smartforms and One output type Z999. Depends on Company code i need to generate appropriate smartform using VF02. ( 4 programs & 4 smartforms means,   US invoice, US Creditmemo, Canada Invoice and Canada creditmemo

  • Opening NEF files on ImacG5

    I can't seem to open NEF files (preview) on my imacG5,they will only open in Photoshop CS2, but, one cannot see thumbnail pics only JPEG thumbnails either As I am a newbie to macs can anyone help on this Dan Rose

  • Photoshop elements 7.0 download

    I need to download Adobe photoshop elements 7.0.  I got this with the purchase of my bamboo touch.  My last desktop crashed and I purchased a new desktop and I have my serial # but no disk.  My adobe account has the product serial # registered with i