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

Summary: "java.lang.RuntimeException: Failed to lookup configuration for Tomcat5 in" during execution of webapp
Product: serverplugins Reporter: clever <clever>
Component: InfrastructureAssignee: Pavel Buzek <pbuzek>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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