Hello,
I am trying to run my program through netbeans and I get a message:
...build-impl.xml:1048 the module has not been deployed.
see the server log for details.
The corresponding line in the xml document is:
And in the server log there is a long list of comments, the first which looks to be of significance to this issue is:<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
WARNING [http-apr-8080-exec-57] org.apache.catalina.deploy.NamingResourcesImpl.cle anUp Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/transBoard]] so no cleanup was performed for that container
javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [comp].
There are others further down the list which might also be significant such as:
SEVERE [http-apr-8080-exec-59] org.apache.catalina.core.ContainerBase.addChildInt ernal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/transBoard]]
The corresponding line of code for the first warning that I listed is for the DataSource object and I wrote it as follows:
I'm pretty sure the issue has something to do with connecting to the database since it ran fine before I added the database related code.dataSource = (DataSource) ic.lookup("java:/comp/env/jdbc/trans_board");
Any suggestions or leads would be appreciated.
Thank you