Re: Cannot access my app after Tomcat 7.0.28

2013-03-08 Thread Patrick Flaherty


On Mar 7, 2013, at 7:33 PM, Christopher Schultz wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Patrick,

On 3/7/13 8:40 AM, Patrick Flaherty wrote:

Thanks for that. Fixed the spinning bug that you pointed out and no
more 25% cpu but I still cannot hit the app! :-( So the spinning
bug was not related to the inability to get to the ROOT Tomcat app
or my app /rrmt.


It may have been contributing to it. Just because fixing it doesn't
make your server available doesn't mean it wasn't a problem: it just
wasn't the /whole/ problem.


Simply, 7.0.37 server does not respond to GET / HTTP/1.1. Remove my
war restart Tomcat and I *can *get to the ROOT app. Something in my
app that causing the connector to stop responding apparently. Now
that I have the JVisualvm configured, is there anything I can
derive that it?


Another thread dump? The JVM must be doing *something*.

Hi Chris,

Here's the thread dump as Tomcat is not responding to requests to the  
ROOT Tomcat or to my app /rrmt:



2013-03-08 10:03:06
Full thread dump Java HotSpot(TM) Client VM (23.7-b01 mixed mode,  
sharing):


JMX server connection timeout 488 daemon prio=6 tid=0x05b09400  
nid=0x1d54 in Object.wait() [0x0847f000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
	at com.sun.jmx.remote.internal.ServerCommunicatorAdmin 
$Timeout.run(Unknown Source)

- locked 0x2551fd00 (a [I)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- None

RMI Scheduler(0) daemon prio=6 tid=0x05b0a000 nid=0x214c waiting on  
condition [0x083cf000]

   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  0x29db73a8 (a  
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer 
$ConditionObject.awaitNanos(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor 
$DelayedWorkQueue.take(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor 
$DelayedWorkQueue.take(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- None

RMI TCP Connection(1)-192.168.41.41 daemon prio=6 tid=0x05b0ac00  
nid=0x4a0 runnable [0x0831f000]

   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked 0x254fc5e8 (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown  
Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown  
Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- 0x254a4a50 (a java.util.concurrent.ThreadPoolExecutor$Worker)

pool-1-thread-434 daemon prio=6 tid=0x05b0b400 nid=0x9c0 waiting on  
condition [0x081ff000]

   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  0x2a9539c8 (a  
java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.awaitFulfill(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.transfer(Unknown Source)

at java.util.concurrent.SynchronousQueue.poll(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- None

pool-1-thread-433 daemon prio=6 tid=0x05b0a800 nid=0x12ec waiting on  
condition [0x0791f000]

   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  0x2a9539c8 (a  
java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.util.concurrent.SynchronousQueue 

Re: Cannot access my app after Tomcat 7.0.28

2013-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Patrick,

On 3/8/13 10:10 AM, Patrick Flaherty wrote:
 localhost-startStop-1 daemon prio=6 tid=0x0552c000 nid=0x414
 runnable [0x0596f000] java.lang.Thread.State: RUNNABLE at
 java.util.concurrent.ConcurrentLinkedQueue.isEmpty(Unknown
 Source) at 
 com.rampageinc.base.serverpush.RRServerPushContextListener.contextInitialized(RRServerPushContextListener.java:84)


 
at
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)

  at 
 org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)

That
 
one certainly looks suspicious: what is
RRServerPushContextListener and what is it doing at context init?

This looks like your original thread dump. So, either you re-posted
the old dump or you didn't actually fix the problem.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE6HaoACgkQ9CaO5/Lv0PD8EwCbBflE5B5LpdFreYtb5ejGVHiC
kEYAnAv6k0kY8g/mCEaFhSw4lqlaBt2c
=MI1a
-END PGP SIGNATURE-

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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-07 Thread Patrick Flaherty

Hi Mark,

Thanks for that. Fixed the spinning bug that you pointed out and no  
more 25% cpu but I still cannot hit the app! :-(
So the spinning bug was not related to the inability to get to the  
ROOT Tomcat app or my app /rrmt.


Simply, 7.0.37 server does not respond to GET / HTTP/1.1. Remove my  
war restart Tomcat and I *can *get to the ROOT app.
Something in my app that causing the connector to stop responding  
apparently. Now that I have the JVisualvm configured,

is there anything I can derive that it?

Thanks once again.
Pat

On Mar 6, 2013, at 12:34 PM, Mark Thomas wrote:


On 06/03/2013 17:12, Patrick Flaherty wrote:

This looks to be the culprit.

That is application code so you'll have to take a look to see what  
it is doing in line 84 of  
com.rampageinc.base.serverpush.RRServerPushContextListener


Mark


localhost-startStop-1 daemon prio=6 tid=0x0550c000 nid=0x1fc4  
runnable

[0x059ef000]
   java.lang.Thread.State: RUNNABLE
at
com 
.rampageinc 
.base 
.serverpush 
.RRServerPushContextListener 
.contextInitialized(RRServerPushContextListener.java:84)


at
org 
.apache 
.catalina.core.StandardContext.listenerStart(StandardContext.java: 
4797)


at
org 
.apache 
.catalina.core.StandardContext.startInternal(StandardContext.java: 
5291)


- locked 0x299102d0 (a  
org.apache.catalina.core.StandardContext)

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- locked 0x299102d0 (a  
org.apache.catalina.core.StandardContext)

at
org 
.apache 
.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)


at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 
877)

at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
at
org.apache.catalina.startup.HostConfig 
$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown  
Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown  
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown  
Source)

at java.lang.Thread.run(Unknown Source)



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




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



Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard,

On 3/6/13 11:24 PM, Howard W. Smith, Jr. wrote:
 Chris,
 
 
 Maybe NetBeans is using Attach API, because NetBeans always
 shows up in JVisualVM, if I have the two open on the same box
 (have seen this on development server and production server)
 .
 
 I only use JVisualVM on localhost (behind a firewall), and 
 Windows Server 2008 (non-R2 and R2) running on both
 development and production servers. :)
 
 Try running JVisualVM as administrator. I'm not sure if that is
 even high enough privileges on Microsoft Windows... MS has some
 odd permissions when it comes to Services.
 
 
 I hope we are not hijacking this thread. :)
 
 Anyway, I am always logged in as administrator on my development
 and production servers.

Really? That's a bad idea. Nobody runs as admin anymore, do they? I
thought WinXP did away with all that foolishness. You may be in the
administrative group, but you still need to su sometimes to get
things done. Try running cmd.exe As Administrator and see if the
situation improves.

 Please note, I always unzip tomcat/tomee ZIP file(s) to hard drive.
 Is Attach API dependent on a tomcat .exe (Windows install), so
 registry can be updated, or is Tomcat (for Windows) updating
 registry when tomcat7 windows service is installed (or when tomcat
 is started)?

Attach API is a 100% Java/JVM thing: it doesn't matter how you
launch Tomcat. Google is your friend.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE5MY4ACgkQ9CaO5/Lv0PCldgCfXHKlOKdCMCfbAdl6A5NjKPZh
QEIAoIChSWw1IAlcvyHC38xC4ZDfo9nL
=IysJ
-END PGP SIGNATURE-

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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Patrick,

On 3/7/13 8:40 AM, Patrick Flaherty wrote:
 Thanks for that. Fixed the spinning bug that you pointed out and no
 more 25% cpu but I still cannot hit the app! :-( So the spinning
 bug was not related to the inability to get to the ROOT Tomcat app
 or my app /rrmt.

It may have been contributing to it. Just because fixing it doesn't
make your server available doesn't mean it wasn't a problem: it just
wasn't the /whole/ problem.

 Simply, 7.0.37 server does not respond to GET / HTTP/1.1. Remove my
 war restart Tomcat and I *can *get to the ROOT app. Something in my
 app that causing the connector to stop responding apparently. Now
 that I have the JVisualvm configured, is there anything I can
 derive that it?

Another thread dump? The JVM must be doing *something*.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE5MeQACgkQ9CaO5/Lv0PBMLgCgs/MQZ8meSWVRGKpQa7GKY/5Z
R3UAoIzxZdSQL8sMXsPLzvfbh00xsakH
=3ZbR
-END PGP SIGNATURE-

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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Patrick Flaherty


On Mar 5, 2013, at 9:45 PM, Howard W. Smith, Jr. wrote:


1. What is the file path of 7.0.27 (where is it installed?

C:\apache-tomcat-7.0.27 or somewhere else?)



c:\rsi_tc\tomcat



2. what is the file path of 7.0.28+ ? (where is it installed)?



c:\rsi_tc\tomcat (same)


3. when you 'switch 7.0.27 back in', what does that mean? Does it  
mean

that
while you are attempting to migrate to 7.0.28+, 7.0.27 install  
remains on
the hard disk? you have not deleted/removed 7.0.27 yet...while  
attempting

to migrate to 7.0.28



I have 2 tomcat folders (Versions 7.0.27  7.0.37) both named  
tomcat. I

remove the service (Service remove Tomcat7)
Move the folder out.
Move in the other folder and install the service (Service install  
Tomcat7)





Move the folder out? can you explain this more clearly?

if you are moving the 'unused' tomcat folder to Recycle Bin, I have  
seen

issues with using Recycle Bin. if you are moving to recycle bin, then
delete whatever is in recycle bin, too...as one of your steps before
installing and running 7.0.28+. I don't use Recycle Bin ever, i always
Shift-Delete (permanent delete).


No, just move them to and from a temp folder on the c: drive.


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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Howard W. Smith, Jr.


 I have 2 tomcat folders (Versions 7.0.27  7.0.37) both named tomcat. I
 remove the service (Service remove Tomcat7)
 Move the folder out.
 Move in the other folder and install the service (Service install
 Tomcat7)



  Move the folder out? can you explain this more clearly?

 if you are moving the 'unused' tomcat folder to Recycle Bin, I have seen
 issues with using Recycle Bin. if you are moving to recycle bin, then
 delete whatever is in recycle bin, too...as one of your steps before
 installing and running 7.0.28+. I don't use Recycle Bin ever, i always
 Shift-Delete (permanent delete).


 No, just move them to and from a temp folder on the c: drive.


Did you download .exe install program and then run .exe to install Tomcat
7.0.28+, or did you download Tomcat 7.0.28+ .zip file and unzip the
contents to that tomcat folder on your C:\?

I ask, because there was a recent discussion about the Tomcat .exe, and I
think that discussion had findings that there was an issue in Tomcat's
Windows Registry key that is/was updated by the Tomcat .exe install program.

FYI, I don't use .exe... I only use .zip and unzip to my hard drive.


Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Patrick Flaherty


On Mar 6, 2013, at 9:30 AM, Howard W. Smith, Jr. wrote:




I have 2 tomcat folders (Versions 7.0.27  7.0.37) both named  
tomcat. I

remove the service (Service remove Tomcat7)
Move the folder out.
Move in the other folder and install the service (Service install
Tomcat7)



Move the folder out? can you explain this more clearly?


if you are moving the 'unused' tomcat folder to Recycle Bin, I  
have seen
issues with using Recycle Bin. if you are moving to recycle bin,  
then

delete whatever is in recycle bin, too...as one of your steps before
installing and running 7.0.28+. I don't use Recycle Bin ever, i  
always

Shift-Delete (permanent delete).



No, just move them to and from a temp folder on the c: drive.


Did you download .exe install program and then run .exe to install  
Tomcat

7.0.28+, or did you download Tomcat 7.0.28+ .zip file and unzip the
contents to that tomcat folder on your C:\?

I ask, because there was a recent discussion about the Tomcat .exe,  
and I

think that discussion had findings that there was an issue in Tomcat's
Windows Registry key that is/was updated by the Tomcat .exe install  
program.


FYI, I don't use .exe... I only use .zip and unzip to my hard drive.


I'm using the zip files.


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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Howard W. Smith, Jr.
Patrick,

On Tue, Mar 5, 2013 at 6:51 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Caldarale, Charles R
  Subject: RE: Cannot access my app after Tomcat 7.0.28

   Now I just noticed that on this 4 core server, tomcat7.exe *32 is
 using 25% CPU.

  Take several thread dumps and see what's looping.

 
 http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

 I should have mentioned that Windows often makes this difficult when
 running as a service, so you might want to try starting Tomcat with the
 startup.bat script for this diagnostic effort.

  - Chuck


Can you?

1. configure java options with a JMX port  in tomcat7w.exe, where JMX port
= an available port on localhost

2. start Tomcat7 windows service

3. open Java Visual VM (e.g. C:\Program
Files\Java\jdk1.7.0_13\bin\jvisualvm.exe)

4. In Java Visual VM, connect to the JMX port and perform a heap dump or
monitor the hotspots (to determine cause of the 25% CPU, etc...)


Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Patrick Flaherty


On Mar 6, 2013, at 10:53 AM, Howard W. Smith, Jr. wrote:


Patrick,

On Tue, Mar 5, 2013 at 6:51 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:


From: Caldarale, Charles R
Subject: RE: Cannot access my app after Tomcat 7.0.28



Now I just noticed that on this 4 core server, tomcat7.exe *32 is

using 25% CPU.


Take several thread dumps and see what's looping.





http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

I should have mentioned that Windows often makes this difficult when
running as a service, so you might want to try starting Tomcat with  
the

startup.bat script for this diagnostic effort.

- Chuck



Can you?

1. configure java options with a JMX port  in tomcat7w.exe, where  
JMX port

= an available port on localhost

2. start Tomcat7 windows service

3. open Java Visual VM (e.g. C:\Program
Files\Java\jdk1.7.0_13\bin\jvisualvm.exe)

4. In Java Visual VM, connect to the JMX port and perform a heap  
dump or

monitor the hotspots (to determine cause of the 25% CPU, etc...)


I am a novice with these tools so please bear with me.
I managed to get jvisualvm to connect to my local app, see screenshot  
below with a thread dump immediately after.
I hope someone knows what the thread dump tell us because I can't,  
sorry.








2013-03-06 12:04:42
Full thread dump Java HotSpot(TM) Client VM (23.7-b01 mixed mode,  
sharing):


pool-1-thread-29 daemon prio=6 tid=0x04baa800 nid=0x1740 waiting on  
condition [0x0a54f000]

   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  0x2a537ca8 (a  
java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.awaitFulfill(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.transfer(Unknown Source)

at java.util.concurrent.SynchronousQueue.poll(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- None

pool-1-thread-28 daemon prio=6 tid=0x04baec00 nid=0xd00 waiting on  
condition [0x0a28f000]

   java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  0x2a537ca8 (a  
java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.awaitFulfill(Unknown Source)
	at java.util.concurrent.SynchronousQueue 
$TransferStack.transfer(Unknown Source)

at java.util.concurrent.SynchronousQueue.poll(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- None

RMI TCP Connection(22)-192.168.41.41 daemon prio=6 tid=0x0608f000  
nid=0x1ea8 runnable [0x078bf000]

   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked 0x2ba79440 (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown  
Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown  
Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
- 0x2ba79558 (a java.util.concurrent.ThreadPoolExecutor$Worker)

RMI TCP Connection(21)-192.168.41.41 daemon prio=6 tid=0x06090400  
nid=0x1bb8 runnable [0x0792f000]

   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked 0x2b9fa4d0 (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(Unknown Source

Re: Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Mark Thomas

On 06/03/2013 17:12, Patrick Flaherty wrote:

This looks to be the culprit.

That is application code so you'll have to take a look to see what it is 
doing in line 84 of 
com.rampageinc.base.serverpush.RRServerPushContextListener


Mark



localhost-startStop-1 daemon prio=6 tid=0x0550c000 nid=0x1fc4 runnable
[0x059ef000]
java.lang.Thread.State: RUNNABLE
 at
com.rampageinc.base.serverpush.RRServerPushContextListener.contextInitialized(RRServerPushContextListener.java:84)

 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)

 at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)

 - locked 0x299102d0 (a org.apache.catalina.core.StandardContext)
 at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 - locked 0x299102d0 (a org.apache.catalina.core.StandardContext)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

 at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
 at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
 at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
 at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)



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



Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard,

On 3/6/13 12:10 AM, Howard W. Smith, Jr. wrote:
 Chris,
 
 On Wed, Mar 6, 2013 at 12:56 AM, Christopher Schultz  
 ch...@christopherschultz.net wrote:
 
 Howard,
 
 On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote:
 anyway/also, i am able to monitor tomee/tomcat (and do thread
 dumps against tomcat/tomee running as windows service) via
 JMX and Java Visual VM (jvisualvm, bundled with Java 7 SDK),
 since I added the following options on the Java tab in
 tomcat7w.exe:
 
 -Dcom.sun.management.jmxremote.port=427 
 -Dcom.sun.management.jmxremote.ssl=false 
 -Dcom.sun.management.jmxremote.authenticate=false
 
 FWIW, if you are on localhost, (JVisualVM, etc.) should be able to
 use the Attach API to connect -- no actual JMX configuration is
 needed.
 
 -chris
 
 
 Sorry, I am not familiar with Attach API at the moment, and
 JVisualVM is not able to attach to my tomcat/tomee JVM (running
 as Windows service or not) unless I provide those java options
 and I specify port in JavaVisualVM.
 
 Maybe NetBeans is using Attach API, because NetBeans always shows
 up in JVisualVM, if I have the two open on the same box (have
 seen this on development server and production server) .
 
 I only use JVisualVM on localhost (behind a firewall), and
 Windows Server 2008 (non-R2 and R2) running on both development
 and production servers. :)

Try running JVisualVM as administrator. I'm not sure if that is even
high enough privileges on Microsoft Windows... MS has some odd
permissions when it comes to Services.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE4HuYACgkQ9CaO5/Lv0PAPcQCdGDNxCTSjRPPzdQdiebKpA5+r
yJQAniCzBwC0SUzgiDj1A35D09GyspIV
=q0vP
-END PGP SIGNATURE-

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



Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Howard W. Smith, Jr.
Chris,


  Maybe NetBeans is using Attach API, because NetBeans always shows
  up in JVisualVM, if I have the two open on the same box (have
  seen this on development server and production server) .
 
  I only use JVisualVM on localhost (behind a firewall), and
  Windows Server 2008 (non-R2 and R2) running on both development
  and production servers. :)

 Try running JVisualVM as administrator. I'm not sure if that is even
 high enough privileges on Microsoft Windows... MS has some odd
 permissions when it comes to Services.


I hope we are not hijacking this thread. :)

Anyway, I am always logged in as administrator on my development and
production servers.

Please note, I always unzip tomcat/tomee ZIP file(s) to hard drive. Is
Attach API dependent on a tomcat .exe (Windows install), so registry can be
updated, or is Tomcat (for Windows) updating registry when tomcat7 windows
service is installed (or when tomcat is started)?


Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-06 Thread Howard W. Smith, Jr.
On Thu, Mar 7, 2013 at 12:24 AM, Howard W. Smith, Jr. 
smithh032...@gmail.com wrote:

 Chris,

 
  Maybe NetBeans is using Attach API, because NetBeans always shows
  up in JVisualVM, if I have the two open on the same box (have
  seen this on development server and production server) .
 
  I only use JVisualVM on localhost (behind a firewall), and
  Windows Server 2008 (non-R2 and R2) running on both development
  and production servers. :)

 Try running JVisualVM as administrator. I'm not sure if that is even
 high enough privileges on Microsoft Windows... MS has some odd
 permissions when it comes to Services.


 I hope we are not hijacking this thread. :)

 Anyway, I am always logged in as administrator on my development and
 production servers.

 Please note, I always unzip tomcat/tomee ZIP file(s) to hard drive. Is
 Attach API dependent on a tomcat .exe (Windows install), so registry can be
 updated, or is Tomcat (for Windows) updating registry when tomcat7 windows
 service is installed (or when tomcat is started)?


 FYI, in Java Visual VM, when I right-click either of the below and select
Properties, it states the following:

NetBeans : Connection

The application is managed by a local jvmstat connection.


Tomcat (TomEE, in my case) : Connection

The application is managed by a JMX connection. See the JMX Connection tab
for details.


Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty

Hi,

When using any build of Tomcat *post* 7.0.28, I cannot access my app !  
The app comes up as it does in 7.0.28 (which works) and
logs look the same (no errors). I just can't do an http call to the  
server. A packet trace shown the tcp connect (3 way handshake)
and then no response to Get / HTTP/1.1. The index.jsp in ROOT is a jsp  
containing a redirect to my app.


%
response.sendRedirect(/myapp/index.do);
%

Did something change in 7.0.29 and beyond that might cause this  
behavior? I looked through the changelog and nothing jumped

out at me.

Thanks
Pat


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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 1:04 PM, Patrick Flaherty pflah...@rampageinc.comwrote:

 Hi,

 When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The
 app comes up as it does in 7.0.28 (which works) and
 logs look the same (no errors). I just can't do an http call to the
 server. A packet trace shown the tcp connect (3 way handshake)
 and then no response to Get / HTTP/1.1. The index.jsp in ROOT is a jsp
 containing a redirect to my app.

 %
 response.sendRedirect(/myapp/**index.do);
 %

 Did something change in 7.0.29 and beyond that might cause this behavior?
 I looked through the changelog and nothing jumped
 out at me.

 Thanks
 Pat


You may want to share more details about your environment/configuration. Is
it possible that your 7.0.29+ configuration is missing some configuration
that exists in your 7.0.28 configuration? You also may want to share the
steps you took while migrating to, installing, or configuring your 7.0.29+
environment.




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




Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Patrick Flaherty pflah...@rampageinc.com:
 Hi,

 When using any build of Tomcat *post* 7.0.28, I cannot access my app ! The
 app comes up as it does in 7.0.28 (which works) and
 logs look the same (no errors). I just can't do an http call to the server.
 A packet trace shown the tcp connect (3 way handshake)
 and then no response to Get / HTTP/1.1. The index.jsp in ROOT is a jsp

1. The HTTP method name is GET uppercase, case sensitive.

If there is no response, maybe the ROOT webapp just failed to start?

 containing a redirect to my app.

 %
 response.sendRedirect(/myapp/index.do);
 %

2. Note that the lines following the above are executed, though are
ignored. Such call is usually followed by return; or by end of file.
 Did the jsp generated a proper java file in the work directory?


 Did something change in 7.0.29 and beyond that might cause this behavior? I
 looked through the changelog and nothing jumped
 out at me.


3. 53062,   53469 ?

4. Did you try with the current 7.0.37?
(The above issues should have been fixed in 7.0.30)

5. According to HTTP spec, Location header in a redirect response
should be an absolute URL.

If Tomcat cannot properly determine server name and port number to
construct the URL, the response will be wrong.

What are the actual response headers sent by Tomcat?
(You may use telnet to send an HTTP request, or browser plugins such
as Firebug to look response headers).

6. You may try debugging, with a breakpoint inside sendRedirect()
method of servlet API.
http://wiki.apache.org/tomcat/FAQ/Developing#Debugging

Best regards,
Konstantin Kolinko

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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty


On Mar 5, 2013, at 4:44 PM, Howard W. Smith, Jr. wrote:

On Tue, Mar 5, 2013 at 1:04 PM, Patrick Flaherty pflah...@rampageinc.com 
wrote:



Hi,

When using any build of Tomcat *post* 7.0.28, I cannot access my  
app ! The

app comes up as it does in 7.0.28 (which works) and
logs look the same (no errors). I just can't do an http call to the
server. A packet trace shown the tcp connect (3 way handshake)
and then no response to Get / HTTP/1.1. The index.jsp in ROOT is a  
jsp

containing a redirect to my app.

%
   response.sendRedirect(/myapp/**index.do);
%

Did something change in 7.0.29 and beyond that might cause this  
behavior?

I looked through the changelog and nothing jumped
out at me.

Thanks
Pat


You may want to share more details about your environment/ 
configuration. Is
it possible that your 7.0.29+ configuration is missing some  
configuration
that exists in your 7.0.28 configuration? You also may want to share  
the
steps you took while migrating to, installing, or configuring your  
7.0.29+

environment.
I downloaded the 32 bit zip version of the tomcat. Change the tcp port  
in the server.xml file from 8080 to 80.
The platform is Windows 7 64 bit. I run the service.bat file to  
install it as a service. (Service install Tomcat7).
I did not replace the index.jsp this time and did not introduce my  
war. I then started the service and I was able
to get to the standard Tomcat ROOT page. So I know Tomcat works. I  
stop tomcat, drop my war file in and
restart tomcat. I go to standardout.log and I see my app is completely  
up and is running, as it prints an info
line every 5 minutes to stdout. At this point I cannot get to the ROOT  
page (Now has the stock index.jsp) nor
can I get to my app by typing the URL consisting of the ip address of  
the computer +/myapp (e.g. http://192168.2.2/rrmt).
Both just hang in the browser. Now I just noticed that on this 4 core  
server, tomcat7.exe *32 is using 25% CPU.
My app *seems happy printing it's server is up message to the  
stdout.log.


Same war works in 7.0.27 and a few tomcats prior but every tomcat  
fails as described above for every version post 7.0.27 up
through 7.0.37. I have tried them all. It must be something in my code  
but I perplexed. The act of adding my war causes the problem.
I checked the changelog for tomcat and cannot see anything that would  
cause this.


Any thoughts appreciated.
Thanks
Pat








--**-- 
**-
To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.orgusers-unsubscr...@tomcat.apache.org 


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





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



RE: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Caldarale, Charles R
 From: Patrick Flaherty [mailto:pflah...@rampageinc.com] 
 Subject: Re: Cannot access my app after Tomcat 7.0.28

 Now I just noticed that on this 4 core server, tomcat7.exe *32 is using 25% 
 CPU.

Take several thread dumps and see what's looping.

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

 - 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



RE: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Caldarale, Charles R
 From: Caldarale, Charles R 
 Subject: RE: Cannot access my app after Tomcat 7.0.28

  Now I just noticed that on this 4 core server, tomcat7.exe *32 is using 25% 
  CPU.

 Take several thread dumps and see what's looping.

 http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

I should have mentioned that Windows often makes this difficult when running as 
a service, so you might want to try starting Tomcat with the startup.bat script 
for this diagnostic effort.

 - 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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
2013/3/5 Patrick Flaherty pflah...@rampageinc.com:
(...)
 The index.jsp in ROOT is a jsp
 containing a redirect to my app.

 %
 response.sendRedirect(/myapp/index.do);
 %


Confirming that a redirect such as above one works in current 7.0.x.

I replaced default ROOT/index.jsp with this simple page,
[[[
%
response.sendRedirect(/examples/index.html);
%
]]]

It works.


  I go to standardout.log and I see my app is completely up and is running

What about other log files?  localhost.DATE.log, catalina.DATE.log?
Is your request mentioned in the localhost_access_log.DATE.txt file?

Is your Tomcat on C: drive? Sometimes file permissions there are off.
http://wiki.apache.org/tomcat/FAQ/Windows

Best regards,
Konstantin Kolinko

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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 6:51 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Caldarale, Charles R
  Subject: RE: Cannot access my app after Tomcat 7.0.28

   Now I just noticed that on this 4 core server, tomcat7.exe *32 is
 using 25% CPU.

  Take several thread dumps and see what's looping.

 
 http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

 I should have mentioned that Windows often makes this difficult when
 running as a service, so you might want to try starting Tomcat with the
 startup.bat script for this diagnostic effort.


really? tomcat stopped running on me sometime between 1 and 2 months ago,
because i had a 'bad' configuration where i used a tomcat7 install to run a
tomee+ install, and after I added a certain version of 'atmosphere' to my
app, tomcat/tomee 'stopped' unexpectedly (repeatedly, after restarting
tomcat/tomee; first time i ever saw that behavior with my app), and as a
result of tomcat/tomee stopping unexpectedly, i got some good thread dump
on Windows Server 2003 or 2008, shared that with you all on this list... to
resolve, i installed and configured only tomee along with a previous/stable
version of atmosphere, and just used tomcat7w.exe to manipulate the Windows
Service.

anyway/also, i am able to monitor tomee/tomcat (and do thread dumps against
tomcat/tomee running as windows service) via JMX and Java Visual VM
(jvisualvm, bundled with Java 7 SDK), since I added the following options
on the Java tab in tomcat7w.exe:

-Dcom.sun.management.jmxremote.port=427
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false




  - 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




Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty

Hi Chuck,

I ran tomcat7w.exe //MS//Tomcat7 and the service started and I have a  
monitor in the tray, I waited till my app
was up and CPU was again at 25%.  When I right-click and select  
'Thread Dump', I'm not getting any thread dump in stdout.log.
What I did notice is in the commons-daemon.2013...log is the following  
message:


[2013-03-05 20:03:16] [error] [ 7724] The handle is invalid

Any ideas?
Pat

On Mar 5, 2013, at 6:51 PM, Caldarale, Charles R wrote:


From: Caldarale, Charles R
Subject: RE: Cannot access my app after Tomcat 7.0.28


Now I just noticed that on this 4 core server, tomcat7.exe *32 is  
using 25% CPU.



Take several thread dumps and see what's looping.



http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F


I should have mentioned that Windows often makes this difficult when  
running as a service, so you might want to try starting Tomcat with  
the startup.bat script for this diagnostic effort.


- 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




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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty


On Mar 5, 2013, at 6:59 PM, Konstantin Kolinko wrote:


2013/3/5 Patrick Flaherty pflah...@rampageinc.com:

(...)
The index.jsp in ROOT is a jsp
containing a redirect to my app.

%
   response.sendRedirect(/myapp/index.do);
%



Confirming that a redirect such as above one works in current 7.0.x.

I replaced default ROOT/index.jsp with this simple page,
[[[
%
   response.sendRedirect(/examples/index.html);
%
]]]

It works.


Thanks for that confirmation.



I go to standardout.log and I see my app is completely up and is  
running


What about other log files?  localhost.DATE.log, catalina.DATE.log?
Is your request mentioned in the localhost_access_log.DATE.txt file?

Nothing


Is your Tomcat on C: drive? Sometimes file permissions there are off.
http://wiki.apache.org/tomcat/FAQ/Windows

I don't think so, I switch 7.0.27 back in and it works.


Best regards,
Konstantin Kolinko

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




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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
 Is your Tomcat on C: drive? Sometimes file permissions there are off.
 http://wiki.apache.org/tomcat/**FAQ/Windowshttp://wiki.apache.org/tomcat/FAQ/Windows

 I don't think so, I switch 7.0.27 back in and it works.


1. What is the file path of 7.0.27 (where is it installed?
C:\apache-tomcat-7.0.27 or somewhere else?)

2. what is the file path of 7.0.28+ ? (where is it installed)?

3. when you 'switch 7.0.27 back in', what does that mean? Does it mean that
while you are attempting to migrate to 7.0.28+, 7.0.27 install remains on
the hard disk? you have not deleted/removed 7.0.27 yet...while attempting
to migrate to 7.0.28+ ?


Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Patrick Flaherty


On Mar 5, 2013, at 8:28 PM, Howard W. Smith, Jr. wrote:


Is your Tomcat on C: drive? Sometimes file permissions there are off.
http://wiki.apache.org/tomcat/**FAQ/Windowshttp://wiki.apache.org/tomcat/FAQ/Windows 




I don't think so, I switch 7.0.27 back in and it works.



1. What is the file path of 7.0.27 (where is it installed?
C:\apache-tomcat-7.0.27 or somewhere else?)


c:\rsi_tc\tomcat


2. what is the file path of 7.0.28+ ? (where is it installed)?


c:\rsi_tc\tomcat (same)


3. when you 'switch 7.0.27 back in', what does that mean? Does it  
mean that
while you are attempting to migrate to 7.0.28+, 7.0.27 install  
remains on
the hard disk? you have not deleted/removed 7.0.27 yet...while  
attempting

to migrate to 7.0.28


I have 2 tomcat folders (Versions 7.0.27  7.0.37) both named tomcat.  
I remove the service (Service remove Tomcat7)

Move the folder out.
Move in the other folder and install the service (Service install  
Tomcat7)




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



Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
 Move in the other folder and install the service (Service install Tomcat7)


After you run 'service.bat install Tomcat7' for 7.0.27 and 7.0.28, please
reply with the following that you see in tomcat7w.exe 'Java' tab. For
example, my 'Java' tab has the following:

Java Classpath:

C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\bootstrap.jar;C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\tomcat-juli.jar;C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\tomcat-juli.jar

Java options:

-Dcatalina.base=C:\apache-tomee-plus-1.6.0-SNAPSHOT
-Dcatalina.home=C:\apache-tomee-plus-1.6.0-SNAPSHOT
-Djava.endorsed.dirs=C:\apache-tomee-plus-1.6.0-SNAPSHOT\endorsed
-Djava.io.tmpdir=C:\apache-tomee-plus-1.6.0-SNAPSHOT\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\apache-tomee-plus-1.6.0-SNAPSHOT\conf\logging.properties
-Djava.awt.headless=true
-Dcom.sun.management.jmxremote.port=500
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Xmx1024m
-XX:MaxPermSize=384m
-XX:+UseTLAB
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled


Again, please share what you see in tomcat7w.exe on 'Java' tab immediately
after you install service via 'service install Tomcat7', and then share
your changes on this tab.

please share the tomcat7w.exe 'Java' config for 7.0.27 and 7.0.28.


Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 5, 2013 at 9:09 PM, Howard W. Smith, Jr. smithh032...@gmail.com
 wrote:


 Move in the other folder and install the service (Service install Tomcat7)


 After you run 'service.bat install Tomcat7' for 7.0.27 and 7.0.28, please
 reply with the following that you see in tomcat7w.exe 'Java' tab. For
 example, my 'Java' tab has the following:

 Java Classpath:


 C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\bootstrap.jar;C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\tomcat-juli.jar;C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\tomcat-juli.jar

 Java options:

 -Dcatalina.base=C:\apache-tomee-plus-1.6.0-SNAPSHOT
 -Dcatalina.home=C:\apache-tomee-plus-1.6.0-SNAPSHOT
 -Djava.endorsed.dirs=C:\apache-tomee-plus-1.6.0-SNAPSHOT\endorsed
 -Djava.io.tmpdir=C:\apache-tomee-plus-1.6.0-SNAPSHOT\temp
 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

 -Djava.util.logging.config.file=C:\apache-tomee-plus-1.6.0-SNAPSHOT\conf\logging.properties
 -Djava.awt.headless=true
 -Dcom.sun.management.jmxremote.port=500
 -Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false
 -Xmx1024m
 -XX:MaxPermSize=384m
 -XX:+UseTLAB
 -XX:+UseConcMarkSweepGC
 -XX:+CMSClassUnloadingEnabled


 Again, please share what you see in tomcat7w.exe on 'Java' tab immediately
 after you install service via 'service install Tomcat7', and then share
 your changes on this tab.

 please share the tomcat7w.exe 'Java' config for 7.0.27 and 7.0.28.


Also, on General (1st) tab of tomcat7w.exe, what is the 'Path to
executable' for your 7.0.27 and 7.0.28 install/config?


Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
 1. What is the file path of 7.0.27 (where is it installed?
 C:\apache-tomcat-7.0.27 or somewhere else?)


 c:\rsi_tc\tomcat


 2. what is the file path of 7.0.28+ ? (where is it installed)?


 c:\rsi_tc\tomcat (same)


 3. when you 'switch 7.0.27 back in', what does that mean? Does it mean
 that
 while you are attempting to migrate to 7.0.28+, 7.0.27 install remains on
 the hard disk? you have not deleted/removed 7.0.27 yet...while attempting
 to migrate to 7.0.28


 I have 2 tomcat folders (Versions 7.0.27  7.0.37) both named tomcat. I
 remove the service (Service remove Tomcat7)
 Move the folder out.
 Move in the other folder and install the service (Service install Tomcat7)



Move the folder out? can you explain this more clearly?

if you are moving the 'unused' tomcat folder to Recycle Bin, I have seen
issues with using Recycle Bin. if you are moving to recycle bin, then
delete whatever is in recycle bin, too...as one of your steps before
installing and running 7.0.28+. I don't use Recycle Bin ever, i always
Shift-Delete (permanent delete).


Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard,

On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote:
 anyway/also, i am able to monitor tomee/tomcat (and do thread dumps
 against tomcat/tomee running as windows service) via JMX and Java
 Visual VM (jvisualvm, bundled with Java 7 SDK), since I added the
 following options on the Java tab in tomcat7w.exe:
 
 -Dcom.sun.management.jmxremote.port=427 
 -Dcom.sun.management.jmxremote.ssl=false 
 -Dcom.sun.management.jmxremote.authenticate=false

FWIW, if you are on localhost, (JVisualVM, etc.) should be able to use
the Attach API to connect -- no actual JMX configuration is needed.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEAREIAAYFAlE22oIACgkQ9CaO5/Lv0PCADACaAgQ+lr0s39EBesG9I+zDfm7a
y8kAni5OrgZVqKnGE7nXAkpZoxhacC80
=HShF
-END PGP SIGNATURE-

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



Re: [OT] Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Howard W. Smith, Jr.
Chris,

On Wed, Mar 6, 2013 at 12:56 AM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Howard,

 On 3/5/13 6:15 PM, Howard W. Smith, Jr. wrote:
  anyway/also, i am able to monitor tomee/tomcat (and do thread dumps
  against tomcat/tomee running as windows service) via JMX and Java
  Visual VM (jvisualvm, bundled with Java 7 SDK), since I added the
  following options on the Java tab in tomcat7w.exe:
 
  -Dcom.sun.management.jmxremote.port=427
  -Dcom.sun.management.jmxremote.ssl=false
  -Dcom.sun.management.jmxremote.authenticate=false

 FWIW, if you are on localhost, (JVisualVM, etc.) should be able to use
 the Attach API to connect -- no actual JMX configuration is needed.

 - -chris


Sorry, I am not familiar with Attach API at the moment, and JVisualVM is
not able to attach to my tomcat/tomee JVM (running as Windows service or
not) unless I provide those java options and I specify port in JavaVisualVM.

Maybe NetBeans is using Attach API, because NetBeans always shows up in
JVisualVM, if I have the two open on the same box (have seen this on
development server and production server) .

I only use JVisualVM on localhost (behind a firewall), and Windows Server
2008 (non-R2 and R2) running on both development and production servers. :)


-BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iEYEAREIAAYFAlE22oIACgkQ9CaO5/Lv0PCADACaAgQ+lr0s39EBesG9I+zDfm7a
 y8kAni5OrgZVqKnGE7nXAkpZoxhacC80
 =HShF
 -END PGP SIGNATURE-

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