Weblogic class corresponding to HTTPSession
I am looking at a stress issue and wanted to know which weblogic class corresponds to a HTTPSession.
I see the follwoing in my heap dump. Is it one of these classes or anything else?
Class Name | Objects | Shallow Heap | Retained Heap
weblogic.servlet.internal.session.MemorySessionContext| 14 | 1,120 | >= 3,495,016
weblogic.servlet.internal.session.MemorySessionData | 38 | 5,472 | >= 3,483,824
weblogic.servlet.internal.session.SessionData | 0 | 0 | >= 600
Thanks,
Sunil.
Programmatically, I don't know of a way to do that in java.
Bill
"D. Alvarado" wrote:
> Thanks for your reply, What if you wanted to get the classname of a
> particular jsp from another jsp? For example, what if I wanted to
> know the class name of "/mypath/http/myapp/dummy.jsp" if I'm writing
> code in "mypath/http/myapp/another.jsp"?
>
> Thanks, Dave
>
> William Kemp <[email protected]> wrote in message news:<[email protected]>...
> > this.getClass().getName() will give you the name of the class at runtime.
> >
> > Bill
> >
> > "D. Alvarado" wrote:
> >
> > > Hi,
> > > I'm running WebLogic 5.1, sp12 for Solaris. I was wondering if
> > > someone could provide me with a small snippet of java code that would
> > > tell me the class name, or at least path to the servlet class that
> > > corresponds to a jsp page. So, for example, if I knew my jsp path was
> > >
> > > /mypath/http/myapp/dummy.jsp
> > >
> > > it would be great to get the class name which, in this example, might
> > > be:
> > >
> > > jsp_servlet._myapp.__dummy
> > >
> > > Thanks in advance, Dave A.
Similar Messages
-
Servlet can't be found outside of weblogic/classes??
Hi there!
I wrote a servlet that I've placed into a directory that's in my CLASSPATH
(set inside startWebLogic.bat). It's clearly identified within the System
java.class.path variable as well (when the logs scroll by).
However, the Servlet (although it's been registered in Weblogic.properties)
refuses to be found unless I finally move it into weblogic/classes.
Does anybody know why??
-joe
Joe,
Servlets are loaded by the weblogic class loader. For that reason, the
base directory for your servlets has to be in the weblogic.class.path.
Since weblogic/classes is part of this class path, they were found by
the WL class loader. Basically, add the base dir for your servlet
package to the WL class path and you will be fine.
If you're starting WL from the command line, see the
/weblogic/startweblogic.??? scripts.
Jason
-
When I type t3config , I see a couple of class paths and I'm confused which
one is which and
what are the diffrences between them, there is classpath, javaclasspath,
serverclasspath, weblogic.class.path
and JVM class path, Server's class path on the weblogic console window.
any clearification is appreciated.
thanks,
CLASSPATH Prefix
CLASSPATH
JAVA_HOME
WEBLOGIC_LICENSEDIR
WEBLOGIC_HOME
system properties
weblogic.class.path
INITIAL HEAP
MAX HEAP
SERVERCLASSPATHWhy would you do that - same class in both class paths? Don't.
Don't put any application classes in the system
classpath (JAVACLASSPATH).
Mike
Dimitri Rakitine <[email protected]> wrote:
http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056256
Tony Lu <[email protected]> wrote:
Can someone tell me how does weblogic use the weblogic.class.path? what's
the relation between weblogic.class.path and systemclasspth ? if I have 2
different classes ( same name but different ) on bothpath, which one would
be loaded ? the one in classpath or the one in weblogic.class.path?
Dimitri -
Weblogic.class.path
I am using WL 5.1, SP12, on Solaris ...
I am running jsp code that accesses a bean class specified in the weblogic.class.path in my startscript.
I got a "ClassNotFound" error when I run the jsp code.
Are all classes in weblogic.class.path of a given WL server visible to JSPs running in that server - regardless web-applications?
I appreciate any help. Thanks
Look at startWeblogic.{cmd/sh}.
WLCLASSPATH should include the weblogic classes and any of your classes.
JAVACLASSPATH include the JDK classes, the weblogic/classes/boot and DB
access classes
(Cloudscape.jar, JConnect classes, etc.) and NOTHING else.
"Shoaib" <[email protected]> wrote in message news:[email protected]..
The documentation on setting up the environment mentions this property
but doesn't give any information on where it should be set.
How is this system property specified and what is it used for ?
Should it be specified via wlconfig.exe or is included in
weblogic.properties ?
I'm currently using the latest beta for WLS. -
Weblogic Class Loader issues.
Hi all!
Let me explain my problem.
I have an EJB which has in its same Java package some support classes
& also a startup class. I created an EJB jar file (containing the home,
remote, bean, the deployment descriptors & the container generated stubs)
for deployment. I also compiled all the support classes & the startup class
into the /weblogic/myserver/serverclasses directory. I also added the
required entries in the weblogic.properties file for the startup class.
Now the problem is that the support classes & the startup class contain
methods & constructors which have package level access (i.e the default
access in Java). At runtime, when my bean tries to access one of these
methods, an IllegalAccessException is thrown.
I understand that this exception is thrown when one tries to access a
method which should not be accessed (like private/protected/cross-package
access). However, both the EJB & these classes are in the same package.
So this should not be thrown.
Now the next thing I thought is that the EJB & the support classes are
being loaded by 2 different classloaders. I guess the classes under
/weblogic/myserver/serverclasses are being loaded by the WebLogic
Server ClassLoader & the EJB bean classes are being loaded by the
specialized EJB ClassLoader.
Now my question is,
1) Is it the case that the WebLogic Server does not recognize that the
EJB Bean class is in the same package as the support classes because
they are loaded by 2 separate class loaders? Please note that the EJB
jar file does not contain any support classes - so there is no
duplicate classes here.
2) Is this a bug?
3) What should I do to prevent this problem?
Some workarounds that I have done are:
1) Copied the Bean.class (implementation class of EJB bean) into the
serverclasses directory. Now the server does not throw any
IllegalAccessException. -- This, however, does not appeal as a solution
since it looks like the Bean class is now being loaded by the WebLogic
Class Loader instead of from the EJB jar file.
2) I changed all the default package access methods to public methods.
Works like a charm. -- Problem is that this is a third party set of classes
which I would like to avoid modifying.
Hope this is not too confusing. Please let me know if you need any further info.
Thanks much in advance,
--DasYou have to tell WLAS where to load your new classes. You can change
workingDir of your JSP configuration in weblogic.properties to point to your
new class directory.
Cheers - Wei
Hyung-Jin Kim <[email protected]> wrote in message
news:[email protected]..
> It seems that if I compile a class that a JSP uses while Weblogic is
> running, Weblogic's class loader has this nasty habit of caching/writing
> the class that already has loaded into memory into:
>
> weblogic/myServer/classfiles
>
> Weblogic then refers to the older class file under the above directory
> when the server is started again. Is there any way to turn this "class
> loader caching" off in Weblogic? Thanks!
>
> -hjk
>
-
How modify weblogic.class.path
i have problem for install drivers oracle in the classpath
how modify the properti of weblogic weblogic.class.path?
i have to do it with the program wlconfig, but don´t run
jorgeIf you run your WebLogic on Win2K, you have to modify the
command file startWebLogic.cmd
Regards,
Jacob
"jorge" bienpicao.com wrote:
>
i have problem for install drivers oracle in the classpath
how modify the properti of weblogic weblogic.class.path?
i have to do it with the program wlconfig, but don´t run
jorge -
Can I get a weblogic Initial context without importing all weblogic classes ?
can I get a weblogic Initial context (with weblogic.jndi.WLInitialContextFactory)
without importing all weblogic classes ?I ran my client through all its functions.
I then took the access.log file and parsed out a list of all the class
files that were downloaded and built a script to create my
weblogiclient.jar file.
Before running the client we had to:
With WL5.1 I think we had to unjar the weblogicaux.jar file into the
serverclasses directory so the client could load them all individually.
Make sure you clean up after you are done with this.
With WL 6 we did not have to do that.
The access.log file is the key to building your own client jar file.
We also require the use of the Java 1.3 plug-in by our clients (for
Applets) so we can do multiple Jar caching.
Tom
Dominique Jean-Prost wrote:
Hello tom
What do you mean by "use the Weblogic class loader" ?
Could you explain whath you exactly did to find all the classes you need ?
regards.
dom
<nospam@nospam> a écrit dans le message news: 3ABF3EC2.9010200@nospam...
You need the classes one way or another. BUT you do not have to
redistribute the whole Weblogic.jar file. Use the Weblogic class
loader then run your program. The weblogic access.log should have a
listing of all the classes you need to use and you can build your own
sub-jar. My experience is that this new jar is significantly smaller.
Ours is around 600K instead of 15MB.
Tom
Dimitri Rakitine wrote:
Yes, if, for example, you can network classload from WebLogic. Talking
to a WebLogic
server means WebLogic RMI (unless you use RMI/IIOP in which case youdont need any
WebLogic classes) which needs WebLogic-specific classes, so you clientapplication needs
to get them from somewhere - local classpath or remote WebLogic server.
David Dahan <[email protected]> wrote:
I mean without a classpath to all weblogic classes.
can I get a weblogic Initial context (with
weblogic.jndi.WLInitialContextFactory)
without importing all weblogic classes ? -
Diff between CLASSPATH and weblogic.class.path in t3config
Hi,
My servlets which would run happily in WLS4.0.2 on NT do not run anymore
in WLS4.5.
In order to help me troubleshoot this problem will someone please
explain me the difference between the path mentioned against
weblogic.class.path in the output of t3config
and the path mentioned against CLASSPATH in the same output.
When I type t3config I get the following. What is the diff between the
lines marked ---->>>>
WebLogic startup settings are presently:
CLASSPATH Prefix=
.;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
------->>>>>CLASSPATH=
".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
JAVA_HOME= "d:\Weblogic\jre1_1"
WEBLOGIC_HOME="d:\Weblogic"
system properties:
weblogic.system.home=d:\Weblogic
java.compiler=symcjit
------->>>
weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
INITIAL_HEAP= 32 MB
MAX_HEAP= 32 MB
SERVERCLASSPATH=
".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
Pankaj,
It all depends on whether you want to do reload on modify feature or not. If you don't need reload on modify they you can have servlets in weblogic.class.path.
Two things to remember if you can't invoke servlets.
1. Do you have the servlet registered.
2. If not, do you have ServletServlet property uncommented. If this property is not commented out then you have to give the complete path to make servlets work.
Good luck,
Prasad
Pankaj Tandon wrote:
> Hi,
> My servlets which would run happily in WLS4.0.2 on NT do not run anymore
> in WLS4.5.
> In order to help me troubleshoot this problem will someone please
> explain me the difference between the path mentioned against
> weblogic.class.path in the output of t3config
> and the path mentioned against CLASSPATH in the same output.
>
> When I type t3config I get the following. What is the diff between the
> lines marked ---->>>>
> WebLogic startup settings are presently:
>
> CLASSPATH Prefix=
> .;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
>
> ------->>>>>CLASSPATH=
> ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
>
> JAVA_HOME= "d:\Weblogic\jre1_1"
> WEBLOGIC_HOME="d:\Weblogic"
> system properties:
> weblogic.system.home=d:\Weblogic
> java.compiler=symcjit
>
> ------->>>
> weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
>
> INITIAL_HEAP= 32 MB
> MAX_HEAP= 32 MB
> SERVERCLASSPATH=
> ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
-
Getting servlet class corresponding to jsp?
Hi,
I'm running WebLogic 5.1, sp12 for Solaris. I was wondering if
someone could provide me with a small snippet of java code that would
tell me the class name, or at least path to the servlet class that
corresponds to a jsp page. So, for example, if I knew my jsp path was
/mypath/http/myapp/dummy.jsp
it would be great to get the class name which, in this example, might
be:
jsp_servlet._myapp.__dummy
Thanks in advance, Dave A.
Programmatically, I don't know of a way to do that in java.
Bill
"D. Alvarado" wrote:
> Thanks for your reply, What if you wanted to get the classname of a
> particular jsp from another jsp? For example, what if I wanted to
> know the class name of "/mypath/http/myapp/dummy.jsp" if I'm writing
> code in "mypath/http/myapp/another.jsp"?
>
> Thanks, Dave
>
> William Kemp <[email protected]> wrote in message news:<[email protected]>...
> > this.getClass().getName() will give you the name of the class at runtime.
> >
> > Bill
> >
> > "D. Alvarado" wrote:
> >
> > > Hi,
> > > I'm running WebLogic 5.1, sp12 for Solaris. I was wondering if
> > > someone could provide me with a small snippet of java code that would
> > > tell me the class name, or at least path to the servlet class that
> > > corresponds to a jsp page. So, for example, if I knew my jsp path was
> > >
> > > /mypath/http/myapp/dummy.jsp
> > >
> > > it would be great to get the class name which, in this example, might
> > > be:
> > >
> > > jsp_servlet._myapp.__dummy
> > >
> > > Thanks in advance, Dave A.
-
WebLogic class loading conflict causing ClassCastException
Hi everyone,
I am using Oracle XML Parser v2 for my JCA adapter and I am getting the following exception when method from my adapter is invoked.
java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to oracle.xml.jaxp.JXDocumentBuilderFactory
I have already placed Oracle XML Parser v2 library (xmlparserv2.jar) inside $DOMAIN_DIR/lib. Below is the line that throws above exception.
JXDocumentBuilderFactory factory =(JXDocumentBuilderFactory)JXDocumentBuilderFactory.newInstance();
So it seems like WebLogic is using different JXDocumentBuilderFactory and there seems to be problem with class loading. How can I resolve this issue? Thanks in advance.
Regards,
K.H
Edited by: K Hein on Dec 16, 2010 12:38 AMHI,
You can use Class Loader Filtering feature of WebLogic to isolate the Classloaders....as described in the following link: http://middlewaremagic.com/weblogic/?page_id=192
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here) -
Is there a tx to view class corresponds to a BOL object and vice versa???
Hello experts, is there any transaction or place where I can find the object BOL that corresponds to a CLASS and vice versa,
For example for object ISUORDERITEM, where I can find this??
Thanks in advanceHello Javier,
Here is the link :
SPRO --> IMG --> CRM > CRM Cross-Application Components> Generic Interaction Layer/Object Layer --> Basic Settings.
How to find out the component set associated with the BSP UI component ??
Go to the runtime repository of the component which you are working on, In the MODEL, the Component Set should be assigned.
Once you get the component set, You can find the components associated with the component set.
For each component there will be a GENIL Class associated in this IMG customizing.
Eg : For BP , the class is CL_CRM_BUIL.
You can find some infor at this Link: [Thread|Re: Rough Equivalent of PCUI MAC in CRM 2007 Web GUI.]
Hope this helps,
Regards, Vinay -
Where find java classes corresponding to message mapping and interfaces ?
Hi
Forum,
when i create my objects in Repository, like Message interface and messgae mapping, correspoding to them, java class in created, where can i see these java classes in the XI's file system,Hi sudeep,
During the installation of Xi we select a database.So all the objetcs and related things that we create in IR and ID will be saved in the database only.I dont know how to check the .class file for each object...
Check these weblogs from sravya where she has given you the table names where the IR and ID objects are stored:
/people/sravya.talanki2/blog/2007/01/11/ripping-off-sap-xi-stack-133sharing-the-goodies-of-abap-api146s
/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
/people/sravya.talanki2/blog/2006/12/28/skelton-of-mapping-runtime-in-sap-xi
regards
BILL -
Where are my Report Classes (C# classes corresponding to my RPTs)?
In almost all samples I downloaded from BO, there is one ".cs" file that corresponds to an ".rpt" file. This c# file has an autogenerated header. and there are two classes in it. One with identical name to the report and one with the same name but "Cached" in front of it. For instance:
public class Customer : ReportClass {
[System.Drawing.ToolboxBitmapAttribute(typeof
(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
public class CachedCustomer : Component, ICachedReport
When I add a CrystalReports report to my asp.net project, i just get an ".rpt" file.
What are the ramifications of not having these classes? Does the 'cached" class help with me performance?
thanks
jeffthere should be no problems with the missing class files. They will only exist in Windows applications or web applications migrated from VS2003 or earlier. VS2005 does not generate these files for web applications. All they did was allow you to reference the report as a strongly-typed report (ie: dim myrpt as new SalesReport() ) in your application and the report would be embedded in the application.
With VS2005 and higher web applications, you must load the reports from disk using
ReportDocument.Load(pathToReport).
the Cached report class would only help if you had a massive report (hundreds of pages) that took a long time to return. this report would also have to be shareable (ie all users see exactly the same data). The downside is that it would occupy a chunk of memory on the server for an extended period of time. -
Note: I am not sure what is the best suitable subject for this issue.
Stack Trace:
Error 1)
<Dec 30, 2011 11:02:51 AM GMT+05:30> <Error> <HTTP> <BEA-101017> <[ServletContext@29472630[app:EM11X module:Web path:/Web spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@14d05d1[
POST /Web/GenerateMealPlanAction.do HTTP/1.1
Via: 1.1 INDCHN-MGMT01
Cookie: org.ditchnet.jsp.tabs:CommercialFormulaTabs=; org.ditchnet.jsp.tabs:KitchenTabs=; JSESSIONID=sZQFT9MJQc6vS6MCSXtdjWwSTLCcG6nqL12Fdyj1NFHcp4WnpkCB!1348500068
Referer: http://130.78.88.83:7001/Web/GenerateMealPlanAction.do?vo.viewCode=generateMealPlanFrame&method=1&&menu_id=DS_DFLT&module_id=DS&function_id=DS_GEN_MEAL_PLAN&function_name=Generate%20Meal%20Plan&function_type=R&access=YYYYN&desktopFlag=N&vo.functionId=DS_GEN_MEAL_PLAN
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: en-us
Pragma: no-cache
Connection: Keep-Alive
Content-Length: 488
]] Root cause of ServletException.
java.lang.IllegalArgumentException: Cannot invoke com.vo.GenerateMealPlanVO.setServingDate on bean class 'class com.vo.GenerateMealPlanVO' - argument type mismatch - had objects of type "java.lang.String" but expected signature "com.core.util.Date"
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2181)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054)
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155)
Truncated. see log file for complete stacktrace
>
Error 2)
<Dec 30, 2011 11:11:19 AM GMT+05:30> <Error> <HTTP> <INDCHN-EPORT01> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1325223679258> <BEA-101017> <[ServletContext@29472630[app:EM11X module:Web path:/Web spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@1da8bfe[
POST /Web/LookupAction.do HTTP/1.1
Via: 1.1 INDCHN-MGMT01
Cookie: org.ditchnet.jsp.tabs:CommercialFormulaTabs=; org.ditchnet.jsp.tabs:KitchenTabs=; JSESSIONID=GhG4T9TJ0ytD8dhRSGBFv2c3v1hNLftTTCJQHp6Qn9C5SnMGTVYF!1348500068
Referer: http://130.78.88.83:7001/Web/core/lookup/jsp/LookupCriteria.jsp?undefined
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1)
Accept: */*
Accept-Language: en-us
Pragma: no-cache
Connection: Keep-Alive
Content-Length: 304
]] Root cause of ServletException.
java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
at com.lookup.pojo.web.LookupAction.doActionQuery(LookupAction.java:107)
at com.core.pojo.web.BaseAction.execute(BaseAction.java:97)
at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
[b]Analysis:
Migrating J2EE Application from Oracle 10g Application Server to Oracle 11g Weblogic Server. I am stuck with above two issues. This issue not present while running in Oracle 10g Application Server
1) I was thinking it is something to do with JSTL versions and the below command is executed to make the JSTL version to jstl 1.1.2
java weblogic.Deployer -adminurl t3://localhost:7001 -user weblogic -password weblogic -deploy -library D:/Oracle/Middleware/wlserver_10.3/common/deployable-libraries/jstl-1.1.2.war
The problem remains same.
2) Now <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes> is added to weblogic.xml to make the Web application to load application specific libraries from WEB-INF/lib directory.
The problem remains same.
3) I checked Class Loader Analysis Tool and found conflicting classes and based on CAT recommendation the below list is added to weblogic.xml and <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes> is removed since both cannot co-exist.
<wls:prefer-application-packages>
<wls:package-name>antlr.*</wls:package-name>
<wls:package-name>antlr.collections.*</wls:package-name>
<wls:package-name>antlr.collections.impl.*</wls:package-name>
<wls:package-name>antlr.debug.misc.*</wls:package-name>
<wls:package-name>com.mysql.jdbc.*</wls:package-name>
<wls:package-name>javax.ejb.*</wls:package-name>
<wls:package-name>javax.ejb.spi.*</wls:package-name>
<wls:package-name>javax.enterprise.deploy.*</wls:package-name>
<wls:package-name>javax.jms.*</wls:package-name>
<wls:package-name>javax.management.j2ee.*</wls:package-name>
<wls:package-name>javax.resource.*</wls:package-name>
<wls:package-name>javax.resource.cci.*</wls:package-name>
<wls:package-name>javax.resource.spi.*</wls:package-name>
<wls:package-name>javax.security.jacc.*</wls:package-name>
<wls:package-name>javax.servlet.*</wls:package-name>
<wls:package-name>javax.servlet.http.*</wls:package-name>
<wls:package-name>javax.servlet.jsp.*</wls:package-name>
<wls:package-name>javax.transaction.*</wls:package-name>
<wls:package-name>javax.transaction.xa.*</wls:package-name>
<wls:package-name>javax.xml.*</wls:package-name>
<wls:package-name>javax.xml.datatype.*</wls:package-name>
<wls:package-name>javax.xml.namespace.*</wls:package-name>
<wls:package-name>javax.xml.parsers.*</wls:package-name>
<wls:package-name>javax.xml.registry.*</wls:package-name>
<wls:package-name>javax.xml.transform.*</wls:package-name>
<wls:package-name>javax.xml.validation.*</wls:package-name>
<wls:package-name>javax.xml.xpath.*</wls:package-name>
<wls:package-name>oracle.core.lmx.*</wls:package-name>
<wls:package-name>oracle.core.lvf.*</wls:package-name>
<wls:package-name>oracle.jdbc.*</wls:package-name>
<wls:package-name>oracle.jdbc.aq.*</wls:package-name>
<wls:package-name>oracle.jdbc.connector.*</wls:package-name>
<wls:package-name>oracle.jdbc.dcn.*</wls:package-name>
<wls:package-name>oracle.jdbc.diagnostics.*</wls:package-name>
<wls:package-name>oracle.jdbc.driver.*</wls:package-name>
<wls:package-name>oracle.jdbc.internal.*</wls:package-name>
<wls:package-name>oracle.jdbc.oci.*</wls:package-name>
<wls:package-name>oracle.jdbc.oracore.*</wls:package-name>
<wls:package-name>oracle.jdbc.pool.*</wls:package-name>
<wls:package-name>oracle.jdbc.rowset.*</wls:package-name>
<wls:package-name>oracle.jdbc.util.*</wls:package-name>
<wls:package-name>oracle.jdbc.xa.*</wls:package-name>
<wls:package-name>oracle.jpub.runtime.*</wls:package-name>
<wls:package-name>oracle.jsp.provider.*</wls:package-name>
<wls:package-name>oracle.net.ano.*</wls:package-name>
<wls:package-name>oracle.net.aso.*</wls:package-name>
<wls:package-name>oracle.net.jdbc.*</wls:package-name>
<wls:package-name>oracle.net.jndi.*</wls:package-name>
<wls:package-name>oracle.net.ns.*</wls:package-name>
<wls:package-name>oracle.net.nt.*</wls:package-name>
<wls:package-name>oracle.net.resolver.*</wls:package-name>
<wls:package-name>oracle.security.o3logon.*</wls:package-name>
<wls:package-name>oracle.security.o5logon.*</wls:package-name>
<wls:package-name>oracle.sql.*</wls:package-name>
<wls:package-name>oracle.sql.converter.*</wls:package-name>
<wls:package-name>org.apache.commons.*</wls:package-name>
<wls:package-name>org.apache.derby.*</wls:package-name>
<wls:package-name>org.apache.oro.*</wls:package-name>
<wls:package-name>org.apache.xerces.*</wls:package-name>
<wls:package-name>org.apache.xmlcommons.*</wls:package-name>
<wls:package-name>org.gjt.mm.*</wls:package-name>
<wls:package-name>org.joda.time.*</wls:package-name>
<wls:package-name>org.w3c.dom.*</wls:package-name>
<wls:package-name>org.xml.sax.*</wls:package-name>
</wls:prefer-application-packages>
The problem remains same.
Your help is greatly appreciated as I am stuck with this issue.No I cannot ignore this error while deplyment. I'm not able to deploy the war.
More ovet this needs to be working as during startup, the servlet loads some xml files and convert into tables for the kiosk in the airport to be working.
Edited by: [email protected] on Mar 27, 2009 12:24 PM -
Weblogic Classes / Jar files
Is there place that list the classes for a particular weblogic jar file? Right now a developer asked me what .jar file does this class, weblogic.logging.NonCatalogLogger, live in. The only way I know how to find out is to unjar each jar file until I find it. Is there an easier way?
Thanks.you can use jarscan tool
http://it.cybergav.in/2009/09/30/scanning-jars-with-jarscan/
Maybe you are looking for
-
I loaded some projects that we're created in logic 7 and was going to edit them using some of the new features in 8. the first thing I notice is that all of my aux sends are still going to logic 7 style busses ( no aux sends on these busses !). Is th
-
Hello We are using PI 7.0 SP18 on HPUX. We recently upgrade from SP17 to SP18 to follow Seeburger Request. But now the Standard file adapter give us some problem. In RWB we have the error below but the file is sent and received at the destination c
-
Receiving ORA-01465: invalid hex number when using HEXTORAW
I'm trying to use hextoraw to convert a value in a CSV file read from an external table. Works on some systems and not on others. Is there a way that I can avoid this or program around this? Any ideas what the problem is? It fails with an "invalid he
-
BiizTalk 2013 and EDI Message Invalid character in data element
Hi: Background: I have a Vendor sending us EDI 856 (Advance Shipping Notice). We are using EDI X12 and BizTalk 2013. In the Parties Agreement we use ISA11 = U-US EDI Community of ASC X12. The vendor is sending 'U' in ISA11. Error: At the beginning of
-
Hi, I have Java SAX mapping for IDOC-to-JDBC scenario. Sometimes it happens that, XI starts to create first XML SQL message, then in one moment stops(this XML hasn't right structure) and starts with second. With second, XI ends OK, but this has, XML