Skip to Navigation

Urgent help : Build successful but Still doesnt open....

16 replies [Last post]
vikram51
User offline. Last seen 8 years 7 weeks ago. Offline
Joined: 03/02/2011

I have configured Opentaps 1.5 with mysql . Build was successful , The opentaps server is running , but ,
when i try to open using this url following error is displayed in browser ......

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Pattern.java:1713)
java.util.regex.Pattern.compile(Pattern.java:1466)
java.util.regex.Pattern.(Pattern.java:1133)
java.util.regex.Pattern.compile(Pattern.java:823)
java.lang.String.split(String.java:2293)
java.lang.String.split(String.java:2335)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
Apache Tomcat/6.0.26

Need urgent help Please

jwickers
User offline. Last seen 6 years 24 weeks ago. Offline
Joined: 03/30/2010
What url ?

What url ?

vikram51
User offline. Last seen 8 years 7 weeks ago. Offline
Joined: 03/02/2011
Oh sorry , i missed it , off

Oh sorry , i missed it , off course its , http://localhost:8080/opentaps

jwickers
User offline. Last seen 6 years 24 weeks ago. Offline
Joined: 03/30/2010
Weird, did you try

Weird, did you try http://localhost:8080/opentaps/ ? else http://localhost:8080/crmsfa/ ?
The error you posted mention a backslash, i wonder if you did not made a typo in your address bar.

vikram51
User offline. Last seen 8 years 7 weeks ago. Offline
Joined: 03/02/2011
Absolutely not , no typos ,

Absolutely not , no typos , no paths with space .
But i found out that in Build.xml in opentaps dir there is this code . i wonder if this has something to do with it ....

im my file the line number is 910.
I m totally frustrated since yesterday .

jwickers
User offline. Last seen 6 years 24 weeks ago. Offline
Joined: 03/30/2010
I think i know what your

I think i know what your problem could be, are you running windows ? 

Could you try this:
got to ConfigXMLReader.java line 81
change 

for (String a : url.toString().split(File.separator)) {

to

for (String a : url.toString().split("/")) {

This could fix your problem, if so i'll commit the fix.

vikram51
User offline. Last seen 8 years 7 weeks ago. Offline
Joined: 03/02/2011
Yes it Worked , Thanks a

Yes it Worked , Thanks a thousand ton bro .

I m running windows vista business edition , on Intel Core i3 with 3 gb Ram .

there is one more problem.
I made the necessary change , build with ant run-install , now its giving me Build failed . But i think that is some Vista permission thing . coz i had faced it earlier too ,b4 your recommended change.......this is the error --->

------------------------------------------------------------------------------------
BUILD FAILED
C:\opentaps\opentaps\build.xml:249: The following error occurred while executing
this line:
C:\opentaps\opentaps\opentaps\opentaps-common\build-aspects.xml:167: Unable to r
ename old file (C:\opentaps\opentaps\framework\entity\build\lib\ofbiz-entity.jar
) to temporary file
--------------------------------------------------------------------------------

but funny thing is the webapp has started even after this....LOL

jwickers
User offline. Last seen 6 years 24 weeks ago. Offline
Joined: 03/30/2010
Yes this has been reported

Yes this has been reported before and it is due to windows ..  i think you might still be able to find the post or wiki page mentionning this.

vbhansaly
User offline. Last seen 4 years 26 weeks ago. Offline
Joined: 03/31/2010
This will help
vacshop
User offline. Last seen 6 years 43 weeks ago. Offline
Joined: 07/27/2010
I was having the same issues

I was having the same issues on an XP box with MySQL. The ConfigXMLReader.java patch worked great. I then ran run-install-extseed and ran into the rename problem but I was able to reboot and run-install-extseed completed successfully the second attempt. I think that windows and/or java leave garbage in memory that requires a reboot between build attempts.

ppunhani
User offline. Last seen 8 years 4 weeks ago. Offline
Joined: 03/20/2011
Just wondering how you got it

Just wondering how you got it to work, I have been trying do the build and I am getting error with the service_leads.xml

2011-03-19 19:48:23,069 (main) [ UtilXml.java:1068:ERROR] XmlFileLoader: File /opt/opentaps-1.5.0/opentaps/crmsfa/servicedef/services_leads.xml process error. Line: 82. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{type-validate}' is expected.

vb
User offline. Last seen 8 years 2 weeks ago. Offline
Joined: 04/07/2011
I also observed the same

I also observed the same problem while try to open opentaps in the browser. I used the url as http://localhost:8080/opentaps. I followed the changed in "ConfigXMLReader.java" suggested by jwickers, but getting the same error again.
Can anybody help?

error after changing the "ConfigXMLReader.java" for your reference :

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Pattern.java:1713)
java.util.regex.Pattern.compile(Pattern.java:1466)
java.util.regex.Pattern.(Pattern.java:1133)
java.util.regex.Pattern.compile(Pattern.java:823)
java.lang.String.split(String.java:2293)
java.lang.String.split(String.java:2335)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.

Apache Tomcat/6.0.26

Also this is one of the error in console.log :

2011-04-08 14:13:08,131 (main) [ UtilXml.java:1068:ERROR] XmlFileLoader: File C:/opentaps-1.5.0/opentaps/crmsfa/servicedef/services_leads.xml process error. Line: 82. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'description'. One of '{type-validate}' is expected.

2011-04-08 14:13:17,475 (main) [ ApplicationContext.java:673:ERROR] StandardWrapper.Throwable
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^

2011-04-08 14:13:17,475 (main) [ StandardContext.java:4189:ERROR] Servlet /googlecheckout threw load() exception
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^

2011-04-08 14:13:20,037 (main) [ ApplicationContext.java:673:ERROR] StandardWrapper.Throwable
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^

2011-04-08 14:13:20,037 (main) [ StandardContext.java:4189:ERROR] Servlet /webpos threw load() exception
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^

vbhansaly
User offline. Last seen 4 years 26 weeks ago. Offline
Joined: 03/31/2010
After making the changes, you

After making the changes, you will have to compile opentaps once again.

jkbaseer
User offline. Last seen 6 years 28 weeks ago. Offline
Joined: 10/08/2012
Hi Jwickers. Glad that one

Hi Jwickers.
Glad that one got the error cleared because of your answer. I too have the same error JW. I've edited the line 81 and then i have run ant.bash(Guess this is correct;) After every edit, one of forum members ask me to rebuild opentaps running ant.bash).

I still receive the same error. Do i need to execute after editing this ConfigXMLReader.java ?

It would be very helpfull, if someone help to clear this error.

REFERENCE: ERROR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Unknown Source)
java.util.regex.Pattern.compile(Unknown Source)
java.util.regex.Pattern.(Unknown Source)
java.util.regex.Pattern.compile(Unknown Source)
java.lang.String.split(Unknown Source)
java.lang.String.split(Unknown Source)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs
~~~~~~~~~~~~~~~~~```

kreader82374
User offline. Last seen 6 years 18 weeks ago. Offline
Joined: 11/24/2012
I tried this and it still

I tried this and it still gives me the following error:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Pattern.java:1924)
java.util.regex.Pattern.compile(Pattern.java:1671)
java.util.regex.Pattern.(Pattern.java:1337)
java.util.regex.Pattern.compile(Pattern.java:1022)
java.lang.String.split(String.java:2313)
java.lang.String.split(String.java:2355)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.

anseri
User offline. Last seen 5 years 34 weeks ago. Offline
Joined: 08/30/2013
type Exception

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Pattern.java:1924)
java.util.regex.Pattern.compile(Pattern.java:1671)
java.util.regex.Pattern.(Pattern.java:1337)
java.util.regex.Pattern.compile(Pattern.java:1022)
java.lang.String.split(String.java:2361)
java.lang.String.split(String.java:2403)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.

please help me from this error

anseri
User offline. Last seen 5 years 34 weeks ago. Offline
Joined: 08/30/2013
type Exception

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
java.util.regex.Pattern.error(Pattern.java:1924)
java.util.regex.Pattern.compile(Pattern.java:1671)
java.util.regex.Pattern.(Pattern.java:1337)
java.util.regex.Pattern.compile(Pattern.java:1022)
java.lang.String.split(String.java:2361)
java.lang.String.split(String.java:2403)
org.ofbiz.webapp.control.ConfigXMLReader.injectControllerIfNeeded(ConfigXMLReader.java:81)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:133)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.loadIncludes(ConfigXMLReader.java:351)
org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.(ConfigXMLReader.java:170)
org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:132)
org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.getDefaultErrorPage(RequestHandler.java:647)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:239)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:270)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.

i want to avoid this error. please help me

Opentaps service provider erp crm   Site designed by IntegratingWeb with Drupal
© Open Source Strategies Inc.  Terms of Use