-
fixing xml editing on iweb
when i want to edit my char i cant bechause the xml information doesnt work. i go to iweb, login, go to character editor, then put id in and name and go to xml info and boom. this:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /roles/modrolexml.jsp:62
59: out.println("Failed to get the character");
60: return;
61: }
62: xmlbytes = XmlRole.toXMLByteArray(role);
63: if( null == xmlbytes )
64: {
65: out.println("Unable to get xml.");
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.goldhuman.auth.AuthFilter.doFilter(AuthFilter.java:186)
root cause
javax.servlet.ServletException: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.roles.modrolexml_jsp._jspService(modrolexml_jsp.java:231)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.goldhuman.auth.AuthFilter.doFilter(AuthFilter.java:186)
root cause
java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
protocol.XmlRole.toXMLByteArray(XmlRole.java:636)
org.apache.jsp.roles.modrolexml_jsp._jspService(modrolexml_jsp.java:125)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.goldhuman.auth.AuthFilter.doFilter(AuthFilter.java:186)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.28
im using hrace009s server
HOW DO I FIX THISSSS??????????
---------- Post added at 09:08 AM ---------- Previous post was at 09:03 AM ----------
maybe someone can get on msn and help? zettacorn@hotmail.com
-
Re: fixing xml editing on iweb
-
Re: fixing xml editing on iweb
can someone please help me im on msn right now i wont be available much longer till later
-
Re: fixing xml editing on iweb
Is tomcat started with JRE 1.5 or JRE 1.6 ? Tomcat requires JRE 1.5 in order to use the xml feature correctly...
-
Re: fixing xml editing on iweb
-
1 Attachment(s)
Re: fixing xml editing on iweb
this is what it starts with
-
Re: fixing xml editing on iweb
you need to edit tomcat_startup.sh and /root/.profile
and change the java home path to the path of any 1.5.x.x java
-
Re: fixing xml editing on iweb
and make sure you already install java 1.5.21 or it will not run.
-
Re: fixing xml editing on iweb
ok lemme see if i got u guys corect: i need to install java on the vm then change the path in tomcat_start.sh?
---------- Post added at 11:33 AM ---------- Previous post was at 11:31 AM ----------
and i use 1.5.21 right ill go dig that up from sun i suppose
---------- Post added at 11:37 AM ---------- Previous post was at 11:33 AM ----------
do i dl the linux or windows version? for putting in vm or on my pc?
---------- Post added at 11:49 AM ---------- Previous post was at 11:37 AM ----------
does anyone just have msn so i can make this quick i gtg within the next 2hours
-
1 Attachment(s)
Re: fixing xml editing on iweb
ok i tried this on my tester so i wouldnt screw my main saves up this time. the tester wont connect pwadmin or iweb now...
-
Re: fixing xml editing on iweb
Link for java 1.5.21 please
-
Re: fixing xml editing on iweb
Quote:
Originally Posted by
tawdarky
Link for java 1.5.21 please
http://pwadmin.codeplex.com/releases/view/41999
-
Re: fixing xml editing on iweb
-
Re: fixing xml editing on iweb
make sure you use multyple java 1.5.XX and 1.6.XX, and put both at /usr/java/
then change your .profile and .bashrc to direct /usr/java/jdk-1.5.XX and don't change anything at /PWServer/authd
reboot your server
if everthing correct you should see like this:
-
Re: fixing xml editing on iweb
i just am reinstalling pwadmin ronny said i can do that easy enough
-
Re: fixing xml editing on iweb
Quote:
Originally Posted by
hrace009
make sure you use multyple java 1.5.XX and 1.6.XX, and put both at
/usr/java/
then change your
.profile and .bashrc to direct
/usr/java/jdk-1.5.XX and
don't change anything at
/PWServer/authd
reboot your server
if everthing correct you should see like this:
That's exactly how i get but now it won't run pwAdmin.Why?
I mean it runs pwAdmin but i can't access the page to start server http://192.168.0.10:8080/pwAdmin/
-
Re: fixing xml editing on iweb
hrace please upload the 2 modded files (.profile and .bachrc)cause it's not working.It won't start pwAmin now.(pwAdmin 1.0 BTW)
-
1 Attachment(s)
Re: fixing xml editing on iweb
i got pwAdmin 1.0 installed and it runs but this is what it looks like at accounts page:
what did i do wrong?
-
Re: fixing xml editing on iweb
ok thats fixed now i need to fix a few files so i can run xml edit
---------- Post added at 06:14 PM ---------- Previous post was at 06:10 PM ----------
ok i tried to chang the path on ./tomcat_start.sh and same with stop but when i do that i cannot access pwAdmin1.0... but if i change back its fine but i cant edit XML.
---------- Post added at 06:55 PM ---------- Previous post was at 06:14 PM ----------
ello? guys?
-
Re: fixing xml editing on iweb
@zeta - i think mysql error result to accesspw - this is for booth - pwadmin access and mysql access - default pw for pwadmin 1.0 is: " root " - the passwd for mysql access is ... :)
-
Re: fixing xml editing on iweb
ok heres my new problem:
i cannot view XML because i have my patchs wrong. however if i set them correctly i cannot connect to pwAdmin... my jre is at this: /usr/java/jre1.5.0_21 so now i try to make look like this in ./tomcat_start.sh:
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.5.0_21
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
and thren i cannot connect to pwAdmin but if i change back to:
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.5.0_21
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
i can connect to pwAdmin but cant use XML
what do i do?
-
Re: fixing xml editing on iweb
hello? i rly need help.
---------- Post added 04-09-2010 at 12:27 AM ---------- Previous post was 04-08-2010 at 10:37 PM ----------
someone pls help me? i need to go to sleep very soon but i want to finish fixing this... someone? help?
-
Re: fixing xml editing on iweb
This is my configuration:
(tomcat_start.sh)
Code:
echo ""
echo "=== APACHE TOMCAT ==="
export JAVA_HOME=/usr/java/jdk1.5.0_05/jre
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
(tomcat_stop.sh)
Code:
echo ""
echo "=== APACHE TOMCAT ==="
export JAVA_HOME=/usr/java/jdk1.5.0_05/jre
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
Your java path must be this ( /usr/java/jdk1.5.0_05/jre ) !!!
If not, correct it...
Btw, XML editor and SSL support only work with this JDK version !
-
Re: fixing xml editing on iweb
Quote:
Originally Posted by
Zettacorn
ok heres my new problem:
i cannot view XML because i have my patchs wrong. however if i set them correctly i cannot connect to pwAdmin... my jre is at this: /usr/java/jre1.5.0_21 so now i try to make look like this in ./tomcat_start.sh:
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.5.0_21
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
and thren i cannot connect to pwAdmin but if i change back to:
echo ""
echo "=== APACHE TOMCAT ==="
#export JAVA_HOME=/usr/java/jre1.5.0_21
apache-tomcat-5.5.28/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
i can connect to pwAdmin but cant use XML
what do i do?
as long as a line starts with # you can write in it what you want...
remove the # from the line or this line will be ignored...
-
Re: fixing xml editing on iweb
Link to download jdk-1.5.0_05 and how to install it in vbox.