Problem installing Sesame - "invalid server url"

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem installing Sesame - "invalid server url"

René Verheij
Hi,

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

Any suggestions?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

René Verheij
managed to free up 8080 and run tomcat on that port again, but that didn't change anything.

/var/log/tomcat6/catalina.out:

Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect
WARNING: java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol
java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol
   at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.10)
   at java.net.URL.openStream(libgcj.so.10)
   at org.openrdf.workbench.proxy.ServerValidator.canConnect(ServerValidator.java:121)
   at org.openrdf.workbench.proxy.ServerValidator.isValidServer(ServerValidator.java:76)
   at org.openrdf.workbench.proxy.WorkbenchGateway.changeServer(WorkbenchGateway.java:159)
   at org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:112)
   at org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:74)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)
   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:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(libgcj.so.10)
Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator checkServerPrefixes
WARNING: server URL null does not have a prefix file: http: https:
Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect




2013/2/19 René Verheij <[hidden email]>
Hi,

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

Any suggestions?


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

Visser, Dale

René:

 

1.       Which version of Sesame are you attempting to install?

2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

3.       Have a look at the logs for your openrdf-sesame instance (on my system that is under /usr/share/tomcat7/.aduna/openrdf-sesame/logs) to see if they provide a clue as to the reason for the internal server error response code. Your initial attempt to get the file permissions right is probably on the right track.

 

Best regards,

Dale Visser

 

From: René Verheij [mailto:[hidden email]]
Sent: Tuesday, February 19, 2013 10:50 AM
To: Sesame discussion list
Subject: Re: [Sesame] Problem installing Sesame - "invalid server url"
Importance: Low

 

managed to free up 8080 and run tomcat on that port again, but that didn't change anything.

 

/var/log/tomcat6/catalina.out:

 

Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

WARNING: java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

   at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.10)

   at java.net.URL.openStream(libgcj.so.10)

   at org.openrdf.workbench.proxy.ServerValidator.canConnect(ServerValidator.java:121)

   at org.openrdf.workbench.proxy.ServerValidator.isValidServer(ServerValidator.java:76)

   at org.openrdf.workbench.proxy.WorkbenchGateway.changeServer(WorkbenchGateway.java:159)

   at org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:112)

   at org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:74)

   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

   at org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

   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:233)

   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

   at java.lang.Thread.run(libgcj.so.10)

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator checkServerPrefixes

WARNING: server URL null does not have a prefix file: http: https:

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

 

 

 

 

2013/2/19 René Verheij <[hidden email]>

Hi,

 

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

 

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

 

Any suggestions?

 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

Peter Ansell-2
In reply to this post by René Verheij
On 20 February 2013 01:49, René Verheij <[hidden email]> wrote:

> managed to free up 8080 and run tomcat on that port again, but that didn't
> change anything.
>
> /var/log/tomcat6/catalina.out:
>
> Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator
> canConnect
> WARNING: java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol
> java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol

If that URL is trying to get back to the same server, does your server
know how to get back to itself using its DNS name (as compared to
using localhost)?

Can you do a curl or wget to that URL from a terminal session on that server?

Cheers,

Peter

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

René Verheij
In reply to this post by Visser, Dale
Hi Dale, 

tnx for your response.

1) version: 2.7.0-beta2
2) I have no idea about this. Should I try switching to OpenJDK?
3) the only folder that exists in /usr/share/tomcat6/.aduna is /usr/share/tomcat6/.aduna/openrdf-workbench/conf with one file called proxy.properties.default (containing proxies.enabled=false). Can't seem to find any sesame logfiles anywhere else, just the catelina.out which I already printed.

Any other tips?


2013/2/19 Visser, Dale <[hidden email]>

René:

 

1.       Which version of Sesame are you attempting to install?

2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

3.       Have a look at the logs for your openrdf-sesame instance (on my system that is under /usr/share/tomcat7/.aduna/openrdf-sesame/logs) to see if they provide a clue as to the reason for the internal server error response code. Your initial attempt to get the file permissions right is probably on the right track.

 

Best regards,

Dale Visser

 

From: René Verheij [mailto:[hidden email]]
Sent: Tuesday, February 19, 2013 10:50 AM
To: Sesame discussion list
Subject: Re: [Sesame] Problem installing Sesame - "invalid server url"
Importance: Low

 

managed to free up 8080 and run tomcat on that port again, but that didn't change anything.

 

/var/log/tomcat6/catalina.out:

 

Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

WARNING: java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

   at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.10)

   at java.net.URL.openStream(libgcj.so.10)

   at org.openrdf.workbench.proxy.ServerValidator.canConnect(ServerValidator.java:121)

   at org.openrdf.workbench.proxy.ServerValidator.isValidServer(ServerValidator.java:76)

   at org.openrdf.workbench.proxy.WorkbenchGateway.changeServer(WorkbenchGateway.java:159)

   at org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:112)

   at org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:74)

   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

   at org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

   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:233)

   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

   at java.lang.Thread.run(libgcj.so.10)

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator checkServerPrefixes

WARNING: server URL null does not have a prefix file: http: https:

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

 

 

 

 

2013/2/19 René Verheij <[hidden email]>

Hi,

 

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

 

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

 

Any suggestions?

 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

René Verheij
In reply to this post by Peter Ansell-2
yes wget to one of those URL's works, so the DNS name is resolving. 

2013/2/19 Peter Ansell <[hidden email]>
On 20 February 2013 01:49, René Verheij <[hidden email]> wrote:
> managed to free up 8080 and run tomcat on that port again, but that didn't
> change anything.
>
> /var/log/tomcat6/catalina.out:
>
> Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator
> canConnect
> WARNING: java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol
> java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol

If that URL is trying to get back to the same server, does your server
know how to get back to itself using its DNS name (as compared to
using localhost)?

Can you do a curl or wget to that URL from a terminal session on that server?

Cheers,

Peter

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

René Verheij
In reply to this post by Peter Ansell-2
Actually Peter,

doing wget for that URL appearing in the error log returns this:

Resolving autoenanders.nl... 46.182.223.26
Connecting to autoenanders.nl|46.182.223.26|:8080... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2013-02-20 19:16:28 ERROR 500: Internal Server Error.

But the domain does resolve, and wget http://autoenanders.nl:8080/openrdf-workbench is working just fine

Cheers,
René


2013/2/19 Peter Ansell <[hidden email]>
On 20 February 2013 01:49, René Verheij <[hidden email]> wrote:
> managed to free up 8080 and run tomcat on that port again, but that didn't
> change anything.
>
> /var/log/tomcat6/catalina.out:
>
> Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator
> canConnect
> WARNING: java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol
> java.io.IOException: Server returned HTTP response code 500 for URL
> http://autoenanders.nl:8080/openrdf-sesame//protocol

If that URL is trying to get back to the same server, does your server
know how to get back to itself using its DNS name (as compared to
using localhost)?

Can you do a curl or wget to that URL from a terminal session on that server?

Cheers,

Peter

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

René Verheij
In reply to this post by René Verheij
2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

This was it! I installed openJDK and restarted tomcat and now it's working.

Tnx for the help!

For anyone reading this later on:

java -version
Showed ....gij (GNU libgcj) version 4.4.6....
Then:
yum search java | grep 'java-'
yum install java-1.7.0-openjdk.x86_64
service tomcat6 restart

And the problem was resolved.



2013/2/20 René Verheij <[hidden email]>
Hi Dale, 

tnx for your response.

1) version: 2.7.0-beta2
2) I have no idea about this. Should I try switching to OpenJDK?
3) the only folder that exists in /usr/share/tomcat6/.aduna is /usr/share/tomcat6/.aduna/openrdf-workbench/conf with one file called proxy.properties.default (containing proxies.enabled=false). Can't seem to find any sesame logfiles anywhere else, just the catelina.out which I already printed.

Any other tips?


2013/2/19 Visser, Dale <[hidden email]>

René:

 

1.       Which version of Sesame are you attempting to install?

2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

3.       Have a look at the logs for your openrdf-sesame instance (on my system that is under /usr/share/tomcat7/.aduna/openrdf-sesame/logs) to see if they provide a clue as to the reason for the internal server error response code. Your initial attempt to get the file permissions right is probably on the right track.

 

Best regards,

Dale Visser

 

From: René Verheij [mailto:[hidden email]]
Sent: Tuesday, February 19, 2013 10:50 AM
To: Sesame discussion list
Subject: Re: [Sesame] Problem installing Sesame - "invalid server url"
Importance: Low

 

managed to free up 8080 and run tomcat on that port again, but that didn't change anything.

 

/var/log/tomcat6/catalina.out:

 

Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

WARNING: java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

   at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.10)

   at java.net.URL.openStream(libgcj.so.10)

   at org.openrdf.workbench.proxy.ServerValidator.canConnect(ServerValidator.java:121)

   at org.openrdf.workbench.proxy.ServerValidator.isValidServer(ServerValidator.java:76)

   at org.openrdf.workbench.proxy.WorkbenchGateway.changeServer(WorkbenchGateway.java:159)

   at org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:112)

   at org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:74)

   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

   at org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

   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:233)

   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

   at java.lang.Thread.run(libgcj.so.10)

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator checkServerPrefixes

WARNING: server URL null does not have a prefix file: http: https:

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

 

 

 

 

2013/2/19 René Verheij <[hidden email]>

Hi,

 

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

 

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

 

Any suggestions?

 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

Visser, Dale

René:

 

I’m glad that worked. We may want to include a note in the installation instructions that Java configurations using GCJ could be problematic.

 

Best regards,

Dale

From: René Verheij [mailto:[hidden email]]
Sent: Wednesday, February 20, 2013 12:00 PM
To: Sesame discussion list
Subject: Re: [Sesame] Problem installing Sesame - "invalid server url"
Importance: Low

 

2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

 

This was it! I installed openJDK and restarted tomcat and now it's working.

 

Tnx for the help!

 

For anyone reading this later on:

 

java -version

Showed ....gij (GNU libgcj) version 4.4.6....
Then:
yum search java | grep 'java-'

yum install java-1.7.0-openjdk.x86_64

service tomcat6 restart

 

And the problem was resolved.

 

 

2013/2/20 René Verheij <[hidden email]>

Hi Dale, 

 

tnx for your response.

 

1) version: 2.7.0-beta2

2) I have no idea about this. Should I try switching to OpenJDK?

3) the only folder that exists in /usr/share/tomcat6/.aduna is /usr/share/tomcat6/.aduna/openrdf-workbench/conf with one file called proxy.properties.default (containing proxies.enabled=false). Can't seem to find any sesame logfiles anywhere else, just the catelina.out which I already printed.

 

Any other tips?

 

 

2013/2/19 Visser, Dale <[hidden email]>

René:

 

1.       Which version of Sesame are you attempting to install?

2.       I notice in your call stack that your setup includes GCJ libraries. I don’t know if that is a possible source of problems or not. I’ve always run on OpenJDK.

3.       Have a look at the logs for your openrdf-sesame instance (on my system that is under /usr/share/tomcat7/.aduna/openrdf-sesame/logs) to see if they provide a clue as to the reason for the internal server error response code. Your initial attempt to get the file permissions right is probably on the right track.

 

Best regards,

Dale Visser

 

From: René Verheij [mailto:[hidden email]]
Sent: Tuesday, February 19, 2013 10:50 AM
To: Sesame discussion list
Subject: Re: [Sesame] Problem installing Sesame - "invalid server url"
Importance: Low

 

managed to free up 8080 and run tomcat on that port again, but that didn't change anything.

 

/var/log/tomcat6/catalina.out:

 

Feb 19, 2013 6:33:00 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

WARNING: java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

java.io.IOException: Server returned HTTP response code 500 for URL http://autoenanders.nl:8080/openrdf-sesame//protocol

   at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.10)

   at java.net.URL.openStream(libgcj.so.10)

   at org.openrdf.workbench.proxy.ServerValidator.canConnect(ServerValidator.java:121)

   at org.openrdf.workbench.proxy.ServerValidator.isValidServer(ServerValidator.java:76)

   at org.openrdf.workbench.proxy.WorkbenchGateway.changeServer(WorkbenchGateway.java:159)

   at org.openrdf.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:112)

   at org.openrdf.workbench.base.BaseServlet.service(BaseServlet.java:74)

   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

   at org.openrdf.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:63)

   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:233)

   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

   at java.lang.Thread.run(libgcj.so.10)

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator checkServerPrefixes

WARNING: server URL null does not have a prefix file: http: https:

Feb 19, 2013 6:34:25 p.m. org.openrdf.workbench.proxy.ServerValidator canConnect

 

 

 

 

2013/2/19 René Verheij <[hidden email]>

Hi,

 

I'm installing Sesame on CentOs 6. So far so good. tomcat is installed, I had to change the port, but going to http://mywebsite:8181/openrdf-workbench/ directs me to http://mywebsite:8181/openrdf-workbench/repositories/NONE/server which asks me to fill something into 'change server' ... Whatever I fill in there, I get an error message "Invalid server URL". 

 

http://mywebsite:8181/openrdf-sesame/ redirects to http://mywebsite:8181/openrdf-sesame/overview.view gives an HTTP Status 500 error, which seems to have been described here .

 

I was in the exact same situation last week on another server, and then the proposed solution " mkdir -p /usr/share/tomcat6/.aduna" and chowning it to tomcat:tomcat worked for me, but not this time ...

 

Any suggestions?

 

 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general

 

 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

apo117a
This post has NOT been accepted by the mailing list yet.
In reply to this post by René Verheij
Hi René I am getting the same issue but in windows 7. I try changing the jdk to jdk1.7.0_40. But I didn´t get any positive result.

If someone can help me.. I'll appreciate it.  Thanks..!
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

apo117a
In reply to this post by René Verheij
Hi René and all...
I am getting the same issue but in windows 7. I try changing the jdk to jdk1.7.0_40. But I didn´t get any positive result. 


If someone can help me.. I'll appreciate it.  Thanks..!


Andrea

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

apo117a
Server Error
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

Peter Ansell-2
What happens when you try to browse to that URL in an internet browser?

Peter

On 4 October 2013 11:56, apo117a <[hidden email]> wrote:

> <http://sesame-general.435816.n3.nabble.com/file/n4026364/sesame_server_error.jpg>
>
>
>
> --
> View this message in context: http://sesame-general.435816.n3.nabble.com/Problem-installing-Sesame-invalid-server-url-tp4025796p4026364.html
> Sent from the sesame-general mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Sesame-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/sesame-general

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

apo117a
I paste on the browser http://localhost:8081/openrdf-sesame/system/logging/overview.view, and it works perfect. I can see the log entries...
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

Jeen Broekstra
On 5/10/13 2:38 AM, apo117a wrote:
> I paste on the browser
> http://localhost:8081/openrdf-sesame/system/logging/overview.view, and it
> works perfect. I can see the log entries...

It's not clear to me what exactly the problem is. You see a log warning
message when starting up Sesame, which is admittedly a bit odd, but is
there anything that is actually not working?

Jeen


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Sesame-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sesame-general
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Sesame - "invalid server url"

apo117a
It is solved. It was a problem with Tomcat server.. I had a version for 64 bits and it seems to have some bugs..!

Thanks for your help