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 45538 - "java.lang.RuntimeException: Failed to lookup configuration for Tomcat5 in" during execution of webapp
Summary: "java.lang.RuntimeException: Failed to lookup configuration for Tomcat5 in" d...
Status: RESOLVED DUPLICATE of bug 43602
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 22:51 UTC by clever
Modified: 2006-06-04 23:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clever 2004-06-24 22:51:32 UTC
I am able to start Tomcat manually and browse my
webapp. However, when I try to 'execute' from the
project view, I get the following in the ide.log file:

INFORMATIONAL *********** Exception occurred
************ at Thu Jun 24 16:46:16 GMT-05:00 2004
java.lang.RuntimeException: Failed to lookup
configuration for Tomcat5 in  
	at
org.netbeans.modules.j2ee.deployment.impl.projects.J2eeDeploymentLookup.getStorage(J2eeDeploymentLookup.java:200)
	at
org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTargetImpl.getDeploymentConfigurationProvider(DeploymentTargetImpl.java:214)
	at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:109)
	at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:377)
[catch] at
org.netbeans.modules.j2ee.deployment.execution.ServerExecutor.doDeploy(ServerExecutor.java:151)
	at
org.netbeans.modules.j2ee.deployment.execution.ServerExecutor.access$000(ServerExecutor.java:49)
	at
org.netbeans.modules.j2ee.deployment.execution.ServerExecutor$2.run(ServerExecutor.java:118)
	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:686)

On my old machine I remember seeing this when I
tried to 'execute', but debugging worked as an
option.  No my new machine this seems to happen if
I select 'debug' or 'execute'.

Since I can manually create a 'webctx.xml' in the
'Catalina' directory, then I have a workaround,
but I would like to see the deployment feature
work again!

Cheers!
-Sean
Comment 1 Marek Fukala 2004-06-29 13:51:23 UTC

*** This issue has been marked as a duplicate of 43602 ***