In Tomcat, I'd expect to see a element.įor Tomcat (and I suspect TomEE), you'll need to provide the MySQL JDBC driver JAR in $CATALINA_BASE/lib. If support for those is provided by TomEE then I can't help you (I only know Tomcat). Tomcat does not support the nor the tags. The configuration for the DataSource is wrong. Update after the above information was provided any additional JARs you added and where you placed them.where you placed your WAR file / exploded directory.configuration files you've added/edited.If you want help with your configuration then you'll need to provide more information including: You have a few more options for context.xml but I'd recommend the META-INF directory of your web application. Server.xml must be located in the conf directory. persistence.xml is not an Apache Tomcat configuration file. Resource.xml is not an Apache Tomcat configurstion file. SEVERE: Unable to load tag library tag class: .SkipTag SEVERE: Unable to load tag library tag class: .LastTag SEVERE: Unable to load tag library tag class: .NextTag SEVERE: Unable to load tag library tag class: .PagesTag SEVERE: Unable to load tag library tag class: .PageTag SEVERE: Unable to load tag library tag class: .PrevTag SEVERE: Unable to load tag library tag class: .FirstTag SEVERE: Unable to load tag library tag class: .IndexTag SEVERE: Unable to load tag library tag class: .ItemTag SEVERE: Unable to load tag library tag class: .ParamTag SEVERE: Unable to load tag library tag class: .PagerTag INFO: Configuring enterprise application: C:\Users\PC\Documents\NetBeansProjects\Mebzone\build\webĨ:10:17 PM .AnnotationDeployer$ProcessAnnotatedBeans deploy WARNING: No rules found matching 'Context/resources'.Ĩ:10:15 PM .ConfigurationFactory configureApplication WARNING: No rules found matching 'Context/resources/jdbc-connection-pool'. WARNING: No rules found matching 'Context/resources/jdbc-connection-pool/property'. WARNING: No rules found matching 'Context/resources/jdbc-connection-pool/description'. WARNING: No rules found matching 'Context/resources/jdbc-resource'. The log of today: WARNING: No rules found matching 'Context/resources/jdbc-resource/description'.Ĩ:10:12 PM .digester.Digester endElement No WAR file was exploded since as for right now i'm developing locally in Netbeans 8.0.2 but if it's the same thing as deployment the server automatically created a copy under Web Applications(pardon my ignorance if it's the same). We encourage you to refer to that file if the information below does not answer some of your questions. The main documentation for this is a file called RUNNING.txt. I added these jars in $CATALINA_HOME/lib: Windows Unix daemon Introduction There are several ways to set up Tomcat for running on different platforms. Strangely, i'm able to see data with but no data displays with It does not get the data from my database so I assume I do not have the proper configuration for the files. I have unzipped a binary distribution in C:// but I have a hard time getting the JDBC and JDNI working. StandardHost.StandardContext]Īt .ContainerBase.addChildInternal(ContainerBase.java:904)Īt .ContainerBase.addChild(ContainerBase.java:877)Īt .StandardHost.addChild(StandardHost.java:633)Īt .ployWAR(HostConfig.java:977)Īt .HostConfig$n(HostConfig.java:1655)Īt $RunnableAdapter.call(Executors.java:441)Īt $Sync.innerRun(FutureTask.java:303)Īt .run(FutureTask.java:138)Īt $nTask(ThreadPoolExecutor.java:886)Īt $n(ThreadPoolExecutor.java:908)Ĭom.servlet.ServletContainerĪnd at the risk of giving you all far too much information, here is a ls of my folder structure. SEVERE: Error deploying web application archive /opt/tomcat7/webapps/restful.war Here is my log file: 9:57:16 AM .HostConfig deployWAR I've looked around for a solution and found this question and this one and they make me think that it's a servlet-mapping problem however I'm not sure how to fix it! I'm trying to follow this tutorial on creating a simple REST web service, however I get to deploying it on tomcat and it throws an exception: FAIL - Application at context path /restful could not be startedįAIL - Encountered exception : Failed to start component.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |