pavi kavi

Ranch Hand
+ Follow
since Mar 01, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by pavi kavi

Hi

I am using the folowing code
StringReader sr = new StringReader(documentStr);
StreamSource source = new StreamSource(sr);
DOMResult result = new DOMResult();
transformer.transform(source, result);
Document doc = (Document)result.getNode();

to convert the xml to another form of xml using XSL and my incoming XML as got first line
<FpML xmlns="http://www.fpml.org/2004/FpML-4-1" xsi:schemaLocation="http://www.fpml.org/2004/FpML-4-1 fpml-cd-trade-4-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4-1" xsi:type="DataDocument">

xsi:schemaLocation="http://www.fpml.org/2004/FpML-4-1 fpml-cd-trade-4-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4-1" xsi:type="DataDocument"

if i remove the above portion it works fine , what I have to put in the xsl or code to make it work ??

Its throwing me bove mentioned error if i keep the above portion

Could some one help me out.

Thanks
Pavithra
Thanks for the reply
I asked about this for academic purpose , since i know we can set them in the one of the deployement descriptor but not exactly and also if i use read only entity beans how can i make it invalidate when i use read/write bean
Your suggestion will be of great help in my fututr e project
thanks
pavithra
Hi
Post the complete exception
pavithra
20 years ago
Hi
for a simple session bean i dont think you need to configure the weblogic, just deploy the bean it should work
Pavithra
20 years ago
Hi
check where the classes reside for mysql database in weblogic and set them to your classpath
Pavithra
20 years ago
Hi
How to make any entity beans read only or read/write
Any thought on this will be great help
Pavithra
Hi
Before trying to use the connection of the database make sure in the application server the connection is getting created if not what is the exception its throwing?
Paste the exception here
Pavithra
Thanks for the reply
the complete exception is as follows
javax.naming.ConfigurationException. Root exception is java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
Start server side stack trace:
java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:115)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:121)
at weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
Start server side stack trace:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:115)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:121)
at weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
Start server side stack trace:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:115)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:121)
at weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
<>
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException - with nested exception:
[javax.naming.ConfigurationException [Root exception is java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
Start server side stack trace:
java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:115)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:121)
at weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
Start server side stack trace:
java.io.NotSerializableException: gm.server.xstatic.impl.entity.profile.PreferenceBean_8tpm2j_LocalHomeImpl
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:115)
at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:121)
at weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
]]
at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at weblogic.management.console.actions.jndi.ViewJndiBindingAction.perform(ViewJndiBindingAction.java:70)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
20 years ago
Hi
We have entity CMP 2.x complaint beans which we deployed it in Weblogic 6.1
it was working fine previously but from all few days its throwing
following 2 exceptions java.rmi.MarshalException and
java.io.NotSerializableException but there is no error log or
anything ...... we get to see this error only when you see the JNDI tree
Can someone help me out of this
Thanks
Pavithra
20 years ago
Hi
I getting this error sometimes when i send a request when it has to display a JSP page as response.
<HTTP> <[WebAppServletContext(665975,Defaul
tWebApp_myserver)] Servlet failed with Exception
java.lang.RuntimeException: IOException occured
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutput
StreamImpl.java:224)
at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputSt
reamWriter.java:139)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWr
iter.java:104)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWr
iter.java:111)
at java.io.Writer.write(Writer.java:129)
at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:154)

can some body please help me out
Thanks
pavithra
22 years ago
Hi
How to set a default web application in weblogic 6.0.
I followed the procedure of their doc but i am not getting the dropdown list to select the default web application .
Can somebody please help me out
Thanks
pavithra
23 years ago
Hello
How to find the port number dynamically in weblogic6.0 . can somebody please send me the code on this.
Thanks
pavithra
23 years ago
Hi,
How to pre configure the manged server in admin server. can you please brief me on this.
pavithra

Originally posted by Marcos Maia:
Hi,
you should have an administration server started for the domain you�re running the managed server, and pre configured the managed server in the admin server.


23 years ago
Hello
What we have to before starting the weblogic 6.0 managed server since its giving me the illegal exception .
THanks
pavithra
23 years ago
hello
come on chat i will tell u
my id is pavithra_ak
thanks
pavithra

Originally posted by rasika:
first I 'll make a jar file which includes all *.classes and *.java files.
Then I have a jsp and a Oracle database
now I'll start weblogic server ,how can proceed now.
help me If there are missings steps means specify that also this for a test.
sth with my future.