[jboss-dev-forums] [JBoss Web Development] - Fehler bei Deploying: secure not found as a child of jboss
solna
do-not-reply at jboss.com
Mon Mar 12 11:20:23 EDT 2012
solna [https://community.jboss.org/people/solna] created the discussion
"Fehler bei Deploying: secure not found as a child of jboss"
To view the discussion, visit: https://community.jboss.org/message/723231#723231
--------------------------------------------------------------
Hallo zusammen,
Ich habe jboss 5.1.0.GA.
Bei Deploying bekomme folgender Fehler:
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/opt/jboss-5.1.0.GA/server/default/deploy/Anwendung.war...
.......
.......
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: secure not found as a child of jboss in unordered_sequence: webservices? resource-managers? jmx-name?...
Mein web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>bla bla</display-name>
<description>
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
</description>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>encoding-filter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<servlet>
<servlet-name>
Locks
</servlet-name>
<servlet-class>
servlets.LocksServlet
</servlet-class>
</servlet>
</web-app>
Mein jboss-web.xml
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE jboss-web PUBLIC
-//JBoss//DTD Web Application 5.0//EN
http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd>
<jboss-web>
<class-loading>
<loader-repository>
com.example:archive=Anwendung.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
<context-root>Anwendung</context-root>
</jboss-web>
Was mache ich falsch? Steht dann <secure> nicht default auf "false"?
Habe leider kein Antwort beim googeln gefunden.
Danke
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/723231#723231]
Start a new discussion in JBoss Web Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120312/7cc6464f/attachment.html
More information about the jboss-dev-forums
mailing list