Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Gigaspaces 12.1 and Jetty 9

Hi,

I'm following the instructions on updating Gigaspaces 12.1.1-17121 to use Jetty 9 as outlined here:

https://docs.gigaspaces.com/xap/10.2/...

but when i run gs-webui.bat, I get this error:

INFO::main: Logging initialized @1005ms Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/apache/jsp/JettyJasperInitializer at org.openspaces.launcher.JettyLauncher.jspInitializers(JettyLauncher.java:137) at org.openspaces.launcher.JettyLauncher.launch(JettyLauncher.java:87) at org.openspaces.launcher.Launcher.main(Launcher.java:113) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.apache.jsp.JettyJasperInitializer at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more

Has anyone seen this before? Thanks

asked 2017-08-18 08:18:00 -0600

r17 gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

Hi,

Can you please share the download link for jetty you used so we will test with same version and get back to you. does deploying your own web-pu works fine?

Thanks, Ester.

answered 2017-08-21 07:01:27 -0600

Ester gravatar image
edit flag offensive delete link more

Comments

Hi, Thanks for getting back. I tried 2 versions: Jetty 9.1.3.v20140225. and Jetty 9.3.7.v20160115 http://central.maven.org/maven2/org/e... I haven't deployed a web-pu

r17 gravatar imager17 ( 2017-08-22 02:07:34 -0600 )edit
0

Hi, Please put all jars that are under \jetty-distribution-9.3.7.v20160115\lib and from \jetty-distribution-9.3.7.v20160115\lib\apache-jsp directly in gs-home\lib\optional\jetty and retry.

Regards, Ester.

answered 2017-08-22 04:29:35 -0600

Ester gravatar image
edit flag offensive delete link more

Comments

Hi, I'm still getting the same error Regards

r17 gravatar imager17 ( 2017-08-23 10:11:10 -0600 )edit
0

Hi, There were some structural changes moving to 12.1 version So you should follow instructions at:https://docs.gigaspaces.com/xap/12.1/dev-java/web-jetty-processing-unit-container.html You can also have a look at :gs-home\tools\gs-webui at the gs-webui script and verify that JETTY_JARS variable indeed points to the right place where you put the jetty 9 jars.

Regards, Ester.

answered 2017-08-20 05:20:22 -0600

Ester gravatar image
edit flag offensive delete link more

Comments

Hi,

The JETTY_JARS variable points to the right place. I included the wrong link in my question, I was following the instructions in the link in your answer. I'm still getting the same error.

Regards

r17 gravatar imager17 ( 2017-08-21 02:39:19 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-08-17 05:04:42 -0600

Seen: 253 times

Last updated: Aug 22