error, any help appreciated

2005-06-20 Thread Alex Korneyev
Hello,

  i see this error in tomcat.4.1.30's catalina.out

  i host about 30 different domains, how can i find out which one
  of those domains is causing an error?

Jun 21, 2005 12:06:17 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 2 column 10: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at 
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at 
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



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



getting desperate here :)

2004-12-02 Thread Alex Korneyev
Hello all,

  i have sent this one before, but i am hoping someone else has
  had this particular problem.
  __


 i am hoping someone has seen the following behavior.


 TomcatA sends a redirect to TomcatB

 on the backend, I can see that TomcatB receives a JSESSIONID that was
 originally assigned to it by TomcatA;

 i.e. cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;


 I rewrite reset the jsession id ( see the code bellow ), but


 on the next request i see this:

 cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054; 
JSESSIONID=2251830F6F64DEFC974C19C79F1EABAB

 for some reason using Mozilla works, but I.E. is the one that passes
 2 JSESSIONID variables. Thoughts?

if (cookies != null  cookies.length  0)
{
int len = cookies.length;
for (int i = 0; i  len; i++)
{
if 
(cookies[i].getName().equalsIgnoreCase(jsessionid))
{
cookies[i].setMaxAge(-1);
cookies[i].setPath(/);
_LOGGER.debug(COOKIE VALUE  + 
cookies[i].getValue() );
_LOGGER.debug(session id:   +  
request.getSession().getId() );
_LOGGER.debug( comp + (
request.getSession().getId().equals(cookies[i].getValue(;
if ( 
request.getSession().getId().equals(cookies[i].getValue()))
{
_LOGGER.debug(equal);
response.addCookie(cookies[i]);
}
else
{
_LOGGER.debug(not equal);
Cookie sessionCookie = new 
Cookie(JSESSIONID,
request.getSession().getId());

response.addCookie(sessionCookie);
}
foundCookie = true;
_LOGGER.debug(updated session cookie);

}
}
} 

 

 




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



Re[2]: getting desperate here :)

2004-12-02 Thread Alex Korneyev
Hello Peter Mengell,


  can you please clarify what you mean by session.invalidate

  alex korneyev
Thursday, December 2, 2004, 9:13:44 AM, you wrote:

 Hi,

 Are you invalidating the session from TomcatA before you redirect to TomcatB?,
 even a redirect should be able to clear the session cookie if you've
 invalidated the session.

 We do much the same thing sometimes and don't have this problem, the
 session.invalidate seems to be the only thing we seem to be doing 
 differently.

 Pete

 On Thursday 02 December 2004 15:05, Alex Korneyev wrote:
 Hello all,

   i have sent this one before, but i am hoping someone else has
   had this particular problem.
   __


  i am hoping someone has seen the following behavior.


  TomcatA sends a redirect to TomcatB

  on the backend, I can see that TomcatB receives a JSESSIONID that was
  originally assigned to it by TomcatA;

  i.e. cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;


  I rewrite reset the jsession id ( see the code bellow ), but


  on the next request i see this:

  cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;
 JSESSIONID=2251830F6F64DEFC974C19C79F1EABAB

  for some reason using Mozilla works, but I.E. is the one that passes
  2 JSESSIONID variables. Thoughts?

 if (cookies != null  cookies.length  0)
 {
 int len = cookies.length;
 for (int i = 0; i  len; i++)
 {
 if
 (cookies[i].getName().equalsIgnoreCase(jsessionid)) {
 cookies[i].setMaxAge(-1);
 cookies[i].setPath(/);
 _LOGGER.debug(COOKIE VALUE  +
 cookies[i].getValue() ); _LOGGER.debug(session id:   + 
 request.getSession().getId() ); _LOGGER.debug( comp + (
 request.getSession().getId().equals(cookies[i].getValue(;
 if (
 request.getSession().getId().equals(cookies[i].getValue())) {
 _LOGGER.debug(equal);

 response.addCookie(cookies[i]); }
 else
 {
 _LOGGER.debug(not equal);
 Cookie sessionCookie = new
 Cookie(JSESSIONID, request.getSession().getId());

 response.addCookie(sessionCookie); }
 foundCookie = true;
 _LOGGER.debug(updated session
 cookie);

 }
 }
 }








 -
 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]



-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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



JSESSION Internet Explorer

2004-11-30 Thread Alex Korneyev
Hello all,

 i am hoping someone has seen the following behavior.


 TomcatA sends a redirect to TomcatB

 on the backend, I can see that TomcatB receives a JSESSIONID that was
 originally assigned to it by TomcatA;

 i.e. cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;


 I rewrite reset the jsession id ( see the code bellow ), but


 on the next request i see this:

 cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054; 
JSESSIONID=2251830F6F64DEFC974C19C79F1EABAB

 for some reason using Mozilla works, but I.E. is the one that passes
 2 JSESSIONID variables. Thoughts?

if (cookies != null  cookies.length  0)
{
int len = cookies.length;
for (int i = 0; i  len; i++)
{
if 
(cookies[i].getName().equalsIgnoreCase(jsessionid))
{
cookies[i].setMaxAge(-1);
cookies[i].setPath(/);
_LOGGER.debug(COOKIE VALUE  + 
cookies[i].getValue() );
_LOGGER.debug(session id:   +  
request.getSession().getId() );
_LOGGER.debug( comp + ( 
request.getSession().getId().equals(cookies[i].getValue(;
if ( 
request.getSession().getId().equals(cookies[i].getValue()))
{
_LOGGER.debug(equal);
response.addCookie(cookies[i]);
}
else
{
_LOGGER.debug(not equal);
Cookie sessionCookie = new 
Cookie(JSESSIONID, request.getSession().getId());

response.addCookie(sessionCookie);
}
foundCookie = true;
_LOGGER.debug(updated session cookie);

}
}
} 

 

 


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



Re[2]: JSESSION Internet Explorer

2004-11-30 Thread Alex Korneyev
Hello Arnab Chakravarty,

  actually it is on 2 servers. can you go into little bit more
  detail on what you did via virtual hosts on apache side?

  alex korneyev

Tuesday, November 30, 2004, 10:15:31 PM, you wrote:

 Are these tomcats on the same machine or different machines. I had the
 same problem with my tomcat setup and as I was running the 2 tomcats on
 the same machine. To get rid of the problem I added virtual host in
 apache conf file for the other tomcat and then it started working fine
 as there were 2 hosts from where the request was generated (main machine
 host + virtual host).

 The problem is that one JSESSIONID cookie is maintained per host and I
 could see that tomcat 2 jsessionid was overwriting the tomcat 1
 jsessionid cookie as the request was coming from the same host.

 Its not just IE but problem could be seen in firefox also. The other way
 to avoid the problem is to disable cookies in the browser setting.

 Arnab

 -Original Message-
 From: Alex Korneyev [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 01, 2004 2:55 AM
 Cc: [EMAIL PROTECTED]
 Subject: JSESSION Internet Explorer

 Hello all,

  i am hoping someone has seen the following behavior.


  TomcatA sends a redirect to TomcatB

  on the backend, I can see that TomcatB receives a JSESSIONID that was
  originally assigned to it by TomcatA;

  i.e. cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;


  I rewrite reset the jsession id ( see the code bellow ), but


  on the next request i see this:

  cookie = JSESSIONID=6EF95FA9AA98E608C555E28875F57054;
 JSESSIONID=2251830F6F64DEFC974C19C79F1EABAB

  for some reason using Mozilla works, but I.E. is the one that passes
  2 JSESSIONID variables. Thoughts?

 if (cookies != null  cookies.length  0)
 {
 int len = cookies.length;
 for (int i = 0; i  len; i++)
 {
 if
 (cookies[i].getName().equalsIgnoreCase(jsessionid))
 {
 cookies[i].setMaxAge(-1);
 cookies[i].setPath(/);
 _LOGGER.debug(COOKIE VALUE  +
 cookies[i].getValue() );
 _LOGGER.debug(session id:   +
 request.getSession().getId() );
 _LOGGER.debug( comp + (
 request.getSession().getId().equals(cookies[i].getValue(;
 if (
 request.getSession().getId().equals(cookies[i].getValue()))
 {
 _LOGGER.debug(equal);
 
 response.addCookie(cookies[i]);
 }
 else
 {
 _LOGGER.debug(not
 equal);
 Cookie sessionCookie =
 new Cookie(JSESSIONID, request.getSession().getId());
 
 response.addCookie(sessionCookie);
 }
 foundCookie = true;
 _LOGGER.debug(updated session
 cookie);

 }
 }
 } 

 

 


 -
 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]



-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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



Tomcat 4.1.30 not restoring JDBC connections

2004-11-22 Thread Alex Korneyev
Hello All,

 has anyone ever experienced the following:

 we are using Tomcat's 4.1.30 connection pool.

 For some reason, when network connection goes down, even for 1 sec,
 connection pool is not smart enough to either get rid of a connection
 and try get another one, or reconnect;

 any ideas?

 Alex K.


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



setting JSESSION variable

2004-11-22 Thread Alex Korneyev
what is the proper way to set jsession id if i want my own id?

basically the situation is as follows.

my user authenticates into domain.com

then depending on what his/her locale is i forward them to
http://lang.domain.com * i.e. http://us.domain.com

the problem is that once they authenticate and i redirect them to
another server, JSESSION id is lost;

is there a manual way to set it?

currently i do this:


https://us.domain.com/secure?VAR1=VAL1;JSESSIONID=7D084BCFE46540FBB779486B4E003FD3

however, on the backend, when i do:

request.getCookies() it is returning null

any ideas?

alex


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



Re[2]: setting JSESSION variable

2004-11-22 Thread Alex Korneyev
Hello Jacob Kjome,

  lovely :)

  however, since i have Apache as a middle man, i get this error:

You don't have permission to access

/secure;JSESSIONID=16E54F0A406582505A7A393E5307BC12VA1=VAL1 on this server.

this is related to : http://www.jguru.com/faq/view.jsp?EID=53878

however, i am using mod_jk2

any idea how to set this up with mod_jk2 ?

alex k.

Monday, November 22, 2004, 2:12:38 PM, you wrote:

 Try...

 https://us.domain.com/secure;JSESSIONID=7D084BCFE46540FBB779486B4E003FD3?VAR1=VAL1

 Yes, order is important!

 Jake

 Quoting Alex Korneyev [EMAIL PROTECTED]:

 what is the proper way to set jsession id if i want my own id?

 basically the situation is as follows.

 my user authenticates into domain.com

 then depending on what his/her locale is i forward them to
 http://lang.domain.com * i.e. http://us.domain.com

 the problem is that once they authenticate and i redirect them to
 another server, JSESSION id is lost;

 is there a manual way to set it?

 currently i do this:



 https://us.domain.com/secure?VAR1=VAL1;JSESSIONID=7D084BCFE46540FBB779486B4E003FD3

 however, on the backend, when i do:

 request.getCookies() it is returning null

 any ideas?

 alex


 -
 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]



-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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



Connection reset by peer: socket write error(CODE=-1)

2004-03-27 Thread Alex Korneyev


Hello,

 For some reason when i use tomcat 's (4.1.30 ) jndi pooling with
 MSSQL, i get this
 error.  Connection reset by peer: socket write error(CODE=-1)

 I suspect that the problem is with the fact that connections go
 stale. is there a way for me to force connection to be renewed, or
 for connection pooling to check if connection is stale?

 alex k.




Resource auth=Container 
name=jdbc/WBTPCDataSource scope=Shareable type=javax.sql.DataSource/
ResourceParams name=jdbc/WBTPCDataSource
parameter
namemaxWait/name
value5000/value
/parameter
parameter
namemaxActive/name
value10/value
/parameter
parameter
namedriverName/name

valuejdbc:microsoft:sqlserver/value
/parameter
parameter
nameurl/name

valuejdbc:microsoft:sqlserver://localhost:1433;DatabaseName=WB_TPC;SelectMethod=Cursor/value
 
/parameter
parameter
namepassword/name
valuepassword/value
/parameter
parameter
namedriverClassName/name

valuecom.microsoft.jdbc.sqlserver.SQLServerDriver/value
/parameter
parameter
namemaxIdle/name
value2/value
/parameter
parameter
nameusername/name
valueuser/value
/parameter
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
parameter

nameremoveAbandonedTimeout/name
value2/value
/parameter
parameter
namelogAbandoned/name
valuetrue/value
/parameter
/ResourceParams



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



mac internet explorer issues

2004-03-04 Thread Alex Korneyev
Hello,

 Has anyone noticed any problems with usebean tags with I.E. 5.2 on
 MAC?

 for some reason, session variables are coming thru.

 however, if i use regular request.getAttribute() all is well.

 alex korneyev


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



Alias in tomcat

2004-02-09 Thread Alex Korneyev
Hello,

 In apache there is a directive Alias


 
Alias /users/ c:/somedirectory/

Directory c:/somedirectory/
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory



which basically says that any requests that start with /users/ are
based out of that directory.

now, my  workers.properties for mod_jk2 has a mapping


[uri:/*]
worker=ajp13:localhost:8009


it HAS to be this way. So, in tomcat, can i do the same thing as Alias
in apache?

alex k.
 


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



preloading JSPs

2004-02-05 Thread Alex Korneyev
Hello,

 all of my .jsp files are located on a network drive, so it takes much
 longer for them to be compiled the first time around. So, is there an
 option in 4.1.29 to preload and pre compile all the .jsp fles on
 start up?

 best regards,

 alex k


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



java keeps crashing. any ideas?

2004-01-29 Thread Alex Korneyev
I keep getting this.

i am running on linux 7.3  any idea how to research this problem?


Unexpected Signal : 11 occurred at PC=0x4ED2FA
Function=(null)+0x4ED2FA
Library=/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.



Dynamic libraries:
0011-00122000 r-xp  08:03 3654116/lib/ld-2.2.5.so
00122000-00123000 rw-p 00012000 08:03 3654116/lib/ld-2.2.5.so
00123000-00127000 rw-s  08:03 4571200/tmp/hsperfdata_root/4583
00127000-0012a000 r--s  08:03 8618347
/usr/java/j2sdk1.4.2_03/jre/lib/ext/dnsns.jar
0012b000-00139000 r-xp  08:03 3653726/lib/libpthread-0.9.so
00139000-0014 rw-p e000 08:03 3653726/lib/libpthread-0.9.so
00141000-00143000 r-xp  08:03 3653721/lib/libdl-2.2.5.so
00143000-00144000 rw-p 1000 08:03 3653721/lib/libdl-2.2.5.so
00144000-00262000 r-xp  08:03 3653641/lib/libc-2.2.5.so
00262000-00267000 rw-p 0011e000 08:03 3653641/lib/libc-2.2.5.so
0026b000-00665000 r-xp  08:03 5179276
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so
00665000-00681000 rw-p 003f9000 08:03 5179276
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so
00693000-006a4000 r-xp  08:03 3653649/lib/libnsl-2.2.5.so
006a4000-006a5000 rw-p 00011000 08:03 3653649/lib/libnsl-2.2.5.so
006a7000-006c7000 r-xp  08:03 3653722/lib/libm-2.2.5.so
006c7000-006c8000 rw-p 0001f000 08:03 3653722/lib/libm-2.2.5.so
006c8000-006d r-xp  08:03 8128287
/usr/java/j2sdk1.4.2_03/jre/lib/i386/native_threads/libhpi.so
006d-006d1000 rw-p 7000 08:03 8128287
/usr/java/j2sdk1.4.2_03/jre/lib/i386/native_threads/libhpi.so
006d1000-006da000 r-xp  08:03 3653665/lib/libnss_files-2.2.5.so
006da000-006db000 rw-p 8000 08:03 3653665/lib/libnss_files-2.2.5.so
006db000-006eb000 r-xp  08:03 5179350
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libverify.so
006eb000-006ed000 rw-p f000 08:03 5179350
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libverify.so
006ed000-0070d000 r-xp  08:03 5179336
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libjava.so
0070d000-0070f000 rw-p 0001f000 08:03 5179336
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libjava.so
0070f000-00723000 r-xp  08:03 5179351
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libzip.so
00723000-00726000 rw-p 00013000 08:03 5179351
/usr/java/j2sdk1.4.2_03/jre/lib/i386/libzip.so
00726000-007ff000 r--s  08:03 9257184
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/endorsed/xercesImpl.jar
007ff000-0081e000 r--s  08:03 9257185
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/endorsed/xmlParserAPIs.jar
00868000-0087e000 r--s  08:03 6013950
/usr/java/j2sdk1.4.2_03/jre/lib/sunrsasign.jar
0087e000-00959000 r--s  08:03 6013949
/usr/java/j2sdk1.4.2_03/jre/lib/jsse.jar
00959000-0096a000 r--s  08:03 6013941
/usr/java/j2sdk1.4.2_03/jre/lib/jce.jar
0096a000-00ec3000 r--s  08:03 6013942
/usr/java/j2sdk1.4.2_03/jre/lib/charsets.jar
010ce000-010f9000 r--p  08:03 5308453
/usr/lib/locale/en_US.iso885915/LC_CTYPE
010f9000-010ff000 r--s  08:03 4653238/usr/lib/gconv/gconv-modules.cache
010ff000-0110c000 r--s  08:03 8618348
/usr/java/j2sdk1.4.2_03/jre/lib/ext/ldapsec.jar
0110c000-011c8000 r--s  08:03 8618356
/usr/java/j2sdk1.4.2_03/jre/lib/ext/localedata.jar
011c8000-011e4000 r--s  08:03 8618350
/usr/java/j2sdk1.4.2_03/jre/lib/ext/sunjce_provider.jar
011e4000-016c r--s  08:03 8618358/usr/java/j2sdk1.4.2_03/lib/tools.jar
016c-016c7000 r--s  08:03 262435 
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/bin/bootstrap.jar
016c7000-016ca000 r--s  08:03 262434 
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/bin/commons-daemon.jar
016ca000-016de000 r--s  08:03 8634579
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/servlet.jar
016de000-01723000 r--s  08:03 8634580
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/mail.jar
01723000-01728000 r--s  08:03 8634581
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/commons-logging-api.jar
01728000-01751000 r--s  08:03 8634582
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/commons-collections.jar
01751000-01766000 r--s  08:03 8634583
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/jdbc2_0-stdext.jar
01766000-0176e000 r--s  08:03 8634584
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/commons-pool.jar
0176e000-0179b000 r--s  08:03 8634585
/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/common/lib/jasper-compiler.jar
0179b000-017a r--s  08:03 8634586

com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Alex Korneyev
Hello,

 When i run tomcat in a debugger, i get the following error when it is
 trying to compile ANY jsp:

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK


it works fine , if it is not wrunning in debug mode.

alex k.


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



Re[2]: com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Alex Korneyev
Hello Filip,


i checked that, and as you can see it is in fact in classpath:

C:\j2sdk1.4.2_01\bin\javaw.exe 
-Djava.endorsed.dirs=C:\tomcat\jakarta-tomcat-4.1.27\bin;C:\tomcat\jakarta-tomcat-4.1.27\common\lib
 -Dcatalina.base=C:\Documents and 
Settings\Administrator.DELL-WIN2K\.IntelliJIdea\system\tomcat_Marketing_6cd064f 
-Dcatalina.home=C:\tomcat\jakarta-tomcat-4.1.27 
-Djava.io.tmpdir=C:\tomcat\jakarta-tomcat-4.1.27\temp -classpath 
C:\j2sdk1.4.2_01\lib\tools.jar;C:\tomcat\jakarta-tomcat-4.1.27\bin\bootstrap.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\activation.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\ant.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-collections.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-dbcp.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-logging-api.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-pool.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jasper-compiler.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jasper-runtime.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jdbc2_0-stdext.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jndi.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jta.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\mail.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-common.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-factory.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-resources.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\servlet.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina-ant.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-beanutils.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-digester.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-fileupload-1.0.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-logging.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-modeler.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\jaas.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\jakarta-regexp-1.2.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\mx4j-jmx.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-common.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-default.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-invoker.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-manager.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-webdav.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-coyote.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-http11.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk2.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-util.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-warp.jar
 org.apache.catalina.startup.Bootstrap start
Oct 3, 2003 4:17:54 PM org.apache.coyote.http11.Http11Protocol init
Friday, October 3, 2003, 4:04:46 PM, you wrote:

FH tools.jar is not in your classpath
FH - Original Message - 
FH From: Alex Korneyev [EMAIL PROTECTED]
FH Cc: [EMAIL PROTECTED]
FH Sent: Friday, October 03, 2003 2:00 PM
FH Subject: com.sun.tools.javac.Main is not on the classpath error


FH Hello,

FH  When i run tomcat in a debugger, i get the following error when it is
FH  trying to compile ANY jsp:

FH Unable to find a javac compiler;
FH com.sun.tools.javac.Main is not on the classpath.
FH Perhaps JAVA_HOME does not point to the JDK


FH it works fine , if it is not wrunning in debug mode.

FH alex k.


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

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



-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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



Virtual Users on Apache/Tomcat on https

2003-10-02 Thread Alex Korneyev
Hello Everyone!

I hope someone can point me in the right direction.

How do i configure Apache to redirect
https://servername.serverhost.com/~username/test.jsp to Tomcat ?

if that username has a domwin, www.domain.com then i can access
test.jsp file via http://www.domain.com/test.jsp no problem.

I understand this is an Apache configuration.

Best Regards,

Alex K.


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



Re[2]: Virtual Users on Apache/Tomcat on https

2003-10-02 Thread Alex Korneyev
Hello Oleksiy,

I am not sure how this is going to help me. This is a Tomcat side
configuration.

thanks

Thursday, October 2, 2003, 10:18:48 AM, you wrote:

OP Alex Korneyev wrote:

Hello Everyone!

I hope someone can point me in the right direction.

How do i configure Apache to redirect
https://servername.serverhost.com/~username/test.jsp to Tomcat ?
  

OP Listener className=org.apache.catalina.startup.UserConfig 
OP directoryName=public_html 
OP userClass=org.apache.catalina.startup.PasswdUserDatabase /

if that username has a domwin, www.domain.com then i can access
test.jsp file via http://www.domain.com/test.jsp no problem.

I understand this is an Apache configuration.

Best Regards,

Alex K.


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

  






-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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



Re[2]: Virtual Users on Apache/Tomcat on https

2003-10-02 Thread Alex Korneyev
Hello David,

Thursday, October 2, 2003, 10:52:17 AM, you wrote:

DR On Thu, October 2, 2003 at 7:53 am, Alex Korneyev sent the following

 I hope someone can point me in the right direction.

 How do i configure Apache to redirect
 https://servername.serverhost.com/~username/test.jsp to Tomcat ?

 if that username has a domwin, www.domain.com then i can access
 test.jsp file via http://www.domain.com/test.jsp no problem.

 I understand this is an Apache configuration.

DR You need the right JkMount statement in Apache.  Something like:

DR Directory /home/*/public_html
DR JkMount /*.jsp ajp13
DR /Directory

DR I hope you get the idea.

DR -Dave

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

hello Dave,

actually i am not sure what you mean. what would that do ?

if i have a user userName123

then i need to access https via
https://servername.com/~userName123/test.jsp



-- 
Best regards,
 Alexmailto:[EMAIL PROTECTED]


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