Wierd performance in tomcat/java: help consult

hello
after to test my project in tomcat 5.5.23 and jdk 5 update 12
in network(intranet-only until now with 2 clients) i see that this is fast, after of a some time i can see a wonderful exception
related with java heap exception thrown by the tomcat
after to search in google, i found the solution for windows
(server works with windows XP SP2) related to give some values
for memory ram values to the tomcat5w.exe
http://computerlabsolutions.com/supp...hp#performance
i only did the second step
according to this
>
Click on the Java tab, and enter 128 in the Initial Memory Pool, and 350 or 400 in the Maximum Memory Pool.Leave the other field blank.
so my values are
128 in the Initial Memory Pool
400mb Maximum Memory Pool
the point is that the server is a intel dual core with 3ghz for each , and has DDR2 512 MB of ram
ok, its works, the point is that after to restart the server, the system is fast again,
but then again after of some time the performance go to very slow
if i do ctrl+ alt+ del to see the performance of the pc related with the ram
i taked a picture when start the wierd performance
my ram go to 645MB and swap 46200KB
i thought if i stop to use the system/application(5 minutes),
i can give the chance to the java or tomcat to get and free
some resources
well not the ram go to 640MB and swap to 45276KB
of course if i shutdown my tomcat
i have now these values
RAM 319MB and swap 44564KB
is normal this?,
i dont think so
some important suggestion/advice by our members??
BTW: i am using pool connections related with the db area
thanks so much for advanced

I suspect you are paging. You've allowed the Java object heap to grow to 400MB, but you need physical memory for other things (the executable, thread stacks, the operating system, etc.) I think what you are seeing is that performance is good until you start to page the Java virtual machine, at which point performance probably hits a wall. And having things slow down can cause queues to back up, retransmissions to happen, etc, increasing your memory load and making things worse.
Either buy more memory, or try tuning that 400MB down to a level that your machine can sustain. If you have GC logs, you can tell how much live data you have, which could help you choose an appropriate value for the maximum memory pool.

Similar Messages

  • JCAActivationAgent::load - Error while performing endpoint activation:java.

    Hi,
    I am getting following error while deploying a BPEL process. This is very surprising because the process used to run fine until yesterday. Also for some time I was getting a funny error - the JDev was not able to "read" a wsdl file on local machine. I restarted the server, machine many times but it did not help. I do not have any proxies set and the file resides on my local harddrive.
    <2006-04-11 11:30:20,090> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::load - Er
    ror while performing endpoint activation:java.lang.NullPointerException
    <2006-04-11 11:30:20,090> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound>
    java.lang.NullPointerException
    at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.load(JCAActivationAgent.java:208)
    at com.collaxa.cube.engine.core.BaseCubeProcess.loadActivationAgents(BaseCubeProcess.java:931)
    at com.collaxa.cube.engine.core.BaseCubeProcess.load(BaseCubeProcess.java:302)
    at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:66)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:391)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.load(CubeProcessLoader.java:302)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:881)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:789)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAll(CubeProcessHolder.java:361)
    at com.collaxa.cube.engine.CubeEngine.loadAllProcesses(CubeEngine.java:960)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:284)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:250)
    at com.collaxa.cube.ejb.impl.ServerBean.loadProcesses(ServerBean.java:219)
    at IServerBean_StatelessSessionBeanWrapper14.loadProcesses(IServerBean_StatelessSessionBeanWrapper14.java:2399)
    at com.collaxa.cube.admin.agents.ProcessLoaderAgent$ProcessJob.execute(ProcessLoaderAgent.java:395)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:141)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:281)
    <2006-04-11 11:30:20,152> <ERROR> <default.collaxa.cube.engine.deployment> <CubeProcessLoader::create>
    <2006-04-11 11:30:20,152> <ERROR> <default.collaxa.cube.engine.deployment> Process "CallHomeBPEL" (revision "1.0") load FAILE
    D!!
    <2006-04-11 11:30:20,230> <ERROR> <default.collaxa.cube.engine.deployment> <CubeProcessHolder::loadAll> Error while loading p
    rocess 'CallHomeBPEL', rev '1.0': Error while loading process.
    The process domain encountered the following errors while loading the process "CallHomeBPEL" (revision "1.0"): null.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    Please help.

    Finally , I was able to redeploy the process. After comparing new files with old files I observed an activationAgents entry in bpel.xml, which was not present previously.
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="CallHomeFileUtility">
    <property name="portType">Read_ptt</property>
    </activationAgent>
    </activationAgents>
    when I removed this from bpel.xml the process deployed successfully. Not sure when the <activationAgents> is added to bpel.xml
    Thanks for your inputs.

  • Performance problem with java stored procedure

    hi,
    i developped a java class, then I stored it in Oracle 8.1.7.
    This class contains several import of other classes stored in the database.
    It works, but the execution perfomances are disappointing. It's very long. I guess, that's because of the great number of classes to load that are necessary for my class execution.
    I tried to increase the size of the java pool (I parameter 70 Mo in the java_pool_size parameter of the init.ora), but the performance is not much better.
    Has anyone an idea to increase the performance of this execution of my class ?
    In particular, is there a way to keep permanently in memory the java objects used by my class ?
    Thanks in advance
    bye
    [email protected]
    null

    before running Java, the database session needs to be Java enabled; this might be the reason why it is taking so long. If this is the case, you should see an improvement in subsequent calls, once a database session is Java enabled, other users can benefit from it.
    Kuassi
    I have some performance issue with java stored procedure. Hope some one will be able to help me out. I'm using java stored procedures in my application and basically these procedures are used to do some validation and form the XML message of the database tables. I have noticed that when I call the PL/SQL wrapper function, it is taking time to load the java class and once the class is loaded the execution is faster. Most of the time is spent for loading the class rather than executing the function. if I reduce the class load time, I can improve the performance drastically. Do any one of you know how to reduce the class load time. The following are the platform and oracle version.
    O/S: IBM AIX
    Oracle: 8.1.7

  • Unable to load performance pack, using Java I/O on WL60, sp2

    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6, we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable to load performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some user accounts.
    I was wondering what causes this exception. Some user accounts in the same machine
    don't have this problem.
    I also wondering if it will cause performance problem when the traffic is high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -Ju

    Dear Deyan,
    Thanks for your help. We do have $WEBLOGIC_HOME/lib/solaris in LD_LIBRARY_PATH,
    which is set when running ". setEnv.sh" before startWebLogic.sh.
    We failed on one patch: 105210-27, for some reason.
    The strange thing is: in the same machine, all WL60 instances running under user
    accounts (under /users/developers/) have no such error. But it happens under some
    account, like accounts under /export/home/, etc. /user/developers is mounted on
    another physical machine.
    -Ju
    "Deyan D. Bektchiev" <[email protected]> wrote:
    >
    You should have the $WEBLOGIC_HOME/lib/solaris directory in your LD_LIBRARY_PATH
    so that
    the server can load the performance pack (which is a shared library called
    libmuxer.so).
    If it is present then do a ldd libmuzer.so and you will see if any libraries
    that it
    depends on are missing.
    Also make sure you have all of the requered patches for 2.6 installed.
    --dejan
    Ju Rao wrote:
    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6,we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable toload performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some useraccounts.
    I was wondering what causes this exception. Some user accounts in thesame machine
    don't have this problem.
    I also wondering if it will cause performance problem when the trafficis high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -JuContent-Description: Card for Deyan D. Bektchiev
    begin:vcard
    n:Bektchiev;Deyan
    tel;home:1-650-363-6055
    tel;work:1-650-289-1046
    x-mozilla-html:TRUE
    url:http://www.appl.net/
    org:Application Networks
    adr:;;444 Ramona St;Palo Alto;CA;94301;USA
    version:2.1
    email;internet:[email protected]
    fn:Deyan D. Bektchiev
    end:vcard

  • Can't start Tomcat!  help me!

    Hello all,
    I have used JDK1.3.1; now I download Tomcat, I write a batch file includes:
    set JAVA_HOME=C:\JDK1.3.1
    set ANT_HOME=C:\jakarta-tomcat
    set TOMCAT_HOME=C:\jakarta-tomcat
    set CLASSPATH=%CLASSPATH%;C:\jdk1.3.1\lib\tools.jar;
    and run it;
    now I go to C:\jakarta-tomcat\bin and type 'startup':
    C:\jakarta-tomcat\bin>startup
    Including all jars in C:\jakarta-tomcat\lib in your CLASSPATH.
    Using CLASSPATH: C:\jakarta-tomcat\classes;C:\jakarta-tomcat\lib\ant.jar;C:\jaka
    rta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\jaxp.jar;C:\jakarta-tomcat\lib\p
    arser.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\webserver.jar;
    ;C:\jdk1.3.1\lib\tools.jar;;C:\JDK1.3.1\lib\tools.jar
    Starting Tomcat in new window
    but the new window disappear after several seconds,Tomcat doesn't start.Then, I type 'tomcat run':
    C:\jakarta-tomcat\bin>tomcat run
    Including all jars in C:\jakarta-tomcat\lib in your CLASSPATH.
    Using CLASSPATH: C:\jakarta-tomcat\classes;C:\jakarta-tomcat\lib\ant.jar;C:\jaka
    rta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\jaxp.jar;C:\jakarta-tomcat\lib\p
    arser.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\webserver.jar;
    ;C:\jdk1.3.1\lib\tools.jar;;C:\JDK1.3.1\lib\tools.jar
    ERROR reading C:\jakarta-tomcat\conf\server.xml
    At Line 121 /Server/ContextManager/ContextInterceptor/ className=org.apache.tomc
    at.context.LoaderInterceptor
    FATAL: configuration error
    java.lang.ClassNotFoundException: org.apache.tomcat.context.LoaderInterceptor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:453)
    at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:314)
    at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:68)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1390)
    at com.sun.xml.parser.Parser.content(Parser.java:1498)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
    at com.sun.xml.parser.Parser.content(Parser.java:1498)
    at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
    at com.sun.xml.parser.Parser.parse(Parser.java:283)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
    at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
    at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
    C:\jakarta-tomcat\bin>
    What's this problem? How can I do?please help me,
    thanks

    Modify the classpath as follows.
    set JAVA_HOME=C:\JDK1.3.1
    set ANT_HOME=C:\jakarta-tomcat
    set TOMCAT_HOME=C:\jakarta-tomcat
    set CLASSPATH=%CLASSPATH%;C:\jdk1.3.1\lib\tools.jar;JAVA_HOME\lib;
    Modify the Path as follows
    set PATH = %PATH%;%JAVA_HOME%\bin;%TOMCAT_HOME%\bin

  • Wscompile.bat shows java help

    Hello to everyone!,
    I have unusual problem with my JWSDP 1.6. I am trying to run wscompile.bat on my windows XP. but instead of wscompile help or stubs generated I get java help like this:
    Usage: java [-options] class [args...]
               (to execute a class)
       or  java [-options] -jar jarfile [args...]
               (to execute a jar file)
    where options include:
        -client       to select the "client" VM
        -server       to select the "server" VM
        -hotspot      is a synonym for the "client" VM  [deprecated]
                      The default VM is client.
        -cp <class search path of directories and zip/jar files>
        -classpath <class search path of directories and zip/jar files>
                      A ; separated list of directories, JAR archives,
                      and ZIP archives to search for class files.
        -D<name>=<value>
                      set a system property
        -verbose[:class|gc|jni]
                      enable verbose output
        -version      print product version and exit
        -version:<value>
                      require the specified version to run
        -showversion  print product version and continue
        -jre-restrict-search | -jre-no-restrict-search
                      include/exclude user private JREs in the version search
        -? -help      print this help message
        -X            print help on non-standard options
        -ea[:<packagename>...|:<classname>]
        -enableassertions[:<packagename>...|:<classname>]
                      enable assertions
        -da[:<packagename>...|:<classname>]
        -disableassertions[:<packagename>...|:<classname>]
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
        -agentlib:<libname>[=<options>]
                      load native agent library <libname>, e.g. -agentlib:hprof
                        see also, -agentlib:jdwp=help and -agentlib:hprof=help
        -agentpath:<pathname>[=<options>]
                      load native agent library by full pathname
        -javaagent:<jarpath>[=<options>]
                      load Java programming language agent, see java.lang.instrumentI am waisting too much time trying to sort it out on my own, so please help me.
    Cheers
    Michal

    Thanks a lot for your quick response. You was right. Now I am getting somthing diffrent:
    java.io.FileNotFoundException: D:\Development\Tomcat\jakarta-tomcat-5.0.27\bin\l
    auncher.xml (The system cannot find the file specified)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    243)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    140)
            at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
            at org.apache.commons.launcher.Launcher.start(Launcher.java:390)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)Do you know what's going on ?
    Take care
    Michal

  • XSLT mapping with Java helper classes

    Hi,
    I'm trying to implement a XSLT mapping to convert my request to a specific soap request message format for this I'm calling some methods from a java helper class. I have imported the jar file into the archives. When I tried to test the interface it keeps complaing there is some exception but doesn't give me the exact error. Has any one called any java helper classes with in XSLT mapping, if so I would appreciate if you could help me with this. Here is the code from xsl.
    <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"   xmlns:UserToken="java:com.company.test.mapping.UserTokenMap">
    <wsse:UsernameToken>
        <wsse:Username xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
          <xsl:value-of select="UserToken:getUsername()"/>
        </wsse:Username>
        <wsse:Password wsse:Type="wsse:PasswordDigest" xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getPasswordDigest()"/>
        </wsse:Password>
        <wsse:Nonce xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getNonce()"/>
        </wsse:Nonce>
        <wsu:Created xsi:type="soapenc:string" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getCreateDate()"/>
    </wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    Thanks,
    Joe

    Hi,
    I'm getting following exception when I refer to the java class with in my XSLT mapping. Any one encountered the same problem.
    com.sap.engine.services.ejb.exceptions.BaseRemoteException:
    Exception in method transform.
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:218)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native
    Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.UnsupportedClassVersionError:
    com/earthlink/xi/mapping/UserTokenMap (Unsupported
    major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native
    Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingLoader.findClass(RepMappingLoader.java:175)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at com.sap.engine.lib.xsl.xpath.JLBLibrary.<init>(JLBLibrary.java:33)
         at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:69)
         at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51)
         at com.sap.engine.lib.xsl.xslt.XSLValueOf.process(XSLValueOf.java:76)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394)
         at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398)
         at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80)
         at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107)
         at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127)
         at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167)
         ... 10 more
    ; nested exception is:
         java.lang.UnsupportedClassVersionError:
    com/earthlink/xi/mapping/UserTokenMap (Unsupported
    major.minor version 49.0)

  • MAC Mini Performance and display quality help needed!

    I am new to the mac, having used pcs for what feels like hundreds of years.
    I am enjoying the experience, but my MAC mini is so slow. Its a 2014 i5 2.6 Ghz with 8GB of RAM.
    For example starting safari takes 20+ seconds from clicking the icon to being able to type a web address.
    Also the display is not brilliant the text is blurred. I am using a LG HD Monitor running at 1920 x 1080 and 60 Hz.
    I have a Dell PC with very similar specs connected to the same monitor and it does not suffer blurred display.
    Thanks for your help

    EtreCheck version: 2.2 (132)
    Report generated 5/4/15, 11:26 AM
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        Mac mini (Late 2014) (Technical Specifications)
        Mac mini - model: Macmini7,1
        1 2.6 GHz Intel Core i5 CPU: 2-core
        8 GB RAM Not upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n/ac
    Video Information: ℹ️
        Intel Iris
            IPS237 1920 x 1080
    System Software: ℹ️
        OS X 10.10.3 (14D136) - Time since boot: 0:9:48
    Disk Information: ℹ️
        APPLE HDD HTS541010A9E662 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 998.98 GB (641.30 GB free)
                Core Storage: disk0s2 999.35 GB Online
    USB Information: ℹ️
        Apple, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Microsoft Microsoft® LifeCam Cinema(TM)
        Hercules Rocksmith USB Guitar Adapter
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Anywhere
    Kernel Extensions: ℹ️
            /Library/Application Support/VirtualBox
        [loaded]    org.virtualbox.kext.VBoxDrv (4.3.26) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetAdp (4.3.26) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetFlt (4.3.26) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxUSB (4.3.26) [Click for support]
            /Library/Extensions
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Click for support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.motorola-mobility.driver.MotMobileUSB (1.2.2 - SDK 10.5) [Click for support]
            /System/Library/Extensions/MotMobileUSB.kext/Contents/PlugIns
        [not loaded]    com.motorola-mobility.driver.MotMobileMS (1.0.0 - SDK 10.5) [Click for support]
        [not loaded]    com.motorola-mobility.driver.MotMobileMTP (1.2.2 - SDK 10.5) [Click for support]
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBLAN (1.2.2 - SDK 10.5) [Click for support]
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBLANMerge (1.2.2 - SDK 10.5) [Click for support]
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBSwch (1.2.2 - SDK 10.5) [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.mokafive.m5tray.plist [Click for support]
        [failed]    com.motorola.MDMUpdater.plist [Click for support] [Click for details]
        [running]    com.motorola.motohelper.plist [Click for support]
        [loaded]    com.motorola.motohelperUpdater.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.sophos.uiserver.plist [Click for support]
        [failed]    net.juniper.pulsetray.plist [Click for support] [Click for details]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.ea.origin.ESHelper.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [running]    com.motorola-mobility.mmcfgd.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [running]    com.sophos.common.servicemanager.plist [Click for support]
        [loaded]    jp.co.canon.IJNetworkToolHelper.plist [Click for support]
        [failed]    net.juniper.AccessService.plist [Click for support]
        [not loaded]    net.juniper.UninstallPulse.plist [Click for support]
        [not loaded]    org.virtualbox.startup.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.lastpass.LastPassHelper.plist [Click for support] [Click for details]
        [running]    com.spotify.webhelper.plist [Click for support]
        [loaded]    com.valvesoftware.steamclean.plist [Click for support]
        [not loaded]    org.virtualbox.vboxwebsrv.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Google Chrome    Application  (/Applications/Google Chrome.app)
        Canon IJ Network Scanner Selector2    Application Hidden (/Library/Printers/Canon/IJScanner/Utilities/Canon IJ Network Scanner Selector2.app)
        Skype    Application Hidden (/Applications/Skype.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        EPPEX Plugin: Version: 10.0 [Click for support]
        Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.9 - SDK 10.6 [Click for support]
        nplastpass: Version: 3.1.89 - SDK 10.10 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        MeetingJoinPlugin: Version: Unknown - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 40 Check version
    Safari Extensions: ℹ️
        Evernote Web Clipper
        PasswordBox
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        FUSE for OS X (OSXFUSE)  [Click for support]
        Java  [Click for support]
        MusicManager  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             4%    WindowServer
             1%    fontd
             1%    loginwindow
             1%    Google Chrome Helper(13)
             0%    taskgated
    Top Processes by Memory: ℹ️
        909 MB    Google Chrome Helper(13)
        674 MB    kernel_task
        467 MB    mdworker(12)
        401 MB    com.apple.WebKit.WebContent(5)
        180 MB    SophosScanD
    Virtual Memory Information: ℹ️
        1.24 GB    Free RAM
        6.76 GB    Used RAM
        0 B    Swap Used
    Diagnostics Information: ℹ️
        May 4, 2015, 10:08:53 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/Google Chrome_2015-05-04-100853_[redacted].crash
        May 2, 2015, 07:47:11 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/EvernoteHelper_2015-05-02-0747 11_[redacted].crash
        May 4, 2015, 11:13:54 AM    Self test - passed
        May 4, 2015, 10:02:56 AM    /Library/Logs/DiagnosticReports/Microsoft AutoUpdate_2015-05-04-100256_[redacted].cpu_resource.diag [Click for details]
        May 2, 2015, 09:13:07 AM    /Library/Logs/DiagnosticReports/Microsoft AutoUpdate_2015-05-02-091307_[redacted].cpu_resource.diag [Click for details]

  • How to bundle java help class into jar file ?

    Hi, all,
    I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar.
    Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with command:
    java -jar my.jar
    It tells me couldn't find javahelp class.
    What shall I do? How can I create my jar file with the jh.jar?
    Thanks in advance.

    I think you'd be better off just adding the jh.jar as
    a classpath argument and running it like that:
    java -classpath /myjavalibdir/jh.jar -jar myjar.jar
    ...otherwise you're stepping into redistribution of
    binary issues licensing-wise. That won't work either; when you run java with the -jar option, it ignores both the -classpath option and the CLASSPATH environment variable. However, it will see jh.jar automatically if you put it in the <path-to-java>/jre/lib/ext directory. But for distribution purposes, it might be simpler just to combime the contents of jh.jar into myjar.jar (if you use Ant, its <jar> task makes that very easy). Or, you can just run it this way:java -classpath myjar.jar;jar/jh.jar MyMainClassBTW, I don't think redistribution is a problem; otherwise how anyone even use JavaHelp?

  • XSLT Mapping : RFC Lookup using java helper class

    Hi All,
    I am doing RFC Lookup in xslt mapping using java helper class. I have found blog for the same (http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14) However this blog is very advanced.
    Can anybody help me with step by step approach for the same?
    My basic questions are not answered in the blog as:
    1) where to add the jar file of the java class used in xslt mapping.
    I have added zip file of XSLT mapping in imported archived and using that in mapping.
    Thanks in advace.
    Regards,
    Rohan

    Hi,
    Can u please have look at this in detail , u can easily point out yourself the problem...
    http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
    Please observe the line,
    xmlns:javamap="java:com.company.group.MappingClass
    in XSLT mapping..
    The packagename of class and class name and XSLT namespace should be matching...
    Babu
    Edited by: hlbabu123 on Sep 29, 2010 6:04 PM

  • Java Error in RFC Lookup in XSLT Mapping usinf Java helper class

    Hi All,
    I am doing RFC Lookup in XSLT Mapping using Java Helper class.
    The Lookup works fine when called one RFC at a time However my requirement is I want to do 2 Lookups.
    Both Lookups works when done individually however when I call both lookups in one mapping I get following error "javax.xml.transform.TransformerException: DOMSource whose Node is null."
    Following is the code I have written in XSLT for the lookup:
         <xsl:template name="Lookup_1">
              <xsl:param name="STDPN"/>
                   <rfc:RFC_READ_TABLE>
                        <QUERY_TABLE>KNA1</QUERY_TABLE>
                        <OPTIONS><item><TEXT>
                                  <xsl:value-of select="$STDPN"/>
                             </TEXT></item>
                        </OPTIONS>
                        <FIELDS>
                             <item>
                                  <FIELDNAME>KUNNR</FIELDNAME>
                             </item>
                        </FIELDS>
                   </rfc:RFC_READ_TABLE>
              </xsl:variable>
              <xsl:variable name="response" xmlns:lookup="java:urn.mt.pi" select="lookup:execute($request, 'BS_D, 'cc_RfcLookup', $inputparam)"/>
              <xsl:element name="STDPN">
                   <xsl:value-of select="$response//DATA/item/WA"/>
              </xsl:element>
         </xsl:template>
         <xsl:template name="Lookup_2">
              <xsl:param name="BELNR"/>
                   <xsl:variable name="Query">AGMNT = '<xsl:value-of select="$BELNR"/>'</xsl:variable>
                   <xsl:variable name="request1">
                        <rfc:RFC_READ_TABLE>
                             <QUERY_TABLE>ZTABLE</QUERY_TABLE>
                             <OPTIONS><item><TEXT>
                                  <xsl:value-of select="$Query"/>
                                  </TEXT></item>
                             </OPTIONS>
                             <FIELDS>
                                  <item>
                                       <FIELDNAME>KUNAG</FIELDNAME>
                                  </item>
                             </FIELDS>
                        </rfc:RFC_READ_TABLE>
                   </xsl:variable>
                   <xsl:variable name="response1" xmlns:lookup="java:urn.mt.pi" select="lookup:execute($request1, 'BS_D','cc_RfcLookup', $inputparam)"/>
                   <xsl:element name="BELNR">
                        <xsl:value-of select="$response1//DATA/item/WA"/>
                   </xsl:element>
         </xsl:template>
    My Question: Am I doing anything wrong? Or Is it possible to call multiple lookups in one XSLT?
    Thanks and Regards,
    Atul

    Hi Atul,
    I had the same problem like you had.
    The main Problem is that with the example code the request variable is created as NodeList object. In XSLT a variable is somekind of a constant and can't be changed. As the request object is empty after the first request the programm fails at the following line:
    Source source = new DOMSource(request.item(0));
    So I've created a workaround for this problem.
    In the call of the template I've put the request as a parameter object at the template call:
    <xsl:with-param name="req">
    <rfc:PLM_EXPLORE_BILL_OF_MATERIAL xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <APPLICATION>Z001</APPLICATION>
      <FLAG_NEW_EXPLOSION>X</FLAG_NEW_EXPLOSION>
      <MATERIALNUMBER><xsl:value-of select="value"/></MATERIALNUMBER>
      <PLANT>FSD0</PLANT>
      <VALIDFROM><xsl:value-of select="//Recordset/Row[name='DTM-031']/value"/></VALIDFROM>
      <BOMITEM_DATA/>
    </rfc:PLM_EXPLORE_BILL_OF_MATERIAL>
    </xsl:with-param>
    With this change the request will be provided as a String object and not as a NodeList object.
    Afterwards the RfcLookup.java has to be changed to the following:
    package com.franke.mappings;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.lookup.Channel;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.lookup.RfcAccessor;
    import com.sap.aii.mapping.lookup.LookupService;
    import com.sap.aii.mapping.lookup.XmlPayload;
    * @author Thorsten Nordholm Søbirk, AppliCon A/S
    * Helper class for using the XI Lookup API with XSLT mappings for calling RFCs.
    * The class is generic in that it can be used to call any remote-enabled
    * function module in R/3. Generation of the XML request document and parsing of
    * the XML response is left to the stylesheet, where this can be done in a very
    * natural manner.
    * TD:
    * Changed the class that request is sent as String, because of IndexOutOfBound-exception
    * When sending multiple requests in one XSLT mapping.
    public class RfcLookup {
         * Execute RFC lookup.
         * @param request RFC request - TD: changed to String
         * @param service name of service
         * @param channelName name of communication channel
         * @param inputParam mapping parameters
         * @return Node containing RFC response
         public static Node execute( String request,
                 String service,
                 String channelName,
                 Map inputParam)
              AbstractTrace trace = (AbstractTrace) inputParam.get(StreamTransformationConstants.MAPPING_TRACE);
              Node responseNode = null;
              try {
                  // Get channel and accessor
                  Channel channel = LookupService.getChannel(service, channelName);
                  RfcAccessor accessor = LookupService.getRfcAccessor(channel);
                   // Serialise request NodeList - TD: Not needed anymore as request is String
                   /*TransformerFactory factory = TransformerFactory.newInstance();
                   Transformer transformer = factory.newTransformer();
                   Source source = new DOMSource(request.item(0));
                   ByteArrayOutputStream baos = new ByteArrayOutputStream();
                   StreamResult streamResult = new StreamResult(baos);
                   transformer.transform(source, streamResult);*/
                    // TD: Add xml header and remove linefeeds for the request string
                    request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+request.replaceAll("[\r\n]+", ""); 
                    // TD: Get byte Array from request String to send afterwards
                    byte[] requestBytes = request.getBytes();
                   // TD: Not used anymore as request is String
                    //byte[] requestBytes = baos.toByteArray();
                    trace.addDebugMessage("RFC Request: " + new String(requestBytes));
                    // Create input stream representing the function module request message
                    InputStream inputStream = new ByteArrayInputStream(requestBytes);
                    // Create XmlPayload
                    XmlPayload requestPayload =LookupService.getXmlPayload(inputStream);
                    // Execute lookup
                    XmlPayload responsePayload = accessor.call(requestPayload);
                    InputStream responseStream = responsePayload.getContent();
                    TeeInputStream tee = new TeeInputStream(responseStream);
                    // Create DOM tree for response
                    DocumentBuilder docBuilder =DocumentBuilderFactory.newInstance().newDocumentBuilder();
                    Document document = docBuilder.parse(tee);
                    trace.addDebugMessage("RFC Response: " + tee.getStringContent());
                    responseNode = document.getFirstChild();
              } catch (Throwable t) {
                   StringWriter sw = new StringWriter();
                   t.printStackTrace(new PrintWriter(sw));
                   trace.addWarning(sw.toString());
              return responseNode;
         * Helper class which collects stream input while reading.
         static class TeeInputStream extends InputStream {
               private ByteArrayOutputStream baos;
               private InputStream wrappedInputStream;
               TeeInputStream(InputStream inputStream) {
                    baos = new ByteArrayOutputStream();
                    wrappedInputStream = inputStream;
               * @return stream content as String
               String getStringContent() {
                    return baos.toString();
              /* (non-Javadoc)
              * @see java.io.InputStream#read()
              public int read() throws IOException {
                   int r = wrappedInputStream.read();
                   baos.write(r);
                   return r;
    Then you need to compile and upload this class and it should work.
    I hope that this helps you.
    Best regards
    Till

  • Code Sample: Easy RFC Lookup From XSLT Mappings Using a Java Helper Class

    Hi everyone,
    This is just a shameless plug for my article: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14">Easy RFC Lookup From XSLT Mappings Using a Java Helper Class</a>. I hope you're interested in reading it, and I welcome your comments in this thread.
    Kind regards,
    Thorsten

    Hi Stefan. Thanks for your post. I have already done that. It still does not work. As a base for my java helper class I have usesd Thorstens code.
    The problem is quite confusing. I will try to ouline both issues here.
    First of all, when try to test from within the Operation Mapping, I always get a java error saying it cannot find the communication channel (it is there and working because I have tested it with the RFCLookup in graphical mapping). I have found a way to work around this, and that is to uncheck the "Use SAP XMLToolkit" checkbox --> switch to test tab, enter my ReceiverService in the parameter tab (header parameter) --> switch back to Definition tab, check the "Use SAP XMLToolkit" checkbox --> switch to Test tab and run the test. Then the XSLT and call to java helper class will work. Of course this is not really something you want to do all the time. Maybe there is a bug.
    Secondly, it never works when I try to do it "live". I am using a file adapter to pick up one file, convert it and a file adapter to drop the converted file. I get the following error code in SXMB_MONI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Request Message Mapping   -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">TRANSFORMER_CONF_EX</SAP:Code>
      <SAP:P1>ATJ_Accounting2XML_Accounting.xsl</SAP:P1>
      <SAP:P2>http://rd.accounting.logica.com</SAP:P2>
      <SAP:P3>fd552c30-bad9-11dd-9761-c21dac1b818c</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>TransformerConfigurationException triggered while loading XSLT mapping ATJ_Accounting2XML_Accounting.xsl; http://rd.accounting.logica.comfd552c30-bad9-11dd-9761-c21dac1b818c-1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Using an XSLT without a call to a java helper class, works just fine.
    I am totally at a loss here. Any more input would be much appreciated.
    /Patrik

  • Java Help Exception in Linux

    Hi all, I have a piece of code that initializes Java help on windows perfectly but the same code causes an exception in Linux. below is the exception I am getting in Linux. because of this, the applications help is not appearing in Linux. Does anybody know why this happens only in Linux / has come across this or a fix for this earlier?
    Also I am working on Linux for the first time and I noticed that when i gave a couple of System.outs in the code to find out what was happening, they appeared allright in windows, but did not appear in Linux !! (then even the exception below disappeared, and that did not load help either !!)
    java.lang.NullPointerException
    at javax.help.HelpSet.parseInto(HelpSet.java:567)
    at javax.help.HelpSet.<init>(HelpSet.java:129)
    at com.mysoftware.util.MyJavaHelp.<init>(MyJavaHelp.java:52)
    at com.mysoftware.util.MyJavaHelp.getInstance(MyJavaHelp.java:64)
    Parsing failed for null
    Got an IOException (null)
    An answer to this will be highly appreciated...

    At present I am not sure if I can post code. I am trying to find that out. However, can u tell me what u mean by a Windows - window? I will try to figure that out...
    Thanks a lot..

  • Embedded Tomcat Java Application

    Hi
    I am using an Embedded Tomcat Java Application.
    I am getting the following Exception when i run the program.
    java.lang.NullPointerException
         at org.apache.catalina.startup.DigesterFactory.register(DigesterFactory.java:174)
         at org.apache.catalina.startup.DigesterFactory.registerLocalSchema(DigesterFactory.java:130)
         at org.apache.catalina.startup.DigesterFactory.newDigester(DigesterFactory.java:92)
         at org.apache.catalina.startup.ContextConfig.createWebXmlDigester(ContextConfig.java:435)
         at org.apache.catalina.startup.ContextConfig.createWebDigester(ContextConfig.java:422)
         at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:499)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:846)
         at EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:77)
         at EmbeddedTomcat.main(EmbeddedTomcat.java:135)
    could anyone tell me how to solve this problem
    Thanx & Regards
    Faisal

    Hi
    R u able to resolve the problems.... If yes please provide me the info... I'm also facing the same problem...
    REgards
    siddhu

  • Unable to load performance pack, using Java I/O.

    Hi there,
    I am trying to start weblogic 6.0 from jBuilder. It does start, and
    working. But, I got the one problem about loading performance pack. The
    message is the following. Any comment?
    Thank you
    ----------------------------------------->Starting WebLogic Server ....
    <Jun 27, 2001 1:35:13 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 1:35:14 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 1:35:46 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

    Thank you
    But, it does not work. It does the same. Here is the message.
    ------------------------------------------------------------>C:\bea\jdk130\bin\javaw -classpath
    "S:\Java\classes;C:\jdk1.3\jre\lib\rt.jar;S:\Java\lib\activation.jar;S:\Java
    \lib\classes12.zip;S:\Java\lib\cos.jar;S:\Java\lib\dx3.0.jar;S:\Java\lib\dx3
    .0-res.jar;S:\Java\lib\fscontext.jar;S:\Java\lib\j2ee.jar;S:\Java\lib\java40
    .jar;S:\Java\lib\jgl3.1.0.jar;S:\Java\lib\jsdk21.jar;S:\Java\lib\junit.jar;S
    :\Java\lib\mail.jar;S:\Java\lib\msclasses.zip;S:\Java\lib\rootriver.report.j
    ar;S:\Java\lib\servlet.jar;S:\Java\lib\ServletExecDebugger.jar;S:\Java\lib\s
    truts.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;C:\bea\wlserver6.0sp1\lib\x
    mlx.jar;C:\bea\wlserver6.0sp1\bin;C:\junit3.5\junit.jar;C:\jakarta-struts-1.
    0-b1\lib\struts.jar;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBu
    ilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuil
    der4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBu
    ilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" -ms64m -mx64m -
    classpath
    "C:\bea\wlserver6.0sp1;C:\bea\wlserver6.0sp1\bin;C:\bea\wlserver6.0sp1\lib\w
    eblogic_sp.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;S:\Java\classes;S:\Jav
    a\lib\classes12.zip;C:\jakarta-struts-1.0-b1\lib\struts.jar;S:\Java\lib\dx3.
    0.jar;S:\Java\lib\rootriver.report.jar;S:\Java\lib;S:\Java\lib\struts.jar;"
    "-Dweblogic.RootDirectory=C:\bea\wlserver6.0sp1"
    "-Dweblogic.Domain=mydomain" "-Dweblogic.Name=myserver" "-Dbea.home=c:\bea"
    "-Djava.security.policy==c:\bea\wlserver6.0sp1\lib\weblogic.policy"
    "-Dweblogic.management.password=password" weblogic.Server -hotspot
    Starting WebLogic Server ....
    <Jun 27, 2001 4:00:39 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 4:00:50 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 4:02:32 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

Maybe you are looking for

  • HT5372 How can I access iCloud tabs from a PC?

    I don't own any apple devices other than an iPad and I don't see anyway to back up open tabs on Safari other than iCloud. I can't figure out how to access these back ups on my PC laptop. I have lost all tabs from errors twice now and it really hurts

  • Urgent help in Midp porting

    hi, Im Rahulya, i'm final year student of b.e. computer. I am working on my project ,which requires me to port midp on linux, and i guess anybody might have already ported midp,so i expect some help from u. I have already ported KVM on redhat linux,

  • Premiere elements 9 workspace will not load up after reinstalling the software

    i have been using premiere elements 9 on my laptop for a few years.    recently, I took my laptop into the local computer store to have it cleaned up due to virus', they backed up all my data, and left me with nothing but my windows 7 and my backed u

  • Transport protocol version error in Integration Directory API

    Hi All, I am trying to create SOAP receiver communication channel using Java-only PI 7.31 directory APIs. I have passed all the required parameters to the CommunicationChannelIn service, but it's throwing error - "Enter at least one object key for op

  • Would the Apple Universal Dock work with any cables?

    Does anybody know if the Apple Universal Dock works with any A/V composite cables for video out from the iPhone or the Nano 3rd gen., or do I have to buy the Apple $50 cables too?