[JBoss/Spring Integration] - Re: JBOSS5 + Spring Deployer version confusion
by alesj
"dlmiles" wrote :
| I'm surprised it could find it, none of my containment files are exploded.
|
It's called JBoss VFS. ;-)
"dlmiles" wrote :
| Surely there is some other qualifying requirement too. For example the *.deployer file name as well as requiring a META-INF/spring-deployers-beans.xml with outer element ?
|
The file has to be in metadata path, recognized by StructureDeployers.
I don't know what you mean by *.deployers file name and requiring spring-deployers-beans.xml.
To require exact outer element, it means it would always have to parse the file, to see what is the first element.
I think the name + suffix are good enough to distinct deployment types.
And with the new aspectized deployers, it's easy to swap out the behavior / add additional constraints.
"dlmiles" wrote :
| Now the next thing in the saga (not really spring related) :
|
| vfsfile:/data/opt/jboss-5.0.0.Beta4/server/default/deploy/Service.ear -> org.xml.sax.SAXException: cvc-pattern-valid: Value 'application/xhtml+xml' is not facet-valid with respect to pattern '
| | [\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+' for type 'null'. @ *unknown*[164,47][/core]
| |
| | I'm pretty sure this has been fixed in the Servlet web.xml DTD/XSD for a few years now, don't you just love validating parsers. Yes the plus character "+" is valid in a MIME type.
I think you can always say to the parsing deployer that it should not validate.
And this info should be delegated fwd.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133472#4133472
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133472
16 years, 10 months
[JBoss/Spring Integration] - Re: JBOSS5 + Spring Deployer version confusion
by dlmiles
Thank you for your replies again.
Picks up ? Ah I see the error is from the deployer trying to deploy something as a JBoss service which is actually contained inside my EAR which has a WAR and in my /WEB-INF/spring.beans.xml. I'm surprised it could find it, none of my containment files are exploded.
Surely there is some other qualifying requirement too. For example the *.deployer file name as well as requiring a META-INF/spring-deployers-beans.xml with outer element ?
I'm thinking that just having the name should never be enough but being the correct name and having a well formed data inside qualifies it for being picked up and special treatment. Anything not matching all of the requirements should elicit a warning and then be put back down (and ignored for further pickups until its timestamp changes again). The warning would be along the lines of foobar-bean.xml file does not contain outer element, ignoring file and returning.
Also if there is a clearly DTD or XSD described in the *-beans.xml for which the deployer does not understand then no warning should be emitted for INFO log level. But possible to see the attempted pickup at DEBUG level.
Now the next thing in the saga (not really spring related) :
vfsfile:/data/opt/jboss-5.0.0.Beta4/server/default/deploy/Service.ear -> org.xml.sax.SAXException: cvc-pattern-valid: Value 'application/xhtml+xml' is not facet-valid with respect to pattern '
| [\p{L}\-\p{Nd}]+/[\p{L}\-\p{Nd}\.]+' for type 'null'. @ *unknown*[164,47][/core]
|
| I'm pretty sure this has been fixed in the Servlet web.xml DTD/XSD for a few years now, don't you just love validating parsers. Yes the plus character "+" is valid in a MIME type.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133467#4133467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133467
16 years, 10 months
[EJB/JBoss] - Re: EJB error when invoked by a jsp ........ please help
by sajhak
now i got the following error please help ....
01:20:01,953 INFO [STDOUT] Couldn't create converter bean.$Proxy65 cannot be cast to converter.ejb.Converter
01:20:03,671 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.index_jsp._jspService(index_jsp.java:98)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133460#4133460
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133460
16 years, 10 months