This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29980 - Basic integration of Tomcat 5 into IDE
Summary: Basic integration of Tomcat 5 into IDE
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 09:28 UTC by _ rkubacki
Modified: 2004-07-09 09:44 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2003-01-13 09:28:24 UTC
Server registration in registry on Runtime tab.
Start / restart / stop action
Comment 1 _ rkubacki 2003-01-17 16:56:38 UTC
Now it installs, allows to add instance start and stop it. No props,
configuration and deployment yet
Comment 2 Jason Rush 2003-03-04 03:54:30 UTC
Verified in NetBeans dev build 200303030100.
Comment 3 Jason Rush 2003-03-06 19:53:59 UTC
I have no idea why I marked this verified.  It is targeted 
for NB 4.0, so I wouldn't have been able to verify it 
yet.  I'm reopening to make sure that we verify it once we 
start working on 4.0.
Comment 4 Jason Rush 2003-03-06 19:54:30 UTC
Setting state back to FIXED.
Comment 5 Jason Rush 2003-08-10 22:58:29 UTC
Attempted to verify against NB dev build 200308080100, but 
I am unable to get a Tomcat 5.0 installation running with 
the IDE even in minimum configuration mode.  I get the 
following exceptions when right-clicking the node and 
choosing "Start Server" and the server does not start.

*********** Exception occurred ************ at Sun Aug 10 
14:58:43 PDT 2003
java.lang.NullPointerException
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPor
tFromFileAttribute(Tomcat40Instance.java:124)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPor
t(Tomcat40Instance.java:92)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.te
stPortAvailability(Tomcat40Installation.java:759)
[catch] at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.cr
eateNewTomcatProcess(Tomcat40Installation.java:926)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.st
artServerInExecMode(Tomcat40Installation.java:912)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.sy
nchronizeStart(Tomcat40Installation.java:1056)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.no
nIncrementalDeploy(Tomcat40Installation.java:681)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.in
crementalDeploy(Tomcat40Installation.java:690)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy
(Tomcat40Instance.java:279)
	at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.
doDeploy(DefaultServerInstanceManager.java:113)
	at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.
startExecution(DefaultServerInstanceManager.java:133)
	at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.
serverInstanceStartExecution
(DefaultServerInstanceManager.java:78)
	at 
org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExe
cution(DefaultExecPerformer.java:67)
	at 
org.netbeans.modules.web.execution.WebDefaultExecPerformer.s
tartExecution(WebDefaultExecPerformer.java:240)
	at 
org.netbeans.modules.j2ee.impl.ServerExecutor.execute
(ServerExecutor.java:69)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.star
t(Tomcat40DataObject.java:693)
	at org.openide.actions.ExecuteAction.execute
(ExecuteAction.java:140)
	at org.openide.actions.ExecuteAction.execute
(ExecuteAction.java:217)
	at org.openide.actions.ExecuteAction.performAction
(ExecuteAction.java:102)
	at 
org.openide.util.actions.NodeAction$DelegateAction.actionPer
formed(NodeAction.java:431)
	at org.netbeans.core.ModuleActions$1.run
(ModuleActions.java:97)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:330)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:677)
*********** Exception occurred ************ at Sun Aug 10 
14:58:43 PDT 2003
Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPor
tFromFileAttribute(Tomcat40Instance.java:124)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.getPor
t(Tomcat40Instance.java:92)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.sy
nchronizeWait(Tomcat40Installation.java:1062)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.ensure
Available(Tomcat40Instance.java:287)
	at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.
startExecution(DefaultServerInstanceManager.java:136)
	at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.
serverInstanceStartExecution
(DefaultServerInstanceManager.java:78)
	at 
org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExe
cution(DefaultExecPerformer.java:67)
	at 
org.netbeans.modules.web.execution.WebDefaultExecPerformer.s
tartExecution(WebDefaultExecPerformer.java:240)
	at 
org.netbeans.modules.j2ee.impl.ServerExecutor.execute
(ServerExecutor.java:69)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.star
t(Tomcat40DataObject.java:693)
	at org.openide.actions.ExecuteAction.execute
(ExecuteAction.java:140)
	at org.openide.actions.ExecuteAction.execute
(ExecuteAction.java:217)
	at org.openide.actions.ExecuteAction.performAction
(ExecuteAction.java:102)
	at 
org.openide.util.actions.NodeAction$DelegateAction.actionPer
formed(NodeAction.java:431)
	at org.netbeans.core.ModuleActions$1.run
(ModuleActions.java:97)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:330)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:677)
Comment 6 _ rkubacki 2003-08-11 08:47:06 UTC
This one is implemented in projects build (probably can work in trunk
too if you mount directory with tomcat as filesystem).
Comment 7 Petr Blaha 2004-07-09 09:44:02 UTC
Verified