Java plugin is hitting server to much for class files
Hi,
I am moving a jar plugin from the microsoft JVM to Sun JVM. It seems that while the file does run ok I am getting multiple hits to a handler.class file in multiple packages. As you see below:
network: Connecting http://128.1.1.152:8001/cis/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/protocol/file/DataSource.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/protocol/file/DataSource.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/protocol/file/DataSource.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/protocol/file/DataSource.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
Can anyonetell me what I need to do to improve the performance of my plugin in this case. Is a parameter not set?
Thanks,
Marc
If you are using the JDK 1.6 plugin, then you can set the "codebase_lookup" property to false to avoid these calls. Documented in
http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/special_attributes.html#specialattributes
If you're using JDK 1.5 or below, well, tough luck.
Similar Messages
-
Java.lang.AssertionError: WSDL not found in the class file "processes
Hi,
I am using WLI 10.3 workshop to build process application. I have designed one JPD which inturn call another process JPD. So i have used worklist process control to create the process and tried to access the process. When i am executing the code, i am getting below error message.
13-Jun-2011 14:13:00 o'clock BST> <Error> <WLI> <BEA-000000> <Exception processing processes.ISPSSQMsgLisnt
Java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
Truncated. see log file for complete stacktrace
Java.lang.AssertionError: WSDL not found in the class file "processes.ISPSSQMsgLisnt", annotated class = processes.ISPSSQMsgLisnt
--ClassAnnotations:
--Method Annotations:
--Field Annotations:
can't continue
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:392)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:65)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:55)
at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:382)
at com.bea.wli.knex.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
Truncated. see log file for complete stacktrace
xception processing processes.ISPSSQMsgLisnt
ava.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:628)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:1029)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:950)
at com.bea.wli.broker.JWSSubscriber.getDispClass(JWSSubscriber.java:231)
at com.bea.wli.broker.JWSSubscriber.getRequest(JWSSubscriber.java:184)
at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:358)
at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:348)
at com.bea.wli.broker.SubscriptionDispatcher.doDispatch(SubscriptionDispatcher.java:87)
at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.run(MessageBroker.java:179)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.security.authentication.AuthenticationService.runAs(AuthenticationService.java:108)
at com.bea.wli.broker.MsgBrokerSecurityHelper.doDispatch(MsgBrokerSecurityHelper.java:231)
at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.doDispatch(MessageBroker.java:165)
at com.bea.wli.broker.MessageBroker.publishMessage(MessageBroker.java:984)
at com.bea.wli.mbconnector.jms.JmsConnMDB.publishMBMessage(JmsConnMDB.java:343)
at com.bea.wli.mbconnector.jms.JmsConnMDB.onMessage(JmsConnMDB.java:475)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
aused by: java.lang.AssertionError: WSDL not found in the class file "processes.ISPSSQMsgLisnt", annotated class = processes.ISPSSQMsgLisnt
--ClassAnnotations:
--Method Annotations:
--Field Annotations:
can't continue
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:392)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:65)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:55)
at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:382)
at com.bea.wli.knex.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:24)
at com.bea.wli.bpm.runtime.JpdDispFile.<init>(JpdDispFile.java:108)
... 34 moreHi
Are you using wli process control?
That uses wsdl and could cause the issue.
I also saw couple of internal bugs CR264315 and CR288904 on the same issue on 9.2.
Since this is a wli issue could you post in the wli newsgroup to get more answers http://forums.bea.com/forum.jspa?forumID=2047 ?
Also you can open a BEA support case at http://support.bea.com and an wli support engineer would help you. Please refer to the Cr numbers above in your support case.
Thanks
Vimala -
Location for class files for the custom application
Hello everyone.
I want to create new custom application with the short name as "myapp". According to convention what should be the namespace? Should it be mycompany.app.myapp or should it have oracle somewhere in the namespace?
- YoraHi Yora,
Package Structure for Standard Application like below
oracle.apps.myapp.webui //Structure for Page and Region.xml(PG.xml,RN.xml,CO.class)
oracle.apps.myapp.server //Structure for .class files(VO,AM)
Package Structure for custom Application like below
mycompany.oracle.apps.myapp.webui //Structure for Page and Region.xml
mycompany.oracle.apps.myapp.server //Structure for .class files
Thanks,
Dilip -
Java Applet Error ClassFormatError, Incompatible value 1347093766 in class file Applet
So when i run my applet it yhows this error:
Java Applet Error ClassFormatError, Incompatible value 1347093766 in class file Applet
how can i fix this?
thanksstill didn't fix the problem. please help
-
Browser looks for class files even tho everything in jars
hi, in my webserver logs I get a lot of 404's for class files. The applet loads fine was just hoping to get the browser not to look for stuff besides the jars I give it. any ideas?
<applet codebase="/" archive="myarchive.jar" code="com.MyClassName">
Thanksany ideas?Not without a better explanation, example, code etc.
-
i have some class files, and i need to know what Java compiler used to compiled that class file (only care for the version number...like 1.4.2, 1.5.0, 1.1.0, etc)
any one know how i can get this info? or any good google keywords?thanx, since now i know how the class file bytes are set up..i guess i can get the version number by looking at the hex.
tedious (but not that tedious)...thought there be a simplier way...oh well..
thanx again -
Server 2012 SMB3 for redirecting files or VHD
Hello,
I’m new to Server 2012 and my question is, should I use Server 2012 SMB3 shares for redirecting files and folders or should I create a virtual HD, put the VHD in the shared folder and do file and folder redirection to the VHD? Is there a preference to use
shares folder or VHD in a shared folder on ? I’m obtaining my information from, Deploy Hyper-V over SMB
http://technet.microsoft.com/en-us/library/jj134187.aspx#BKMK_Step4 under Step 3.
Any insight would be appreciated.
Thanks, RickHello,
I’m new to Server 2012 and my question is, should I use Server 2012 SMB3 shares for redirecting files and folders or should I create a virtual HD, put the VHD in the shared folder and do file and folder redirection to the VHD? Is there a preference to use
shares folder or VHD in a shared folder on ? I’m obtaining my information from, Deploy Hyper-V over SMB
http://technet.microsoft.com/en-us/library/jj134187.aspx#BKMK_Step4 under Step 3.
Any insight would be appreciated.
Thanks, Rick
It's not clear what you want to do really. If you want to run VMs on the same machine then hosting them in a loopback on SMB 3.0 folder is not supported configuration. See:
Deploy Hyper-V over SMB
http://technet.microsoft.com/en-us/library/jj134187.aspx
"Loopback configurations (where the computer that is running Hyper-V is used as the file server for virtual
machine storage) are not supported."
Avoid
loopback configurations for Hyper-V over SMB
http://blogs.technet.com/b/josebda/archive/2012/11/14/windows-server-2012-file-server-tip-avoid-loopback-configurations-for-hyper-v-over-smb.aspx
If hypervisor and actual file server are different hosts then you'll be fine.
If you want to run VMs locally on the same host then again using "nested" VHD(x) is by far the best idea.
Did it put a bit more light on the issue? :)
StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts. -
WebLogic looking for class file using the wrong case
During my ant build, I precompile my JSPs using weblogic.jspc. All of the jars and wars are packaged into an ear and deployed to WebLogic 8.1 on Linux. When I access one of our normal screens, everything is good. Things go wrong when I try to access one of our help screens. We have a base help file that includes another file based on the screen code passed to it. The screen code is used in combination with a HashMap to look up the correct JSP to include. This part goes fine. But when the JSP is included, I get the following error. The best I can figure is that the class file is in mixed case (i.e., SampleHelp00.jsp and SampleHelp00.class), but Weblogic is looking for samplehelp00.class.
I'm not even where I should begin looking to solve this. Anyone have any ideas?
----- BEGIN STACKTRACE -----
javax.servlet.jsp.JspException:
[HTTP:101249][ServletContext(id=70634941,name=grp,context-path=/grp)]:
Servlet class jsp_servlet._help.__samplehelp00 for servlet
/help/SampleHelp00.jsp could not be loaded because the requested class was not found in the classpath
/usr/share/weblogic/weblogic81/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/wf-web-sys.wftesttest.war:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/Struts_Validator-20010702.jar:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/struts.jar:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/taglibs-session.jar:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/wf.wftesttest.jar:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/_wl_cls_gen.jar:
/weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp.
java.lang.ClassNotFoundException:
jsp_servlet._help.__samplehelp00.
at org.apache.struts.taglib.template.InsertTag.doEndTag()I(InsertTag.java:149)
at jsp_servlet.__su_hl0._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(__su_hl0.java:289)
at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl; )V(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(ServletStubImpl.java:348)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(RequestDispatcherImpl.java:328)
at org.apache.struts.action.ActionServlet.processForward(Lorg/apache/struts/action/ActionMapping;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )Z(ActionServlet.java:1847)
at org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:1568)
at org.apache.struts.action.ActionServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(HttpServlet.java:740)
at com.clear2pay.ppp.util.ui.struts.ActionServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:138)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl; )V(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain; )V(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(FilterChainImpl.java:27)
at com.clear2pay.ppp.util.ui.SetCharacterEncodingFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain; )V(SetCharacterEncodingFilter.java:150)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction; )Ljava/lang/Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction; )Ljava/lang/Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl; )V(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread; )V(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest; )V(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread; )V(Unknown Source)
----- END STACKTRACE -----
Message was edited by:
cabukiIgnore the part about precompiled JSPs being ignored on my development server. Turns out I had a stale cache. I cleared that out and now it recognizes the files.
The problem with that, is now I'm getting an Error 500 when I try to access the page.
----- BEGIN STACKTRACE -----
javax.servlet.jsp.JspException
at org.apache.struts.taglib.template.InsertTag.doEndTag()I(InsertTag.java:149)
at jsp_servlet.__su_h0._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(__su_h0.java:316)
at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object; (ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl; )V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(ServletStubImpl.java:315)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(RequestDispatcherImpl.java:318 )
at org.apache.struts.action.ActionServlet.processForward(Lorg.apache.struts.action.ActionMapping;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )Z(ActionServlet.java:1847)
at org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:1568 )
at org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(HttpServlet.java:740)
at com.clear2pay.ppp.util.ui.struts.ActionServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:138 )
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl; )V(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain; )V(TailFilter.java:28 )
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(FilterChainImpl.java:27)
at com.clear2pay.ppp.util.ui.SetCharacterEncodingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain; )V(SetCharacterEncodingFilter.java:150)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6458 )
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction; )Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction; )Ljava.lang.Object;(SecurityManager.java:118 )
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl; )V(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread; )V(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178 )
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
----- END STACKTRACE -----
The page in question is just a simple JSP using Struts (v 1.0.2) to call in a template.
----- BEGIN JSP -----
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/lib/struts.tld" prefix="struts" %>
<%@ taglib uri="/WEB-INF/lib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri='/WEB-INF/lib/struts-template.tld' prefix='template' %>
<template:insert template='/t/system.jsp'>
<template:put name='title'><bean:message key="tit_su_h0"/></template:put>
<template:put name='sidenav' content='/t/su_snv.jsp'/>
<template:put name='content' content='/c/su_h0_c.jsp'/>
<template:put name='footer' content='/t/su_ftr.jsp' />
</template:insert>
----- END JSP -----
I passed the -keepGenerated flag to the precompile task in my Ant build so I could look at the line it's choking on, but it's not very helpful. I'm stuck. I can set up the build so it doesn't precompile the JSPs, but then the QA team wouldn't like me very much. -
I have been using sysinternals process monitor(procmon.exe) to see what coldfusion/jrun is doing on the system. I see thousands of createFile operations as jrun searches for things like component.class, application.class, macromedia\jdbc\oracle\OracleURLParser.class, macromedia\jdbc\sqlserver\SQLServerURLParser.class etc. in c:\coldfusion9 directory which it never finds. I would like to know more about what is happening with this. Do I need to change my class path? Is there an optimal order for class paths? Does this represent a cache miss?
Is there any way by which I can iterate through the folders
and get access to all the class files from the method?The Java Developers Almanac 1.4 has an example of "e33.
Traversing the Files and Directories Under a Directory" here
http://javaalmanac.com/egs/java.io/TraverseTree.html
You "get access to" the class files as you would any other
sort of fle. -
My server still taking old class file
Hi,
I have got a J2EE application.
In that I have to modify a Java file.
I made the required changes and check it in the local test environment and find that it is working fine and the changes are reflecting in my application.
Then I copied the class file in the main server and deploy the server(i m using oracle9i server) .
After successful depletion ''THE CHANGES WERE NOT REFLECTED IN THE APPLICATION ".
I found the latest class file is copied in the application(checked the class file using D-Complier).
MY PROBLEM IS : WHY THE SERVER IS NOT TAKING THE LATEST CLASS FILE ??
IS THERE ANY PROBLEM OF WEB-CACHING ??
kindly advise how can i rectify it.
keep smiling.....
DebasisThe last response is correct. You have to stop the server and start it again to reflect the changes in the class file. Only the JSP files can be changed dynamically while server is running as the container compiles it if there is any change in the file. All other files need a server restart.
Thanks -
Looking in the wrong directory for class file
My javabean looks like this:
<jsp:useBean id="mailer" class="MailerBean">
<jsp:setProperty name="mailer" property="*"/>
<% mailer.sendMail(); %>
</jsp:useBean>
The actual MailerBean.class file is in ROOT/public_html/servlets directory. The file that uses the above javabean is in ROOT/public_html/clearresults directory. I have tried a bunch of different lines of code to point to the servlets directory with no success. The javabean continues to point to the ROOT/public_html/clearresults/MailerBean.class file when it should point to ROOT/public_html/servelts/MailerBean.class. How can I point the MailerBean class to the servlets directory without moving the file that uses the javabean?Generally you don't have to write code to say where a class is, and I don't know what "pointing" a class is. Things that run servlets and JSPs have rules about where they will look for classes. All you have to do is put your MailerBean class where the rules say to put it. Often that's a directory called something like .../WEB-INF/classes, but check out the rules for your product.
-
Separate folder for class files (eclipse)
hello :)
in eclipse how do i specify a different dir to output my class files to ?in eclipse how do i specify a different dir to output my class files to ?Project > Properties > Java Build Path: select a Default output folder.
kind regards,
Jos -
How to protect the Class file from Decompling to the Source code..
Balainet wrote:
How to protect the Class file from Decompling to the Source code..How to search for answer to frequently asked question?
How to post question into correct forum? -
Need Java api for .class file comparison....
Hi all,
In .net one CecilAssemblyAnalyzer api is der it analyze the two version of .net applic in offline mode (pick .exe and .dll files)
n forms tree structure and den copares both tree n get the changed function..
i need same type api in Java...
Thanks in advance..
Regards,
Sachith<blockquote>quote:<br><hr><i>Originally posted by: <b>sunny_rush</b></i><BR>com_beacon_essbase_jni_EssApiJni.c:15:20: essotl.h: No such file or directory<BR><hr></blockquote><BR><BR>That package does not appear to be from Hyperion but rather from a third party. Based on the name, it may have come from Beacon Analytics which is now part of Answerthink. Did you have consulting from them in the past?<BR><BR>Tim<BR><BR><BR>
-
WebLogic server's charset for writing files
Hi!
I have the following situation. Webapp (servlet) instantiates a class, which periodically writes data to files. The data is written to a file using the following code:
fos = new FileOutputStream(outfile);
//Don't wanna specify charset here
fos.write(line.getBytes());
The question is, where do I specify the charset to be used? Weblogic-application.xml has the following definition:
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
Should this define also the encoding used when writing files, or should I define it in the server startup somehow, or what?Hi!
I have the following situation. Webapp (servlet) instantiates a class, which periodically writes data to files. The data is written to a file using the following code:
fos = new FileOutputStream(outfile);
//Don't wanna specify charset here
fos.write(line.getBytes());
The question is, where do I specify the charset to be used? Weblogic-application.xml has the following definition:
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
Should this define also the encoding used when writing files, or should I define it in the server startup somehow, or what?
Maybe you are looking for
-
I saved an application form as a pdf to my desktop and now I can't open it!
Basically, I didn't have access to a printer, so I clicked print and then it presented my application form in a new window (my browser is chrome). Instead of printing (because I couldn't) I saved the file to my desktop and it saved as a pdf. Now if
-
Can anybody help me with this code?
I am a beginner to J2ME. The following is a small program I wrote just for test. Theoretically, in my opinion, I shall see in the screen a number increase from 1 to 29999 rapidly after execute the code. But instead, it displays nothing but only displ
-
Hi. I want to reorder the columns in a JTable. I want the user to be free to resize and reorder the columns just as he wants, save it, and reuse these settings the next time. I have no problems getting the current configuration. But I cannot handle r
-
Hi, I have do load data from Oracle and SQL Server and transform it with OWB. Does anyone know which licenses I must have. Must I download OWB or can I use den OWB included in the database? Oracle 11g and Linux. Regards Siegwin
-
Open Source Licensing - what do you use?
I am soon going to release some public utilities i have coded. These programs / scripts are nothing big, however i need to license them with an open source standard (i have looked at the MIT and GNU). Id like: 1. The code can be reused, modified, as