[JBoss-user] [Installation, Configuration Deployment] - Using old version of xerces on JBoss4.0.2

2005-11-30 Thread Dafolo
I've developed an ear-file which uses and older version of xerces than the one 
supplied with JBoss 4.0.2. When I call the method that uses xerces I get the 
following error:


  | java.lang.NoSuchMethodError: 
org.apache.xerces.parsers.DOMParser.startDocument()V
  | com.accelio.ces.xmlapi.FSXMLConfig.CreateRequest(FSXMLConfig.java:57)
  | com.accelio.ces.xmlapi.SoapClient.publish(SoapClient.java:81)
  | FormServer.CreateForm.doProcess(CreateForm.java:77)
  | FormServer.CreateForm.doPost(CreateForm.java:27)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

As far as I've been able to read on this forum, it has something to do with the 
differences in the version of xerces. I've tried to add the 
java2ParentDelegation to the jboss-app.xml in the META-INF folder, but I can't 
seem to get it to work.

The structure of my ear file is:
EAR - WAR - WEB-INF\lib\*.jar
EAR - META-INF\jboss-app.xml

Does anyone know what is wrong?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3909754#3909754

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909754


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - NullpointerException with large content

2005-11-03 Thread Dafolo
I have made a JSP from where it's possible to upload files to the server. Once 
the file is uploaded it is base64 encoded and the resulting string is inserted 
in a textarea in the JSP. The page is then submited to the server.

My problem is that when I try to get the content of the field using 
request.getParameter(base64file) I get the following error:


  | java.lang.NullPointerException
  | org.apache.catalina.connector.Request.parseParameters(Request.java:2340)
  | 
org.apache.catalina.connector.Request.getParameterNames(Request.java:1038)
  | 
org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:359)
  | org.apache.jsp.SendMail_jsp._jspService(org.apache.jsp.SendMail_jsp:122)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 

I only get the problem if I upload a large file (2mb+). I think that it has 
something to do with size of the request, as it now contains the base64 encoded 
file. Does anyone know what to do?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3905103#3905103

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905103


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - JasperException: Unable to compile class for JSP

2005-02-22 Thread Dafolo
I get the following error, when I try to open an jsp-file in my browser:

C:\JBoss\server\default\work\jboss.web\localhost\FSSamples\org\apache\jsp\jsp\welcome_jsp.java:90:
 handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext 
cannot be applied to (java.lang.Throwable)
if (_jspx_page_context != null) 
_jspx_page_context.handlePageException(t);

The jsp-file looks like this:

%@ page errorPage=welcome_error.jsp %
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
%@ taglib uri=http://java.sun.com/jsp/jstl/xml; prefix=x %


Borgerblanketter - Dafolo A/S



h1Velkommen til Borgerblanketter/h1



I'm using jdk1.5 and jboss 4.0.1.

Anyone out there know what to do

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3867411#3867411

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867411


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: JasperException: Unable to compile class for JSP

2005-02-22 Thread Dafolo
Sorry. The jsp looks like this:
%@ page errorPage=welcome_error.jsp %
  | %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
  | %@ taglib uri=http://java.sun.com/jsp/jstl/xml; prefix=x %
  | html
  | head
  | titleBorgerblanketter/title
  | /head
  | 
  | body bgcolor=#ff
  | h1Velkommen til Borgerblanketter/h1
  | /body
  | /html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3867413#3867413

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867413


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: JasperException: Unable to compile class for JSP

2005-02-22 Thread Dafolo
Thanks that solved the problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3867551#3867551

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867551


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - java.lang.VerifyError

2005-01-06 Thread Dafolo
I have succesfully deployed a .ear file on the JBoss server. If I open af .html 
file from the deployed .ear file, it works fine, but if I try to open af 
servlet I get the following error:

java.lang.VerifyError: (class: com/accelio/ces/app/App, method: 
getDocumentFromBytes signature: ([B)Lorg/w3c/dom/Document;) Incompatible object 
argument for function call

What can I do?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860899#3860899

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860899


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user