Re: 5.5.15 and JDK 1.4.2_08 to 5.5.16 andJDK 1.5.0_06 yields an extra question mark for all requests

2006-04-09 Thread Rainer Jung

TC 5.5.16 problem:

http://issues.apache.org/bugzilla/show_bug.cgi?id=38113

Should be fixes in 5.5.17 (not yet realeased).


Scott Dunbar wrote:

Hello,
I recently tried to upgrade from Tomcat 5.5.15 with the 1.4 
compatibility libraries and 1.4.2_08 to 5.5.16 without the compatibility 
libraries and 1.5.0_06.  I'm having a problem where it seems as if each 
request gets an extra question mark.  From a 5.5.16 access log:


w.x.y.z - - [08/Apr/2006:16:56:49 -0600] GET /forums/list.page? 
HTTP/1.1 404 952
w.x.y.z - - [08/Apr/2006:16:56:49 -0600] GET /favicon.ico? HTTP/1.1 
200 3638


The same requests in 5.5.15:

w.x.y.z - - [08/Apr/2006:16:59:43 -0600] GET /forums/list.page 
HTTP/1.0 200 37488
w.x.y.z - - [08/Apr/2006:16:59:49 -0600] GET /favicon.ico HTTP/1.1 200 
3638


If I run the 5.5.15 configuration with 1.5.0_06 *and* the compatibility 
libraries it still works just fine.  I have not had a chance to run 
other variations.  I run about 20 virtual hosts and they all have 
various issues like this.  Tomcat is fronted with Apache 2.0.55 httpd 
via mod_jk 1.2.15 and uses ajp13 in both instances.


Anyone have any pointers as to where I might look for the issue?

This is a Fedora Core 3 box.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: calling ant launcher

2006-04-09 Thread Rolf Schumacher

Found a good explenation for my error here:

http://www.jspwiki.org/wiki/A2AClassCastException

Building a servlet that invokes Ant,
one should not use the Launcher.java in favor of the Ant class Project.java:

This is my invoker - assuming ant.jar, ant-launcher.jar and e.g. 
ant-trax.jar in WEB-INF/lib:


   private void execAnt( Properties properties, String buildFile ) {
   try {
   // create a project
   final Project project = new Project();
   // Add the default listener - a simple Logger extending 
BuildLogger

   project.addBuildListener( new AntLogger() );
   // set the classloader
   project.setCoreLoader(this.getClass().getClassLoader());
   // set the input handler, don't know if this is really needed
   project.setInputHandler(new DefaultInputHandler());
   // init
   project.init();
   // set the version and other properties
   project.setUserProperty(MagicNames.ANT_VERSION, unknown );
   for( Object property: properties.keySet() )
   project.setUserProperty( (String)property,
   properties.getProperty( (String)property) );
   // set the path to the build file
   project.setUserProperty(MagicNames.ANT_FILE, buildFile );
   // configure the project
   ProjectHelper.configureProject(project, new File( buildFile) );
   // set the target
   VectorString targets = new VectorString();
   targets.addElement(project.getDefaultTarget());
   // execute the project
   project.executeTargets(targets);
   } catch( Throwable t ) { log.error( FAILED, t );
   } finally {}
   }


Rolf Schumacher wrote:

Dear Tomcat professionals,

I tried to automate some installation over the Web
I got a class cast exception when trying to launch Ant from a servlet.
The program works fine if I execute it from the command line.
In a servlet under Tomcat it causes a

java.lang.ClassCastException: org.apache.tools.ant.Main
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:275)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:96)

I looked up line 275 in Launcher.java:

270URLClassLoader loader = new URLClassLoader(jars);
271Thread.currentThread().setContextClassLoader(loader);
272Class mainClass = null;
273try {
274 mainClass = loader.loadClass(MAIN_CLASS);
275AntMain main = (AntMain) mainClass.newInstance();
276main.startAnt(newArgs, null, null);

Do you have an idea why the loader does load something different
that usually can be casted to AntMain?

Any help appreaciated.

Rolf


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat embedded does not show ROOT context

2006-04-09 Thread Juergen Weber
Hi everybody,

I made a war from the Tomcat root and manager applications and startet
them
with the code below. The manager app works and it lists the Root
applicatio=
n
as installed.
But when I try to go to http://localhost:6969/
there is only The requested resource (/) is not available.

I added

welcome-file-list
welcome-filemanager-howto.html/welcome-file
/welcome-file-list

to managers web.xml, but

http://localhost:6969/manager/

also gives The requested resource (/) is not available.

Any ideas what went wrong or what I did wrong?

Thanks,
J=FCrgen



import java.io.File;

import org.apache.catalina.Context;
import org.apache.catalina.Engine;
import org.apache.catalina.Host;
import org.apache.catalina.LifecycleEvent;
import org.apache.catalina.LifecycleListener;
import org.apache.catalina.Realm;
import org.apache.catalina.connector.Connector;
import org.apache.catalina.realm.JNDIRealm;
import org.apache.catalina.startup.Embedded;

public class TomcatServer
{


public static void main(String[] args) throws Exception
{
String hostname =3D localhost;

int port =3D 6969;

System.out.println(Host:  + hostname +  Port:  + port);

System.out.println(Java:  + System.getProperty(java.vendor)
+ 

+ System.getProperty(java.version));

Embedded embeddedTomcat =3D new Embedded();

Engine engine =3D embeddedTomcat.createEngine();
engine.setDefaultHost(localhost);

Host host =3D embeddedTomcat.createHost(localhost, new
File(.)
.getAbsolutePath()
+ /webapps);
engine.addChild(host);

Realm realm =3D createRealm();
engine.setRealm(realm);

File rootwar =3D new File(., /ROOT.war);
Context rootCtx =3D embeddedTomcat.createContext(/, rootwar
.getAbsolutePath());
rootCtx.setPrivileged(true);
host.addChild(rootCtx);
System.out.println(ROOT.war added);


File mgrwar =3D new File(., /manager.war);
Context mgrCtx =3D embeddedTomcat.createContext(/manager,
mgrwar
.getAbsolutePath());
mgrCtx.setPrivileged(true);
host.addChild(mgrCtx);
System.out.println(manager warfile added);


embeddedTomcat.addEngine(engine);

Connector httpConnector =3D embeddedTomcat.createConnector(
(java.net.InetAddress) null, port, false);


httpConnector.addLifecycleListener(new LifecycleListener()
{
public void lifecycleEvent(LifecycleEvent event)
{
System.out.println(lifecycleEvent:  +
event.getType());
};
});


embeddedTomcat.addConnector(httpConnector);

embeddedTomcat.start();
}

private static Realm createRealm()
{
JNDIRealm realm =3D new JNDIRealm();
realm.setConnectionURL(ldap://localhost:389;);
realm.setUserPattern(uid=3D{0},ou=3Dpeople,dc=3Djwi,dc=3Dde);
realm.setRoleBase(ou=3Droles,dc=3Djwi,dc=3Dde);
realm.setRoleName(cn);
realm.setRoleSearch((uniqueMember=3D{0}));

return realm;
}

}

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 5.5.15 and JDK 1.4.2_08 to 5.5.16 andJDK 1.5.0_06 yields an extra question mark for all requests

2006-04-09 Thread Scott Dunbar

Thanks very much!

Rainer Jung wrote:

TC 5.5.16 problem:

http://issues.apache.org/bugzilla/show_bug.cgi?id=38113

Should be fixes in 5.5.17 (not yet realeased).


Scott Dunbar wrote:

Hello,
I recently tried to upgrade from Tomcat 5.5.15 with the 1.4 
compatibility libraries and 1.4.2_08 to 5.5.16 without the 
compatibility libraries and 1.5.0_06.  I'm having a problem where it 
seems as if each request gets an extra question mark.  From a 5.5.16 
access log:


w.x.y.z - - [08/Apr/2006:16:56:49 -0600] GET /forums/list.page? 
HTTP/1.1 404 952
w.x.y.z - - [08/Apr/2006:16:56:49 -0600] GET /favicon.ico? HTTP/1.1 
200 3638


The same requests in 5.5.15:

w.x.y.z - - [08/Apr/2006:16:59:43 -0600] GET /forums/list.page 
HTTP/1.0 200 37488
w.x.y.z - - [08/Apr/2006:16:59:49 -0600] GET /favicon.ico HTTP/1.1 
200 3638


If I run the 5.5.15 configuration with 1.5.0_06 *and* the 
compatibility libraries it still works just fine.  I have not had a 
chance to run other variations.  I run about 20 virtual hosts and 
they all have various issues like this.  Tomcat is fronted with 
Apache 2.0.55 httpd via mod_jk 1.2.15 and uses ajp13 in both instances.


Anyone have any pointers as to where I might look for the issue?

This is a Fedora Core 3 box.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Tomcat embedded does not show ROOT context

2006-04-09 Thread Nic Daniau
 http://localhost:6969/manager/ also gives The requested resource (/) is
not available.

try http://localhost:6969/manager/html

On 09/04/06, Juergen Weber [EMAIL PROTECTED] wrote:

 Hi everybody,

 I made a war from the Tomcat root and manager applications and startet
 them
 with the code below. The manager app works and it lists the Root
 applicatio=
 n
 as installed.
 But when I try to go to http://localhost:6969/
 there is only The requested resource (/) is not available.

 I added

 welcome-file-list
 welcome-filemanager-howto.html/welcome-file
 /welcome-file-list

 to managers web.xml, but

 http://localhost:6969/manager/

 also gives The requested resource (/) is not available.

 Any ideas what went wrong or what I did wrong?

 Thanks,
 J=FCrgen



 import java.io.File;

 import org.apache.catalina.Context;
 import org.apache.catalina.Engine;
 import org.apache.catalina.Host;
 import org.apache.catalina.LifecycleEvent;
 import org.apache.catalina.LifecycleListener;
 import org.apache.catalina.Realm;
 import org.apache.catalina.connector.Connector;
 import org.apache.catalina.realm.JNDIRealm;
 import org.apache.catalina.startup.Embedded;

 public class TomcatServer
 {


 public static void main(String[] args) throws Exception
 {
 String hostname =3D localhost;

 int port =3D 6969;

 System.out.println(Host:  + hostname +  Port:  + port);

 System.out.println(Java:  + System.getProperty(java.vendor)
 + 
 
 + System.getProperty(java.version));

 Embedded embeddedTomcat =3D new Embedded();

 Engine engine =3D embeddedTomcat.createEngine();
 engine.setDefaultHost(localhost);

 Host host =3D embeddedTomcat.createHost(localhost, new
 File(.)
 .getAbsolutePath()
 + /webapps);
 engine.addChild(host);

 Realm realm =3D createRealm();
 engine.setRealm(realm);

 File rootwar =3D new File(., /ROOT.war);
 Context rootCtx =3D embeddedTomcat.createContext(/, rootwar
 .getAbsolutePath());
 rootCtx.setPrivileged(true);
 host.addChild(rootCtx);
 System.out.println(ROOT.war added);


 File mgrwar =3D new File(., /manager.war);
 Context mgrCtx =3D embeddedTomcat.createContext(/manager,
 mgrwar
 .getAbsolutePath());
 mgrCtx.setPrivileged(true);
 host.addChild(mgrCtx);
 System.out.println(manager warfile added);


 embeddedTomcat.addEngine(engine);

 Connector httpConnector =3D embeddedTomcat.createConnector(
 (java.net.InetAddress) null, port, false);


 httpConnector.addLifecycleListener(new LifecycleListener()
 {
 public void lifecycleEvent(LifecycleEvent event)
 {
 System.out.println(lifecycleEvent:  +
 event.getType());
 };
 });


 embeddedTomcat.addConnector(httpConnector);

 embeddedTomcat.start();
 }

 private static Realm createRealm()
 {
 JNDIRealm realm =3D new JNDIRealm();
 realm.setConnectionURL(ldap://localhost:389;);
 realm.setUserPattern(uid=3D{0},ou=3Dpeople,dc=3Djwi,dc=3Dde);
 realm.setRoleBase(ou=3Droles,dc=3Djwi,dc=3Dde);
 realm.setRoleName(cn);
 realm.setRoleSearch((uniqueMember=3D{0}));

 return realm;
 }

 }

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Strange problem with startup, InvocationTargetException

2006-04-09 Thread NMCMINN
I am trying to get Liferay Portal 4.0.0RC1 up and running on an existing
installation of Tomcat 5.5.12 using JDK 1.5.0_05. Everything is set up
according to the instructions, but when I go to start the Tomcat server
I get the following exceptions:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
... 6 more

If I remove the JNDI resource element that creates jdbc/LiferayPool, the
server will start successfully, but the portal application throws up a
ton of exceptions (obviously). Can anybody tell me why adding the
element shown below to my Context element in server.xml would cause
Tomcat to freak out? I have also tried setting up the resource in the
GlobalNamingResources area, and it still causes Tomcat to fail to start.

Resource
name=jdbc/LiferayPool
auth=Container
type=javax.sql.DataSource
description=Liferay JDBC resource
driverClassName=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost/lportal?useUnicode=truecharacterEncoding=UTF-8
username=**
password=**
maxActive=100
maxIdle=30
maxWait=1
/

Thank you very much for your help!

--Nathan McMinn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 3.2.1 + JDK 1.4

2006-04-09 Thread Sandeep N
  I am getting error messages on the console when a https page is  invoked. The 
error messages starts coming on the console immediately  when the certificate 
dialog appears.If we do not respond to the  certificate dialog box, error 
messages will continue to appear on the  console and finally causing stack 
overflow.  Following are the error messages appearing on the console:
Ctx(  ): 400 R( /) null
  2006-04-07 04:54:40 - Ctx(  ): IOException in: R( /) Connection closed by 
remote host
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= FLUSHED, new state = CODING
  .
  .
  .
  2006-04-07 04:54:53 - Ctx(  ): IllegalStateException in: R( /) Current state 
= FLUSHED, new state = CODING
  2006-04-07 04:54:53 - Ctx(  ): Exception in: R( /) - 
java.lang.StackOverflowError   at 
sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66)
   at java.security.AccessController.doPrivileged(Native Method)   at 
java.io.PrintWriter.init(PrintWriter.java:72)
   at java.io.PrintWriter.init(PrintWriter.java:57)
   at 
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:268)
   at org.apache.tomcat.core.Handler.service(Handler.java:286)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
   at org.apache.tomcat.core.Handler.service(Handler.java:311)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
  
Please advise.
  
  
  Thanks
  Sandeep.

  

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Please help me check my mod_jk setup?

2006-04-09 Thread Kurt Overberg




I'm hoping that someone here can tell me if this configuration looks 
sane, or at least in line with what others are using.  I am running 
Apache 1.3.33, mod_jk 1.2.15 and tomcat 5.0.28.  The apache and each 
tomcat are running on separate RedHat ES release 4 machines (so 3 boxes 
total).  I'm pretty unsure of the settings in the workers.properties 
file versus the settings in the tomcat server.xml file.  Specifically 
regarding the timeouts.  I thought that this configuration would really 
do the trick, but the system freaked out and locked up again this 
morning.  Freaked out and Locked Up means that the number of sockets 
open from the Apache to the tomcats skyrockets (300+, up from an average 
of 50 each), and all the apache requests get stuck in the W state 
(from the /server-status/ page).  All machines are on the same subnet, 
with no firewalls in between.


Any comments, ideas, thoughts, or chants of no whammies would be 
greatly appreciated.  Even if this all looks very sane, please let me 
know, so I can feel that I got this (relatively) right and start 
investigating elsewhere for the problem.  Thanks.


/kurt



RedHat version:

[EMAIL PROTECTED] conf]# uname -a
Linux www1.bzzagent.com 2.6.9-22.0.2.EL #1 Thu Jan 5 17:03:45 EST 2006 
i686 athlon i386 GNU/Linux

Machines are relatively beefy Althon boxes with 1Gb ram each.


Tomcat connector configuration from server.xml (both tomcats):

Connector port=8089 protocol=AJP/1.3 maxThreads=400 
maxProcessors=0 minSpareThreads=25 connectionTimeout=30 
maxSpareThreads=75 enableLookups=false redirectPort=8593/




Relevant Apache 1.3.33 configuration:

MaxClients 512
MaxRequestsPerChild 0
MaxKeepAliveRequests 0
KeepAliveTimeout 15
MinSpareServers 16
MaxSpareServers 64
Timeout 300


mod_jk.conf configuration:

JkWorkersFile /usr/local/apache/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel   info



# workers.properties configuration

worker.list=tc1-w1,tc2-w1,status,loadbalancer

# tomcat 1 on host tc1
worker.tc1-w1.host=192.168.1.254
worker.tc1-w1.port=8089
worker.tc1-w1.type=ajp13
worker.tc1-w1.lbfactor=8
worker.tc1-w1.socket_keepalive=1
worker.tc1-w1.socket_timeout=60
worker.tc1-w1.recycle_timeout=60
worker.tc1-w1.connect_timeout=6
worker.tc1-w1.prepost_timeout=6


# tomcat 1 on host tc2
worker.tc2-w1.host=192.168.1.247
worker.tc2-w1.port=8089
worker.tc2-w1.type=ajp13
worker.tc2-w1.lbfactor=8
worker.tc2-w1.socket_keepalive=1
worker.tc2-w1.socket_timeout=60
worker.tc2-w1.recycle_timeout=60
worker.tc2-w1.connect_timeout=6
worker.tc2-w1.prepost_timeout=6

worker.status.type=status

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tc1-w1,tc2-w1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help with filter affecting Chinese words in request parameters

2006-04-09 Thread roy tang
Hi,

I'm new to this list, hope someone here can help. :)

We're developing a webapp that should be able to accept Chinese input. We
also have a filter installed in the webapp for some auditing that we need to
do per request that's processed. However, we've found that when we submit a
form with Chinese inputs, the Chinese chars end up saved to the database as
HTML-escaped entities. (i.e. #32610; or such).

So we backtrace, and we find that removing the filter from web.xml fixes the
problem. We debug through the doFilter() method of our filter, but we find
that at the start of the method, request.getParameter(PARAM_NAME) already
shows the input as HTML-escaped entities.

The weird thing is, this doesn't happen on all our Tomcat
installations...each of our developers has a local Tomcat running, and it
only happens for one or two. But it also happens on our Test (QA) server,
such that our testing team always encounters the problem.

Is there any particular language or encoding setting that I should be
checking?

Thanks a lot :D

Roy


Re: Help with filter affecting Chinese words in request parameters

2006-04-09 Thread Mike Sabroff
So, what are the differences on the machines that have the problem vs 
the ones that don not??


roy tang wrote:

Hi,

I'm new to this list, hope someone here can help. :)

We're developing a webapp that should be able to accept Chinese input. We
also have a filter installed in the webapp for some auditing that we need to
do per request that's processed. However, we've found that when we submit a
form with Chinese inputs, the Chinese chars end up saved to the database as
HTML-escaped entities. (i.e. #32610; or such).

So we backtrace, and we find that removing the filter from web.xml fixes the
problem. We debug through the doFilter() method of our filter, but we find
that at the start of the method, request.getParameter(PARAM_NAME) already
shows the input as HTML-escaped entities.

The weird thing is, this doesn't happen on all our Tomcat
installations...each of our developers has a local Tomcat running, and it
only happens for one or two. But it also happens on our Test (QA) server,
such that our testing team always encounters the problem.

Is there any particular language or encoding setting that I should be
checking?

Thanks a lot :D

Roy
  


--
Mike Sabroff
Web Services Developer
[EMAIL PROTECTED]
920-568-8379


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 3.2.1 + JDK 1.4

2006-04-09 Thread Bill Barker
Even by Tomcat's very liberal standards, you are asking about a version that 
has been officially unsupported in over five years ;-).  If you are really 
lucky, there may be a grey-beard out here that remembers that far back (but, 
I'm not that old :).  Otherwise, it's probably time to consider upgrading to 
at least 3.3.2.

Tomcat 3.2.x is prettly heavly coded against JSSE 1.0.0.  The JSSE 1.0.1 
that ships with JDK 1.4 isn't really compatible, especially when it comes to 
dealing with client-certs.  Since there will never be another 3.2.x release, 
your options are to either upgrade Tomcat to at least 3.3.2 or downgrade 
your JVM to 1.3.x.

Sandeep N [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
  I am getting error messages on the console when a https page is  invoked. 
 The error messages starts coming on the console immediately  when the 
 certificate dialog appears.If we do not respond to the  certificate dialog 
 box, error messages will continue to appear on the  console and finally 
 causing stack overflow.  Following are the error messages appearing on 
 the console:
Ctx(  ): 400 R( /) null
  2006-04-07 04:54:40 - Ctx(  ): IOException in: R( /) Connection closed by 
 remote host
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current 
 state = FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current 
 state = FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current 
 state = FLUSHED, new state = CODING
  .
  .
  .
  2006-04-07 04:54:53 - Ctx(  ): IllegalStateException in: R( /) Current 
 state = FLUSHED, new state = CODING
  2006-04-07 04:54:53 - Ctx(  ): Exception in: R( /) - 
 java.lang.StackOverflowError   at 
 sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66)
   at java.security.AccessController.doPrivileged(Native Method)   at 
 java.io.PrintWriter.init(PrintWriter.java:72)
   at java.io.PrintWriter.init(PrintWriter.java:57)
   at 
 org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:268)
   at org.apache.tomcat.core.Handler.service(Handler.java:286)
   at 
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
 org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
   at org.apache.tomcat.core.Handler.service(Handler.java:311)
   at 
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
 org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)

Please advise.


  Thanks
  Sandeep.



 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and save 
 big. 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can we set the User Principal to another user once a user has been logged in??

2006-04-09 Thread Dhiraj Ramakrishnan
HI,