IPlanet 6.0 Servlet Engine with Weblogic 6.1 EJB engine
Does anyone have experience using iPlanet 6.0 Servlet engine with
WebLogic 6.1 EJB engine? The two engines will be located on separate
physical servers. If so, any information on the implementation would
be greatly appreciated (lessons learned especially). Would the cost
difference between using WebLogic's Servlet engine vs. iPlanet's
Servlet Engine be worth the attempt? I saw in some previous posts
that there were issues with how older versions of Weblogic RMI (T3)
Protocol worked and that Weblogic would only have one socket
connection for the iPlanet Servlet Engine through which all requests
will be multiplexed. This would be a bottleneck for any application.
Is this still true with the latest versions of these products?
Thanks,
Jon
WebLogic's Servlet engine is less than $1K / CPU I believe.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Jon" <[email protected]> wrote in message
news:[email protected]..
Does anyone have experience using iPlanet 6.0 Servlet engine with
WebLogic 6.1 EJB engine? The two engines will be located on separate
physical servers. If so, any information on the implementation would
be greatly appreciated (lessons learned especially). Would the cost
difference between using WebLogic's Servlet engine vs. iPlanet's
Servlet Engine be worth the attempt? I saw in some previous posts
that there were issues with how older versions of Weblogic RMI (T3)
Protocol worked and that Weblogic would only have one socket
connection for the iPlanet Servlet Engine through which all requests
will be multiplexed. This would be a bottleneck for any application.
Is this still true with the latest versions of these products?
Thanks,
Jon
Similar Messages
-
/servlet/ URI with WebLogic
Hi
I am using right now a different servlet engine and most of my html pages
are referencing my servlets with
http://hostname/servlet/com.hotsafe.servletclass?param1=toto...
It seems that WebLogic is forcing me to add an virtual name to every servlet
I am using in the weblogic property file to map a servlet to a class name.
This unfortunately is forcing me to recode all my pages.
Most of the Web server/Servlet engines out there understand the /servlet/
URI, like Jserv, JSW, and JRun. So I am a little bit surprised. Any Ideas on
how to setup web logic with my current environment.
I have read the WebLogic documentation (admindocs/http.htm) and the FAQ but
without answers.
Patrick
Patrick Deloulay - [email protected]
HOTSAFE, Inc - www.hotsafe.com
I guess since you say the ServletServlet is poor and SSI is not great
means that you've done very well with Servlets ;-)
It would be nice if you used the same <Servlet> tag syntax as every
other Servlet engine I have seen.
Please enlighten me on the JSP and Servlet tag stuff. I am not real
familiar with JSP yet. Are you saying I can rename my Servlet files to
end with .jsp and the <Servlet> tag will work?
Thanks
Mark Griffith wrote:
>
> Note:
>
> That our ServletServlet implementation is poor, and we are working on fixing this
> in a future release. Regarding SSI, yes this is also not great, however you can
> just use JSP's implement the servlet tag and your off and running. We will be
> providing this ourselves in a future release.
>
> Other than this I dispute the fact that our "servlet support isnt very good".
>
> Cheers
> Mark G.
>
> kagg wrote:
>
> > From what I have seen they do NOT support the concept of /servlet/. You
> > must recode every page.
> >
> > Their Servlet support isn't very good compared to the others. Watch out
> > if you use the SSI tag - they don't do that very well either.
> >
> > Patrick Deloulay wrote:
> > >
> > > Hi
> > >
> > > I am using right now a different servlet engine and most of my html pages
> > > are referencing my servlets with
> > > http://hostname/servlet/com.hotsafe.servletclass?param1=toto...
> > >
> > > It seems that WebLogic is forcing me to add an virtual name to every servlet
> > > I am using in the weblogic property file to map a servlet to a class name.
> > > This unfortunately is forcing me to recode all my pages.
> > >
> > > Most of the Web server/Servlet engines out there understand the /servlet/
> > > URI, like Jserv, JSW, and JRun. So I am a little bit surprised. Any Ideas on
> > > how to setup web logic with my current environment.
> > >
> > > I have read the WebLogic documentation (admindocs/http.htm) and the FAQ but
> > > without answers.
> > >
> > > Patrick
> > >
> > > Patrick Deloulay - [email protected]
> > > HOTSAFE, Inc - www.hotsafe.com
> >
> > --
> > From Tom Gerber (Surnames: Archer, Knaeble, Lahiff, Mooney, Preisen,
> > Sexton)
>
> --
> =====================================================
> Reply to the newsgroup. Don't reply to this mail
> alias. This is used only for answering posts on
> WebLogic Newsgroups.
> =====================================================
From Tom Gerber (Surnames: Archer, Knaeble, Lahiff, Mooney, Preisen,
Sexton)
-
Best IDE to develop EJB/Servlet development with WebLogic
Hi,
I am prepearing a recommendation for our company's standard Java development
environment. I would appriciate any comment you guys might have on the best
IDE that supports J2EE and EJB and Servlet development that integrates with
WebLogic. I guess the best are Visual Age or Visual Cafe, anybody have any
experince/comment on any of those ?
Thanks
FarhangI would recommend the products coming from Webgain. They offer the product
suite surrounding visual cafe.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Farhang Kassaei <[email protected]> wrote in message
news:8fs706$643$[email protected]..
Hi,
I am prepearing a recommendation for our company's standard Javadevelopment
environment. I would appriciate any comment you guys might have on thebest
IDE that supports J2EE and EJB and Servlet development that integrateswith
WebLogic. I guess the best are Visual Age or Visual Cafe, anybody have any
experince/comment on any of those ?
Thanks
Farhang -
IPlanet 4.1 redirector issue with WebLogic 6.0 SP2
We have a servlet reading a PDF file and write out to the outputstream. We got an
IO exception when doing:
myOutputStream.write(byte[], 0, len);
The exception socket write exception: Broken pipe.
For the same program if we run it using weblogic's own internal
web server, everything run through fine.
Our pragram trace shows that the same servlet get called multiple times when using
IPlanet redirector, while only invoked once when using Weblogic's internal webserver.
Is this a redirector bug ? or there is some trick we missed out.Terry,
This is a known problem, and CR058420 was opened to address this
issue. For 6.0, there is not a patch available. The recommended
solution is to upgrade to 6.1 and apply the appropriate patch.
Thanks,
Simon
Developers Relation Engineer
BEA Support.
Terry Carter wrote:
> we use weblogic as a webserver with one of our web applications.
> The index.html page is a soft link pointing to one of 2 pages.
> 1 page is a site up page and the other is a site down page.
>
> Using a soft link worked fine with WL60 sp1 but when we moved to SP2
> we now get a 404 when trying to load the index.html page.
>
> Any ideas why this would be broken?
>
> Terry Carter
-
Is it true that in the next version of iAS, a new servlet engine (TOMCAT perhaps) will be proposed to replace JSERV ?
nullWebLogic's Servlet engine is less than $1K / CPU I believe.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Jon" <[email protected]> wrote in message
news:[email protected]..
Does anyone have experience using iPlanet 6.0 Servlet engine with
WebLogic 6.1 EJB engine? The two engines will be located on separate
physical servers. If so, any information on the implementation would
be greatly appreciated (lessons learned especially). Would the cost
difference between using WebLogic's Servlet engine vs. iPlanet's
Servlet Engine be worth the attempt? I saw in some previous posts
that there were issues with how older versions of Weblogic RMI (T3)
Protocol worked and that Weblogic would only have one socket
connection for the iPlanet Servlet Engine through which all requests
will be multiplexed. This would be a bottleneck for any application.
Is this still true with the latest versions of these products?
Thanks,
Jon -
What is the default root of the servlet engine in IPlanet v6?
I am trying to get java based code to work on IPlanet's webserver/servlet engine version 6. The servlets are being inited, but they can't find their .properties files (xml variable files). I have been able to install this code on many servlet engines including JRun, Tomcat, and Jserv by placing the .property files into the default root of the servlet engine. In JRun, for example, it would be Allaire/Jrun/servers/default. I have tried placing them in several directories and adding them individually to the classpath, but still no luck. Any help would be greatly appreciated.
Hi,
Please place your claspath in jvm12.conf file.
Which will be under /server-root/https-instance/config/jvm12.conf.
For more info about how to set classpath for running servlet. Please look out the below link.
http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/serv.htm#17272
http://docs.iplanet.com/docs/manuals/enterprise/50/servlets/xjvm.htm#21181
http://docs.iplanet.com/docs/manuals/enterprise/50/pg/2-config.htm#1069613
I hope this helps.
Regards,
Dakshin.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
How to use java security in a servelt with weblogic as a servlet engine?
Hi,
i want to use standard java security with a user defined permission in
servlet with wls 5.1 (Win nt) as a servelt engine.
WL-Home: f:\weblogic
Server: f:\weblogic\elan
Servlet: f:\weblogic\elan\elan\ServletGropsTest.class
The Servlet is registered in weblogic.properties:
weblogic.httpd.register.elan.ServletGropsTest=elan.ServletGropsTest
i've added this to the weblogic.policy:
grant codebase "file:f:/weblogic/elan/elan/" {
permission java.security.AllPermission;
The servlet code is:
SecurityManager m = System.getSecurityManager();
if (m != null) m.checkPermission(new AndisPermission("x","y"));
WLS throws the permission-exception:
Do Jul 18 11:54:54 GMT+02:00 2002:<E> <ServletContext-General> Servlet
failed with Exception
java.security.AccessControlException: access denied
(elan.AndisPermission x y)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java,
Compiled Cod
at elan.ServletGropsTest.doGet(ServletGropsTest.java, Compiled
Code)
can anyone help?
regards
Andyran_t wrote:
...I am using java 1.3.Why are you using an utterly obsolete version of Java?
My program using log4j jar.
When i put the log4j.jar in a path that include spaces like "c:\Program files\",Try it as c:\Program%20files\ -
Problem in servlet engine (WLS 7.0) with the chunked transfer
Hi,
While using jakarta-slide on weblogic 7.0, I encountered the following
problem while uploading files using WebDAV servlet deployed on WLS:
"**** This file has a corrupted %%EOF marker, or garbage after the
%%EOF."
Is this is a problem with the way that WLS servlet engine is handling
chunked transfers ?
According to the change request 084847, "For chunked
transfer, WebLogic Server was including a hexadecimal number which
other
servlet engines used to ignore. This has been fixed WLS 6.1 sp 4."
Is this fixed in WLS 7.0 ? I could not find this in the resolved bugs
list for WLS 7 SP1. If this has not been fixed in 7.0, any idea when
this fix would make it to WLS 7.0 ?
Any pointers would be of great help.
Thanks,
Jeeji.
Hi,
While using jakarta-slide on weblogic 7.0, I encountered the following
problem while uploading files using WebDAV servlet deployed on WLS:
"**** This file has a corrupted %%EOF marker, or garbage after the
%%EOF."
Is this is a problem with the way that WLS servlet engine is handling
chunked transfers ?
According to the change request 084847, "For chunked
transfer, WebLogic Server was including a hexadecimal number which
other
servlet engines used to ignore. This has been fixed WLS 6.1 sp 4."
Is this fixed in WLS 7.0 ? I could not find this in the resolved bugs
list for WLS 7 SP1. If this has not been fixed in 7.0, any idea when
this fix would make it to WLS 7.0 ?
Any pointers would be of great help.
Thanks,
Jeeji.
-
WebLogic Server vs Embedded Servlet Engine
We have licensing for WebLogic Server, and I was wondering if there were any benefits to using it over the embedded servlet engine for hosting Collaboration 4.5 or Publisher 6.4?
hi.
WebLogic Express supports the following:
Servlets, JSP, JDBC, JNDI, JTA, JAAS, JAXP, RMI, and clustering. You
can build a cluster of WLExpress instances.
Hope this helps,
Michael
Laurent PAILLARD wrote:
What are the differences between Server and Express. I've read that
Express does not implement EJB, JMS and two-phase commit protocol for
transaction. Nothing is said about clustering. As Servlet session can
be clustered, I wish to know if I can build a cluster with 2 Weblogic
Express instances.--
Michael Young
Developer Relations Engineer
BEA Support -
Hello All,
I forgot the subject line. I'm trying to set up iPlanet Directory 4.1 with
WebLogic 5.1 Sp3 on Solaris7. Weblogic will see the users I specify
(username,groupname) but not
the group, additionally it will allow you to login if you know the
username and anypassword. I get the following error when loading the
http://localhost:port/AdminRealm. I've gone through the LDAP
properties file a million times. Lastly, now it does a core - dump
while trying to start.
Please help.
Richard
################# Begin Error ###############################3
java.lang.NullPointerException
at weblogic.security.ldaprealm.LDAPDelegate.magicBunny(Compiled Code)
at weblogic.security.ldaprealm.LDAPDelegate.addGroupMember
(Compiled Code)
at weblogic.security.ldaprealm.LDAPDelegate.getGroupMembers
(Compiled Code)
at weblogic.security.ldaprealm.LDAPDelegate.getGroupMembers
(LDAPDelegate.java:518)
at weblogic.security.ldaprealm.LDAPRealm.getGroupMembersInternal
(LDAPRealm.java:81)
at weblogic.security.acl.AbstractListableRealm.getGroupMembers
(AbstractListableRealm.java:302)
at weblogic.security.acl.FlatGroup.ensureFreshness
(FlatGroup.java:149)
at weblogic.security.acl.FlatGroup.members(FlatGroup.java:236)
at admin.AdminRealm.composePage(Compiled Code)
at admin.AdminServlet.service(AdminServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:744)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:692)
at weblogic.servlet.internal.ServletContextManager.invokeServlet
(ServletContextManager.java:251)
at weblogic.socket.MuxableSocketHTTP.invokeServlet
(MuxableSocketHTTP.java:363)
at weblogic.socket.MuxableSocketHTTP.execute
(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(Compiled Code)I have the same requirement too. I have been looking at many sources and havent
come across any that mentions anything related to this. If you come across anything
please do let me know.
Regards
Vijay
"Licheng" <[email protected]> wrote:
>
I also face the similar problem. In our case, one of the business requirements
for the authentication process is that when a user is authenticated,
but his password
expires, the system should force the user to change password.
With JAAS and WebLogic 7.0, I don't know the standard or "preferred"
approach
to this problem
regards
Licheng -
Iplanet Integration with weblogic
Dear All,
We want to integrate IPlanet with weblogic application server.
Please suggest the procedure for the same i.e docs , URLs.
Thanks
Prashantkindly take a look at our reverse proxy plugin
http://docs.sun.com/app/docs/doc/819-0902
also, please note that if you need to serve only servlet / jsp , then sun java system web server 6.1 has integrated container that can do the job very well.
for any further business process logic , you can use the app servers with 'reverse proxy enabled' so that these requested can be forwards to either Sun Java System Application Server or Web Logic
thanks
sriram. -
A problem with servlets with WebLogic 4.5.1 SP11
Hello,
We have developed a client that connects to servlets in WebLogic 4.5.1. Some of the servlets use sessions to store data, and they receive some parameters from the client to retrieve information from a database.
When we use WebLogic 4.5.1, everything works fine. However, when we upgrade it to Service Pack 11, we find a problem. If we make a servlet that receives some parameters, but it does no use sessions, everything is correct. If we make a servlet that does not receive any parameter, and we use sessions, we find no problem either. But if we make a servlet that receives parameters and uses sessions within the doPost() method, there is an exception when we call the method Request.getSession(true).
I would thank any help about this point, since I'm not sure if this is the result of a bug, or if there is a new parameter that we have to set in the file weblogic.properties, or any other reason.
The code of our servlet is as simple as follows:
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {
ObjectInputStream in = new ObjectInputStream(request.getInputStream());
String arg = null;
String arg2 = null;
String arg3 = null;
try{
arg = (String)in.readObject();
arg2 = (String)in.readObject();
arg3 = (String)in.readObject();
}catch(Exception e){
// Get the session and the counter param attribute
HttpSession session = request.getSession(true);
// WE GET THE EXCEPTION AT THIS POINT.
Integer ival = (Integer) session.getValue("simplesession.counter");
if (ival == null)
// Initialize the counter
ival = new Integer(1);
else
// Increment the counter
ival = new Integer(ival.intValue() + 1);
// Set the new attribute value in the session
session.putValue("simplesession.counter", ival);
// Output data
ObjectOutputStream out = new ObjectOutputStream(response.getOutputStream());
out.writeObject(ival);
out.close();
On the other hand, the client invokes the serlvets using the following code:
public int servletClient(String usuario,String password) {
int numero = 0;
try{
// Input parameters
Serializable[] objs = {"login",usuario, password};
// Invokes the servlet
ObjectInputStream in = ServletWriter.postObjects(urlServlet, objs); // SEE BELOW...
// Get the results
numero = ((Integer)in.readObject()).intValue();
in.close();
}catch(Exception e){
e.printStackTrace();
static public ObjectInputStream postObjects(URL servlet, Serializable objs[]) throws Exception
URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
// Write the arguments as post data
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
int numObjects = objs.length;
for (int x = 0; x < numObjects; x++) {
out.writeObject(objs[x]);
out.flush();
out.close();
return new ObjectInputStream( con.getInputStream() );
// THE CLIENT CODE FINISHES HERE
The exception we get is the following:
Mon Feb 21 13:47:41 GMT-02:00 2000:<E> <ServletContext-Servlets> Servlet failed with RuntimeException
Mon Feb 21 13:47:41 GMT-02:00 2000:<E> <ServletContext-Servlets> java.io.IOException: Unexpected end of POST data. Read 0 bytes. Content-length = 20
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.initSessionInfo(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getSession(Compiled Code)
at SGBA.servlets.HelloWorldServlet.doPost(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: cannot parse POST parameters of request /HelloWorldServlet
- with nested exception:
[java.io.IOException: Unexpected end of POST data. Read 0 bytes. Content-length = 20]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at weblogic.utils.NestedRuntimeException.<init>(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.initSessionInfo(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getSession(Compiled Code)
at SGBA.servlets.HelloWorldServlet.doPost(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
I hope all this information can help you making an idea of our problem. We will be looking forward to receiving your answer.
Thanks in advance,
Frankie Carrero.
Hello,
We have developed a client that connects to servlets in WebLogic 4.5.1. Some of the servlets use sessions to store data, and they receive some parameters from the client to retrieve information from a database.
When we use WebLogic 4.5.1, everything works fine. However, when we upgrade it to Service Pack 11, we find a problem. If we make a servlet that receives some parameters, but it does no use sessions, everything is correct. If we make a servlet that does not receive any parameter, and we use sessions, we find no problem either. But if we make a servlet that receives parameters and uses sessions within the doPost() method, there is an exception when we call the method Request.getSession(true).
I would thank any help about this point, since I'm not sure if this is the result of a bug, or if there is a new parameter that we have to set in the file weblogic.properties, or any other reason.
The code of our servlet is as simple as follows:
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {
ObjectInputStream in = new ObjectInputStream(request.getInputStream());
String arg = null;
String arg2 = null;
String arg3 = null;
try{
arg = (String)in.readObject();
arg2 = (String)in.readObject();
arg3 = (String)in.readObject();
}catch(Exception e){
// Get the session and the counter param attribute
HttpSession session = request.getSession(true);
// WE GET THE EXCEPTION AT THIS POINT.
Integer ival = (Integer) session.getValue("simplesession.counter");
if (ival == null)
// Initialize the counter
ival = new Integer(1);
else
// Increment the counter
ival = new Integer(ival.intValue() + 1);
// Set the new attribute value in the session
session.putValue("simplesession.counter", ival);
// Output data
ObjectOutputStream out = new ObjectOutputStream(response.getOutputStream());
out.writeObject(ival);
out.close();
On the other hand, the client invokes the serlvets using the following code:
public int servletClient(String usuario,String password) {
int numero = 0;
try{
// Input parameters
Serializable[] objs = {"login",usuario, password};
// Invokes the servlet
ObjectInputStream in = ServletWriter.postObjects(urlServlet, objs); // SEE BELOW...
// Get the results
numero = ((Integer)in.readObject()).intValue();
in.close();
}catch(Exception e){
e.printStackTrace();
static public ObjectInputStream postObjects(URL servlet, Serializable objs[]) throws Exception
URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
// Write the arguments as post data
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
int numObjects = objs.length;
for (int x = 0; x < numObjects; x++) {
out.writeObject(objs[x]);
out.flush();
out.close();
return new ObjectInputStream( con.getInputStream() );
// THE CLIENT CODE FINISHES HERE
The exception we get is the following:
Mon Feb 21 13:47:41 GMT-02:00 2000:<E> <ServletContext-Servlets> Servlet failed with RuntimeException
Mon Feb 21 13:47:41 GMT-02:00 2000:<E> <ServletContext-Servlets> java.io.IOException: Unexpected end of POST data. Read 0 bytes. Content-length = 20
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.initSessionInfo(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getSession(Compiled Code)
at SGBA.servlets.HelloWorldServlet.doPost(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: cannot parse POST parameters of request /HelloWorldServlet
- with nested exception:
[java.io.IOException: Unexpected end of POST data. Read 0 bytes. Content-length = 20]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at weblogic.utils.NestedRuntimeException.<init>(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.initSessionInfo(Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.getSession(Compiled Code)
at SGBA.servlets.HelloWorldServlet.doPost(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
I hope all this information can help you making an idea of our problem. We will be looking forward to receiving your answer.
Thanks in advance,
Frankie Carrero.
-
Using JNI with weblogic JSP & Servlets
I want to use native libraries from JSP and Servlets.
Everything works fine befire redeploying.
After redeploying there is an error:
Servlet failed with Exception
java.lang.UnsatisfiedLinkError: Native Library D:\WINNT\system32\XXXX.dll
already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1346)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at HelloWorld.<clinit>(HelloWorld.java:9)
at NativeTestServlet.doGet(NativeTestServlet.java:31)
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
:208)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1127)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Can anybody solve it?
Best wishes, Oleg.
Java will not allow us to reload any class that is dependent on a native
library. I suggest that any classes that depend on native code should be
put in the system classpath. If you change these classes or the native
library you will need to restart your server.
Sam
"Jennifer Yin" <[email protected]> wrote in message
news:[email protected]...
> Oleg-
>
> I'm having the exact same problem and was wondering how you fixed it. I
ran
> javah -jni <classname> to verify the correct method call and have also
verified
> that the library file is included in the system path.
>
> Any other suggestions?
>
> Jennifer
>
> Oleg wrote:
>
> > I want to use native libraries from JSP and Servlets.
> > Everything works fine befire redeploying.
> > After redeploying there is an error:
> >
> > Servlet failed with Exception
> > java.lang.UnsatisfiedLinkError: Native Library
D:\WINNT\system32\XXXX.dll
> > already loaded in another classloader
> > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1346)
> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
> > at java.lang.Runtime.loadLibrary0(Runtime.java:749)
> > at java.lang.System.loadLibrary(System.java:820)
> > at HelloWorld.<clinit>(HelloWorld.java:9)
> > at NativeTestServlet.doGet(NativeTestServlet.java:31)
> > 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
> > :208)
> > at
> >
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
> > ntext.java:1127)
> > at
> >
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> > :1529)
> > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> > >
> >
> > Can anybody solve it?
> >
> > Best wishes, Oleg.
>
-
Servlets have been working for months. Suddenly, I'm getting
this error (see below) as soon as I try to hit a servlet.
The startup process looks normal. I've re-installed WL v 4.0.3
several time, gotten the license in place, so on and so forth,
but cannot get around this problem. "weblogic.properties" file
still reads:
weblogic.httpd.register.file=weblogic.servlet.FileServlet
All my servlets and EJBs have been registered, and db connection and
pool made, as usual. As I said above, everything looks normal until
I try to hit a servlet.
[... startup output tidied up a bit ...]
Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
... and so on with multiple cascading failures.
Does anyone have any idea as to what could cause this?
Thanks.
Paul Furbacher
[email protected]
Did you register your servlets after reinstalling. FileServlet is only for handling html pages. It has no role in loading servlets.
"Paul Furbacher [TeamB]" wrote:
> Servlets have been working for months. Suddenly, I'm getting
> this error (see below) as soon as I try to hit a servlet.
> The startup process looks normal. I've re-installed WL v 4.0.3
> several time, gotten the license in place, so on and so forth,
> but cannot get around this problem. "weblogic.properties" file
> still reads:
>
> weblogic.httpd.register.file=weblogic.servlet.FileServlet
>
> All my servlets and EJBs have been registered, and db connection and
> pool made, as usual. As I said above, everything looks normal until
> I try to hit a servlet.
>
> ****
>
> [... startup output tidied up a bit ...]
> Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
> Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
> Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
> Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
> weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
> at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
> at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
> at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
> at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
> at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
> at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
> at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
> at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
> at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
> at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
>
> Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
>
> ... and so on with multiple cascading failures.
>
> ****
>
> Does anyone have any idea as to what could cause this?
>
> Thanks.
>
> Paul Furbacher
> [email protected]
-
Integrate iPlanet Web server with Weblogic 6.0?
Hi
Like to find out if there is any way I can integrate iPlanet Web Server,
Enterprise Edition to Weblogic 6.0 sp2 . Is there anyway iPlanet could
intergate with Weblogic security realm? Basicly I need to find you if
iPlanet could use Webloigc for security authantication?
thanks
Tong KiatRefer to Weblogic documentation on iPlanet proxy pluging settings
Maybe you are looking for
-
Is it possible to change the colour of the bars in a chart on the iPad?
I'm using keynote for iOS and I'm trying to pick the bar colour for my charts. I understand that the default settings will change the colour for each new series but I have a few charts all with a single series and I would like to change the colours a
-
Re: managing novell server using Pocket PC
On Mon, 13 Sep 2004 03:50:05 GMT, [email protected] wrote: > Is it possible to manage a novell network using a pocket pc, not at the moment... future perhaps.. Marcus Breiden Please change -- to - to mail me. The content of this mail is my private an
-
please help
-
how can i insert a picture in a gui? thx
-
Hide Interactive Report Control Break from page
I have a page with an Interactive Report. I have hidden the Search Box and Actions menu (based on users's request). I also want to hide the text on the page for the Control Break I created for the report (the part that shows the column name for the C