Remote Memory Profiling Web App on Tomcat/Linux?

Is there a straightforward set of instructions somewhere for setting up JDev, Tomcat, the Web App, etc for remote memory profiling a web application running on a Tomcat installation on Linux? (JDev is on a Windows box)
Thanks!
Jim

'Cmon Team JDeveloper - in a matter of a few hours, I was able to download and setup NetBeans and start remote profiling my JDeveloper-developed web app on Tomcat. Surely somebody knows how to do this with JDeveloper!?
I'm a long-time JDeveloper user and a very vocal proponent of the tool - I pains me to have to use another tool to do what JDeveloper should clearly be able to do. Heck, I'm willing to help document the process if someone can just help get me going on this.
Jim

Similar Messages

  • Remote Memory Profiling

    Can anyone tell me how to set up remote memory profiling in TP4? The existing instructions for 10g do not address remote profiling. At one point I somehow found documentation on a profiling agent that is started from the command line but I cannot find that again. Anyway, I really need to profile a Tomcat application server, and it would be nice if TP4 could do the job. Maybe this type of thing would even convince my colleagues that JDeveloper is better than Eclipse or IDEA.
    Thanks In Advance, Keith

    'Cmon Team JDeveloper - in a matter of a few hours, I was able to download and setup NetBeans and start remote profiling my JDeveloper-developed web app on Tomcat. Surely somebody knows how to do this with JDeveloper!?
    I'm a long-time JDeveloper user and a very vocal proponent of the tool - I pains me to have to use another tool to do what JDeveloper should clearly be able to do. Heck, I'm willing to help document the process if someone can just help get me going on this.
    Jim

  • Remote Memory Profile

    Hi
    I would like to use JDeveloper (running on Windows) to remote memory profile an application running on an OC4J application server (running on Linux).
    In JDeveloper, I have specified a Run instance that uses the ojvm VM and has the Remote Debugging and Profiling option checked. When I run the Memory Profile, I am prompted for the server's name and port which I specify as 4000 --> is this correct? How do you know which port to specify?
    The OC4J runs as a cluster with a group consisting of two OC4J instances. On the group level, I specify the Start-parameters: OC4J Options as -ojvm -XXtimeport4000. The group seems to run ok with these settings, but whenever I actually try and connect from JDeveloper, I get the following output:
    Profiler attempting to connect to remote process at <my server's name> port 4000.......
    Profiler unable to connect to remote process.
    Can anyone point out to me what I am doing wrong or have not done?
    Thanks very much
    Aisling

    hi Aisling
    I have been able to do remote profiling using the documentation you also referred to:
    - "Starting a Java Process for Remote Profiling"
    - "Connecting the Profiler Remotely to a Java Program"
    The environment I used for this is MS Windows XP, JDeveloper 10.1.3.3.0 and a standalone OC4J 10.1.3.1.0.
    I noticed you mention "... an OC4J application server (running on Linux) ..." in your initial post.
    On of the steps for remote profiling is "Ensure that the version of Java you are using has the OJVM installed." and although the page "About Remote Debugging" is not explicitly about remote profiling, it says "OJVM is available on Windows platforms only.".
    regards
    Jan

  • Can i run remote memory profiling and remote debugging at the same time .

    can i run remote memory profiling and remote debugging at the same time .
    i am using jdev9.0.5 and oc4j9.0.4 standalone server.
    how to write the batch file to run both at the same time

    Thanks for your help!
    Another question. How do you turn off the ATT wireless transmitter? Also, there are more computers connected to the 2Wire network. I will have to set up a wireless pc to work with the Base Station after disconnecting the ATT transmitter. Easy answers for both, I hope?

  • How to do memory profiling remotely???

    Hi,
    We are using JDeveloper 10g (10.1.2.1.0) and Oracle Application Server 10g (10.1.2.0.2) to deploy our web application, its running on a Solaris OS. We would like to know how to make a remote memory profiling for this configuration. JDeveloper help is very ambiguous, and very short.
    Anybody could help us a little bit with this? How we can configure OC4J JVM to attend remote memory profiling requests? How we can connect and run the JDeveloper memory profiling extension over this OC4J JVM?....
    Thanks in advanced.

    Nice to read it ;-)
    Any other option to profile memory remotely on Solaris and OC4J JVM? Maybe any JDeveloper plugging or any standalone recommendable product? Or I could thinking in cutting my veins already?
    Thanks for your answer.

  • Web app security exception: Bad URLMatchMap

    Can anyone help me diagnose an error? I am simply trying to place a security constraint
    on a servlet within an ear-deployed web-application.
    The exception occurs as the first POST comes to the servlet I am trying to protect:
    <Apr 16, 2001 12:40:09 PM EDT> <Error> <Kernel> <ExecuteRequest failed
    java.lang.IllegalArgumentException: bad URLMatchMap path: 'version="1.0"'
    at weblogic.servlet.utils.URLMatchMap.get(URLMatchMap.java:196)
    at weblogic.servlet.security.internal.WebAppSecurity.getConstraint(WebAp
    pSecurity.java:135)
    at weblogic.servlet.security.internal.SecurityModule.checkTransport(Secu
    rityModule.java:177)
    at weblogic.servlet.security.internal.BasicSecurityModule.checkA(BasicSe
    curityModule.java:48)
    at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess
    (ServletSecurityManager.java:150)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:1250)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1622)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    <?xml version="1.0" ?>
    <!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>
    <display-name>ANSWeb</display-name>
    <description>no description</description>
    <servlet>
    <servlet-name>UPMessageServlet</servlet-name>
    <display-name>UPMessageServlet</display-name>
    <description>no description</description>
    <servlet-class>com.aether.ans.gateway.up.UPMessageServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ANSServlet</servlet-name>
    <display-name>ANSServlet</display-name>
    <description>no description</description>
    <servlet-class>com.aether.ans.server.ANSServlet</servlet-class>
    <load-on-startup />
    </servlet>
    <servlet>
    <servlet-name>WCTPServlet</servlet-name>
    <display-name>WCTPServlet</display-name>
    <description>no description</description>
    <servlet-class>com.aether.ans.gateway.wctp.WCTPServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>UPMessageServlet</servlet-name>
    <url-pattern>/UPMessage</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ANSServlet</servlet-name>
    <url-pattern>/Server</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>WCTPServlet</servlet-name>
    <url-pattern>/WCTPCallback</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <resource-ref>
    <description>no description</description>
    <res-ref-name>url/ANS.dtd</res-ref-name>
    <res-type>java.net.URL</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Server</web-resource-name>
    <url-pattern>/Server</url-pattern>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>Client</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    <security-role>
    <role-name>Client</role-name>
    </security-role>
    <ejb-ref>
    <description>no description</description>
    <ejb-ref-name>ejb/ANSServer</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.aether.ans.server.ANSServerHome</home>
    <remote>com.aether.ans.server.ANSServer</remote>
    </ejb-ref>
    <ejb-ref>
    <description>no description</description>
    <ejb-ref-name>ejb/Alert</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <home>com.aether.ans.entity.AlertHome</home>
    <remote>com.aether.ans.entity.Alert</remote>
    </ejb-ref>
    </web-app>
    <?xml version="1.0" ?>
    <!DOCTYPE weblogic-web-app PUBLIC '-//BEA Systems, Inc.//DTD Web Application 6.0//EN'
    'http://www.beasys.com/servers/wls600/dtd/weblogic-web-jar.dtd'>
    <weblogic-web-app>
    <description>no description</description>
    <security-role-assignment>
    <role-name>Client</role-name>
    <principal-name>Client</principal-name>
    </security-role-assignment>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>url/ANS.dtd</res-ref-name>
    <jndi-name>ans.url.dtd</jndi-name>
    </resource-description>
    <ejb-reference-description>
    <ejb-ref-name>ejb/Alert</ejb-ref-name>
    <jndi-name>ejb.Alert</jndi-name>
    </ejb-reference-description>
    <ejb-reference-description>
    <ejb-ref-name>ejb/ANSServer</ejb-ref-name>
    <jndi-name>ejb.ANSServer</jndi-name>
    </ejb-reference-description>
    </reference-descriptor>
    </weblogic-web-app>

    Hi Andrew,
    Even without moderation enabled, any submission made through the BC platform is filtered through our protection engine to prevent XSS. Any type of potentially malicious code is immediately stripped from the submission, and this is not done at a client-side level.
    Kind Regards,
    Alex

  • Error while deploying app on Tomcat 6.0

    Hi All,
    As per https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1 , I tried to deploy ADF web app on Tomcat 6.0, but I was blocked by following errors.
    Env:
    Jdev 11.1.1.6.0
    Tomcat 6.0.36
    Catalina.log
    2013-4-16 10:29:58 oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    Failed to register config mbean for defaultApplicationName.
    2013-4-16 10:29:58 oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    oracle.jrf.UnknownPlatformException:
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
         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:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    localhost.log
    2013-4-16 10:29:58 org.apache.catalina.core.StandardContext listenerStart
    严重: Exception sending context initialized event to listener instance of class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
    oracle.adf.share.ADFShareException: getMDSInstance error
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
         at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
         at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:75)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
         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:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: java.lang.NoClassDefFoundError: oracle/core/ojdl/MessageType
         at oracle.dms.instrument.Level.initLevel(Level.java:215)
         at oracle.dms.instrument.LogLevel.initLogLevel(LogLevel.java:41)
         at oracle.dms.instrument.LogLevel.<clinit>(LogLevel.java:23)
         at oracle.dms.instrument.Noun.<clinit>(Noun.java:2189)
         at oracle.adf.share.perf.Timer.createTimer(Timer.java:259)
         at oracle.adf.share.perf.Timer.createTimer(Timer.java:156)
         at oracle.mds.internal.util.MDSTimer.<init>(MDSTimer.java:350)
         at oracle.mds.internal.util.MDSTimer.createTimer(MDSTimer.java:89)
         at oracle.mds.core.MDSInstance.<clinit>(MDSInstance.java:3022)
         at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
         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:597)
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
         ... 32 more
    Caused by: java.lang.ClassNotFoundException: oracle.core.ojdl.MessageType
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 47 more
    2013-4-16 10:29:59 org.apache.catalina.core.StandardContext listenerStart
    严重: Exception sending context initialized event to listener instance of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
         at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2149)
         at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:109)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
         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:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    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:597)
         at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2110)
         ... 25 more
    Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
         at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
         at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:332)
         ... 30 more
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
         at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
         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:597)
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
         ... 38 more
    2013-4-16 10:30:02 org.apache.catalina.core.StandardContext listenerStart
    严重: Exception sending context initialized event to listener instance of class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
    oracle.adf.share.ADFShareException: getMDSInstance error
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
         at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
         at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:75)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
         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:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
         at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
         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:597)
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
         ... 32 more
    2013-4-16 10:30:02 org.apache.catalina.core.StandardContext listenerStart
    严重: Exception sending context initialized event to listener instance of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
         at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2149)
         at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:109)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
         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:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    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:597)
         at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2110)
         ... 25 more
    Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:85)
         at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:96)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:626)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:277)
         at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1674)
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:402)
         at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:332)
         ... 30 more
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.mds.core.MDSInstance
         at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:439)
         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:597)
         at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
         ... 38 more
    files in ${catalina.home}/lib
    adf-controller-api.jar
    adf-controller-rt-common.jar
    adf-controller.jar
    adf-faces-databinding-rt.jar
    adf-pageflow-dtrt.jar
    adf-pageflow-fwk.jar
    adf-pageflow-impl.jar
    adf-pageflow-rc.jar
    adf-richclient-api-11.jar
    adf-richclient-impl-11.jar
    adf-share-base.jar
    adf-share-ca.jar
    adf-share-support.jar
    adflibfilter.jar
    adflogginghandler.jar
    adfm.jar
    adfmweb.jar
    adfsharembean.jar
    annotations-api.jar
    bc4j-mbeans.jar
    cache.jar
    catalina-ant.jar
    catalina-ha.jar
    catalina-tribes.jar
    catalina.jar
    commons-el.jar
    db-ca.jar
    dms.jar
    dvt-faces.jar
    dvt-jclient.jar
    dvt-utils.jar
    ecj-3.7.2.jar
    el-api.jar
    fmw_audit.jar
    identitystore.jar
    inspect4.jar
    jars.txt
    jasper-el.jar
    jasper-jdt.jar
    jasper.jar
    javatools-nodeps.jar
    javax.mail.jar
    javax.management.j2ee_1.0.jar
    jewt4.jar
    jmxframework.jar
    jmxspi.jar
    jps-api.jar
    jps-common.jar
    jps-ee.jar
    jps-internal.jar
    jps-unsupported-api.jar
    jrf-api.jar
    jsf-api.jar
    jsf-ri.jar
    jsp-api.jar
    jstl.jar
    mdsrt.jar
    ojdbc6.jar
    oracle-el.jar
    oracle.xdb_11.1.0.jar
    oraclepki.jar
    org.apache.commons.beanutils_1.6.jar
    org.apache.commons.collections-3.1.jar
    org.apache.commons.logging_1.0.4.jar
    osdt_cert.jar
    osdt_core.jar
    servlet-api.jar
    share.jar
    standard.jar
    tomcat-coyote.jar
    tomcat-dbcp.jar
    tomcat-i18n-es.jar
    tomcat-i18n-fr.jar
    tomcat-i18n-ja.jar
    trinidad-api.jar
    trinidad-impl.jar
    wls-api.jar
    xercesImpl.jar
    xml.jar
    xmlef.jar
    xmlparserv2.jar
    Any workaround?
    Thanks in advance.
    Jason
    Edited by: 1000221 on Apr 15, 2013 8:11 PM

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • Memory Profiling OPMN changes

    When I add the -agentpath option specified in the JDeveloper document to configure the remote memory profiling in Oracle 10g Application server's opmn.xml I get following error "Unrecognized option -agentpath..." and the server does not start.
    Has anyone successfully configured the application server to perform remote profiling?

    Thank you, shgoel, you're right.
    We replaced the default JDK 1.4 with JDK 1.5 (in the directory D:\Ora10gas\as\jdk\ to be precise)
    We moved the profiler DLL to the JDK bin and used the -agentlib option instead of the -agentpath (not sure if this change was significant, though)
    To the Java start-parameters in opmn.xml we added the profiling port and a pointer to the profiler-agent.jar.
    The resulting Java start parameters where:
    -server -Xrs -Xmx512m
    -agentlib:profiler15=port=4627,jarpath=D:\jdev\lib\profiler-agent.jar,enable=m
    -Dmic.system.home=d:\mic_home
    -Dmic.j2ee.home=D:\Ora10gas\as\j2ee\OC4J_MIC\applications\mic
    With these settings we where able to connect remotely with JDevelopers memory profiler and resolve a memory leak.
    Thanks
    Niels Erik

  • How to deploy web app from PC to Linux with Netbeans ?

    I am developing a web app in Netbeans 6.0 on my PC, using the Tomcat comes with the IDE, now I need to deploy it to a Linux server running Tomcat, can I do it from inside the IDE ? Can it copy all the servlets and other java classes to the Linux for me ? If so, what info does it need from me ? Login, password ... ?
    If not, how can I do it by hand ?
    Frank

    RTFM
    You need to consult the NetBeans Help to see if it will export a WAR/EAR. Regarding getting it over to Linux, there are some issues there. But if you have visibility to the Linux deploy directory from your PC then it's possible. It's certainly possible to do ALL of this using Apache Ant.

  • Memory profiling oc4j application on linux

    Is there any way I can use Jdeveloper's memory profiler to connect to an application running in oc4j on a remote linux server? I don't see this as being possible because it seems to require ojvm which isn't available on linux. Am I wrong? What are my alternatives? I really need to profile my memory usage on this server.

    You can install OJVM on Linux see:
    http://www.oracle.com/technology/products/jdev/htdocs/9.0.5.2/readme.html#ojvm_install_linux
    And you might also want to try installing 10.1.3 on linux and using it for profiling.

  • Questions regarding Outlook Web App, Remote Desktop, Remote Web Access and VPN Access

    Hi there,
    I want to ask a series of questions regarding Outlook Web App, Remote Desktop, Remote Web Access and VPN access and was hoping whether you could help me. Below are my questions to ask you.
    Outlook Web App - What do I need to configure in order to get my Exchange account to work with the OWA app on my iPhone? Is Office 360 required on the server that hosts Outlook Web App in our organisation? When I configure the settings and
    connect I get the following message "couldn't connect -  We couldn't connect to the server. Check your information and make sure it's correct." I can connect with other devices using Outlook Web App.
    Remote Desktop - What do I need to configure in order to connect to my computer at work using Remote Desktop on my Windows Phone? When I configure the settings and connect I get the following message "Connection error - We couldn't connect
    to the remote PC. Make sure the PC is turned on and connected to the network, and that remote access is enabled. Inquiring minds may find this error code helpful: 0x204" I can connect with other devices using Remote Desktop. There are currently no
    RD Server settings in the Remote Desktop app on the Windows Phone and the only way I'm to connect to my PC at work is via Remote Desktop and not to be confused with the one by Microsoft, however the app is on a trial basis and times out every 5 minutes and
    can only be used once every hour unless I purchased the app for £2.99 off the App Store but would ideally like to use the Microsoft Remote Desktop app though.
    Remote Web Access - What do I need to configure in order to get Remote Web Access on my Windows Phone using a URL? When I log in using a URL I get the following message "There is a problem with this Web page. Please contact the person who manages
    the server" I can connect with other devices using Remote Web Access. Also how do you enable the background option for Remote Web Access? I know how to do this in Remote Desktop but not in Remote Web Access. Remote Web Access works on PCs regardless
    being onsite and offsite and on my iPhone, the same issue also occurs with my Nokia 5230s regardless of whether I'm using Opera Mobile or Mini or the latest Nokia Browser.
    VPN access - How do you configure VPN access on a Windows Phone using VPN? I cannot find the protocols PPTP, L2TP, SSTP and IPsec in order to configure VPN access on the Windows Phone apart from IKEv2.
    Many thanks,
    RocknRollTim

    Any help would be much appreciated.
    Kind regards,
    RocknRollTim

  • Windows 2008 Server crashed - How to find location of remote shared files that they used to access on remote web app?

    We have a client that was running windows 2008 server.  A previous IT person had setup their system, so we were walking into a situation where there were many unknowns.  Server was mainly handling emails only, and we were able to get their exchange
    database off and export PSTs to hosted exchange via microsoft.
    Everything went fine with that, however one user said that he used to access files on the server via the remote web app as he described.  He would go to the following url:
    https://mail.theirdomain.com/remote/menu.aspx#
    and he would use his login and then he would see several links to folders.  He could then click on those and see his desired files.  
    We were able to get the server booted again, however we could not find any of the files he described on it at all, leaving me to suspect that perhaps this remote link was accessing another PC.  
    We have the old server up and running, however the link above is no longer active because we have pointed the domain to the new hosted exchange server.  As I am still learning and my boss wanted me to research this on my own and figure out how to find
    out where these files are located.  Any advice would be greatly appreciated.  
    Just as a note I did try access mail.localhost.com/remote/menu.aspx# on the server but this did not work.  Is there any way in the IIS 7 management console to figure out where this was pointing to?  

    I figured it out - The server was using sharepoint to host these files.  I browsed localhost:987 and opened the sharepoint site locally on the server.  They had several documents to be exported, however when clicking on Open in Explorer it was
    giving an error that local client was not configured.  I installed Desktop Experience and after that was able to open it in Windows Explorer and copy all files off.  

  • How to change the index page of tomcat to a specific page in a  web app.

    hi all
    i am trying to figure out a way to change default application to a specific web application deployed in tomcat, so that when you type localhost:8080, it will start with the web app. basically i want to get ride of the context or map the context to the default page. i.e. map this http://localhost:8080/example/ to http://localhost:8080/. thanks.

    maybe i didn't explain myself clearly as to what i needed to do.
    i have created a web application and deployed into tomcat 5.5 with a context of "example". the path looks something like this: $catalina_home/webapps/example. in order to access the application, i need to type http://localhost:8080/example in the browser. is there any way to change it so that when i type http://localhost:8080, it will take me to my web application without accessing the tomcat index page.
    thanks.

  • How to refer to JNDI PROVIDER_URL from within Tomcat Web app

    Can anyone provide a clear description on how to refer to a "Provider_URL" relative to the web application root for which a Java Class resides within? My issue is as follows. I've looked through the JNDI tutorial and the Tomcat JNDI How-To's and I'm still unable to find a solution.
    I'll elaborate:
    I have a "PROVIDER_URL" class variable defined as:
    private String PROVIDER_URL = "file:/C:/development/MyProject/MyWebApplication/WEB-INF/properties";I initialize my JNDI context within the class:
    Properties properties = new Properties();
    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");
    properties.setProperty(Context.PROVIDER_URL, PROVIDER_URL);
    context = new InitialContext(properties);
    cpds = (ConnectionPoolDataSource) context.lookup(baseName);
    ...The above example works fine. My question is given my web app's directory, how do I refer to "MyWebApplication/WEB-INF/properties" in a relative manner so that if I move my web application to a different server, the directory path does not affect my deployment and I dont have to hardcode the current path? Does this need to occur in the "server.xml" file? Can you provide a URL to an example?
    Your suggestions are appreciated...thanks.

    try to give
    http://localhost:8080
    or the app server based port address.

  • The behavior of the emergent forms of the software in RD Web App is different in Mac and iPhone-iPad, they appear and disappear intermittently. (Remote Desktop Services - Azure).

    In Mac the forms are not integrated as one window, they appear and disappear intermittently. There is no option to configure it. In the iPhone-iPad RDP app, there is no problem with
    that, when some form gets focus the other forms remain stable. Do you have any suggestions?<o:p></o:p>

    Hi David,
    Thank you for posting in Windows Server Forum.
    What happens when you perform Remote Desktop to any server from MRD MAC?
    Did you find everything working normally?
    If you re RDPing then there is manual configuration available, URI scheme which you can try as beneath,
    Remote Desktop Client URI Scheme Support
    For RD Web app, did you get any error\log for your issue? If yes, then please specify for further troubleshooting.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for