RE: Starting up Apache-tomcat 5.5.28

2009-11-08 Thread M A
Caldarale, Charles R kirjoitti 08.11.2009 kello 21:42:
> > From: M A [mailto:do_th...@luukku.com]
> > Subject: RE: Starting up Apache-tomcat 5.5.28
> > 
> > JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"
> 
> Try getting rid of the above.  Even though it is wrapped by quotes, it
> causes a problem.  The JRE_HOME setting will suffice.
> 
> (Cue André's highly appropriate rant about spaces in path names... :-)
> 
>  - Chuck

Thank you for helping, now the server works. JAVA_HOME was left there from 
using by some other application, I didn't think it could cause a problm.


Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Starting up Apache-tomcat 5.5.28

2009-11-08 Thread M A
Hello, here is what I get running set command:


C:\apache-tomcat-5.5.28\bin>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=DES
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
JAVA_HOME="C:\Program Files (x86)\Java\jre1.6.0_07"
JRE_HOME="C:\jre1.6.0_07"
KMP_DUPLICATE_LIB_OK=TRUE
LOGONSERVER=\\DES
NUMBER_OF_PROCESSORS=2
OS=Windows_NT

***Removed some OpenSceneGraph paths.***

Path=C:\Program Files 
(x86)\readers\MikTex\miktex\bin;C:\media\programs\programming\math\watcom_(needed_for_maple)\binnt
;C:\media\programs\programming\math\watcom_(needed_for_maple)\binw;C:\Program 
Files (x86)\Common Files\ArcSoft\Bin;C:\WI
NDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\ATI 
Technologies\ATI.ACE\Core-Static;C:\Python
25;C:\MinGW\bin;C:\Program Files 
(x86)\programming\OpenSceneGraph-2.8.2\bin;C:\Program Files 
(x86)\programming\OpenScene
Graph-2.8.2\share\OpenSceneGraph\bin;C:\Program Files (x86)\CVS Suite\CVSNT 
Tools\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=DES
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
VS90COMNTOOLS=C:\Program Files (x86)\programming\Microsoft Visual Studio 
9\Common7\Tools\
WATCOM=C:\media\programs\programming\math\watcom_(needed_for_maple)
windir=C:\WINDOWS



Caldarale, Charles R kirjoitti 08.11.2009 kello 21:12:
> > From: M A [mailto:do_th...@luukku.com]
> > Subject: Starting up Apache-tomcat 5.5.28
> > 
> > I run it:
> > C:\apache-tomcat-5.5.28\bin>startup.bat
> > and get this error:
> > Files was unexpected at this time.
> 
> The process you described should have worked.  I suspect you have some
> environment variable that the Tomcat scripts are using that is set to an
> unusual value; in particular it may need quotes around the value if it
> contains embedded spaces.  Do a "set" command to see what is set at the
> point when you're about to run the script; post the results if nothing
> obvious pops out.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the
>  e-mail and
> its attachments from all computers.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 



Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Starting up Apache-tomcat 5.5.28

2009-11-08 Thread M A
Hello I'm trying to start Tomcat 5.5.28. I have Java JRE installed: jre1.6.0_07.

JRE_HOME system variable works, I checked it by "cd %JRE_HOME%", whicjh takes 
me to C:\jre1.6.0_07.

Tomcat is unzipped into C:\apache-tomcat-5.5.28

I run it:
C:\apache-tomcat-5.5.28\bin>startup.bat
and get this error:
Files was unexpected at this time.

I have Windows XP x64 Edition SP2.

How do I get Apache-Tomcat running?

Regards, Dmitri


Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat 5.5. APR Standalone Page not loading without compression ...

2006-01-13 Thread M A
Hi All,

My config ..

tomcat 5.5
jdk1.5._06
apr 1.2.2
tomcat-jni 1.1.0

server.xml
 

The problem is this, I have a jsp page with will result in about 14KB worth
of HTML..

with compression off .. this page doesnt not load, i keep getting a could
not load page .. if i create a html file representing the output of the jsp
... this is what i get when using wget ..

FOR THE HTML FILE ---
wget www.mydomain.com/foo.html
--22:32:38--  
http://www.mydomain.com:80/foo.html
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 200 OK
Length: 13,202 [text/html]
0K -> .. ..  [ 97%]
22:32:59 ( 641.20 B/s) - Read error at byte 12824/13202 (No such file or
directory). Retrying.

--22:32:59--  
http://www.mydomain.com:80/foo.html
  (try: 2) =>
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 206 Partial Content
Length: 13,202 (378 to go) [text/html]

0K -> ,, ,,  [100%]

22:32:59 (369.14 KB/s) - `foo.html.3' saved [13202/13202]

FOR THE JSP FILE


C:\wget>wget www.mydomain.com/p.jsp?id=4
--22:36:28--  
http://www.mydomain.com:80/p.jsp?id=4
   => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:36:48 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:36:48--  
http://www.mydomain.com:80/p.jsp?id=4
  (try: 2) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:37:09 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:09--  
http://www.mydomain.com:80/p.jsp?id=4
  (try: 3) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:37:29 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:29--  
http://www.mydomain.com:80/p.jsp?id=4
  (try: 4) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 ... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

JSP WGET END

For the JSP file it keeps looping ..

I have set no-cache for the jsp page and the page buffer is 32 kb ...

Any ideas on what could be going wrong .. like i said .. it works fine with
compression on ...

Cheers

Mo


Http11AprProtocol tomcat 5.5. page not loading with compression off

2006-01-12 Thread M A
Hi All,

My config ..

tomcat 5.5
jdk1.5._06
apr 1.2.2
tomcat-jni 1.1.0

server.xml
 

The problem is this, I have a jsp page with will result in about 14KB worth
of HTML..

with compression off .. this page doesnt not load, i keep getting a could
not load page .. if i create a html file representing the output of the jsp
... this is what i get when using wget ..

FOR THE HTML FILE ---
wget www.mydomain.com/foo.html
--22:32:38--  http://www.mydomain.com:80/foo.html
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 13,202 [text/html]
0K -> .. ..  [ 97%]
22:32:59 (641.20 B/s) - Read error at byte 12824/13202 (No such file or
directory). Retrying.

--22:32:59--  http://www.mydomain.com:80/foo.html
  (try: 2) =>
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 206 Partial Content
Length: 13,202 (378 to go) [text/html]

0K -> ,, ,,  [100%]

22:32:59 (369.14 KB/s) - `foo.html.3' saved [13202/13202]

FOR THE JSP FILE -


C:\wget>wget www.mydomain.com/p.jsp?id=4
--22:36:28--  http://www.mydomain.com:80/p.jsp?id=4
   => [EMAIL PROTECTED]'
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:36:48 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:36:48--  http://www.mydomain.com:80/p.jsp?id=4
  (try: 2) => [EMAIL PROTECTED]'
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:37:09 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:09--  
http://www.mydomain.com:80/p.jsp?id=4
  (try: 3) => [EMAIL PROTECTED]'
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

0K -> .. ..

22:37:29 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:29--  
http://www.mydomain.com:80/p.jsp?id=4
  (try: 4) => [EMAIL PROTECTED]'
Connecting to www.mydomain.com:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

JSP WGET END --

For the JSP file it keeps looping ..

I have set no-cache for the jsp page and the page buffer is 32 kb ...

Any ideas on what could be going wrong .. like i said .. it works fine with
compression on ...

Cheers

Mo


Re: Apache Portable Runtime

2005-12-04 Thread M A
Has this problem also you need to include the library path in the start up
to catalina i.e. it becomes part of the command ..

so something like -Djava.library.path=<>

That should do it ..




On 12/4/05, Robert Palmer <[EMAIL PROTECTED]> wrote:
>
> I tried this. Should libtcnative-1.so be in $CATALINA_HOME/bin? 'make'
> put it in .libs and I tried moving it. I also
> downloaded 5.5.13 which results in the same message.
>
> Thanks.
>
> Bill Barker wrote:
>
> >"Robert Palmer" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
> >
> >
> >>Is this something that I should worry about? Is it easily resolved? I
> have
> >>downloaded and installled Apache Portable Runtiime. It did not install
> in
> >>the Java path though?
> >>
> >>
> >>
> >
> >The message has been fixed in 5.5.13.  What Tomcat is really looking for
> is
> >libtcnative-1.so.  To get that, you unpack tomcat-native.tar.gz (in
> >$CATALINA_HOME/bin), then cd to the directory.  From there do:
> > $ ./configure --with-apr=/path/to/apr --with-ssl=/path/to/OpenSSL
> > $ make
> > $ cp libtcnative-1.so ..
> >
> >
> >
> >>Thanks
> >>
> >>Using CATALINA_BASE:   /usr/local/tomcat
> >>Using CATALINA_HOME:   /usr/local/tomcat
> >>Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> >>Using JRE_HOME:   /opt/jdk1.5.0_04/
> >>Dec 2, 2005 5:20:25 PM org.apache.catalina.core.AprLifecycleListener
> >>lifecycleEvent
> >>INFO: The Apache Portable Runtime which allows optimal performance in
> >>production environments
> >>was not found on the java.library.path:
> >>/opt/jdk1.5.0_04/jre/lib/i386/client:/opt/jdk1.5.0_0
> >>4/jre/lib/i386:/opt/jdk1.5.0_04/jre/../lib/i386
> >>Dec 2, 2005 5:20:25 PM org.apache.coyote.http11.Http11BaseProtocol init
> >>INFO: Initializing Coyote HTTP/1.1 on http-8080
> >>Dec 2, 2005 5:20:25 PM org.apache.catalina.startup.Catalina load
> >>INFO: Initialization processed in 2370 ms
> >>Dec 2, 2005 5:20:26 PM org.apache.catalina.core.StandardService start
> >>INFO: Starting service Catalina
> >>Dec 2, 2005 5:20:26 PM org.apache.catalina.core.StandardEngine start
> >>INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
> >>Dec 2, 2005 5:20:26 PM org.apache
> >>
> >>
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>


Jsvc Debian Tomcat standalone APR connector startup question

2005-12-04 Thread M A
Hi,

I am trying to set up a production server setup is as follows

1. JSVC (commons-daemon)
2. jdk1.5.0_05
3. tomcat 5.5.12
4. Apr (latest stable).
5. Debian sarge


The problem is this, I am using jsvc to start up tomcat as per the
Tomcat5.sh
script, problem is this, Tomcat starts ok, port 80 and 443 all work however
when i
check the processes running there is a jsvc process owned by root, running.

Is this normal, isnt that process supposed to disappear.

ps -F -e output is  shown below.

root   26410 1  00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641126410   00:00:04 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641226411   00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641326412   00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641426412   00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641526412   00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -
tomcat   2641626412   00:00:00 jsvc.exec -user tomcat -home
/usr/local/jdk1.5.0_05 -

Does anyone have any ideas on how to get rid of the root process, isnt it
supposed to
disappear.

Cheers

Mo