Hello Daniele,

Thank you so much for your response.

I’m using the latest version on the master branch.

I did everything you said and the mvn eclipse:eclipse 
-Pimporter,imagemosaic-jdbc,wcs2_0-eo,oseo worked successfully.

However, when I run GeoServer from Eclipse after this, I get the following 
errors and localhost8080 :

Jul 18, 2019 2:41:23 PM org.geoserver.web.Start main

SEVERE: GeoServer starting

18 Jul 14:41:24 WARN [webapp.WebAppContext] - Failed startup of context 
o.e.j.w.WebAppContext@31c7528f{GeoServer,/geoserver,file:///Users/hyoshida/Documents/geoserver_repo/src/web/app/src/main/webapp/,UNAVAILABLE}{src/main/webapp}

java.lang.SecurityException: sealing violation: package com.sun.media.jai.util 
is sealed

       at java.net.URLClassLoader.getAndVerifyPackage(URLClassLoader.java:400)

       at java.net.URLClassLoader.definePackageInternal(URLClassLoader.java:420)

       at java.net.URLClassLoader.defineClass(URLClassLoader.java:452)

       at java.net.URLClassLoader.access$100(URLClassLoader.java:74)

       at java.net.URLClassLoader$1.run(URLClassLoader.java:369)

       at java.net.URLClassLoader$1.run(URLClassLoader.java:363)

       at java.security.AccessController.doPrivileged(Native Method)

       at java.net.URLClassLoader.findClass(URLClassLoader.java:362)

       at 
org.eclipse.jetty.webapp.WebAppClassLoader.foundClass(WebAppClassLoader.java:670)

       at 
org.eclipse.jetty.webapp.WebAppClassLoader.loadAsResource(WebAppClassLoader.java:639)

       at 
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:545)

       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

       at 
org.geoserver.jai.ConcurrentOperationRegistry.initializeRegistry(ConcurrentOperationRegistry.java:42)

       at 
org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:131)

       at 
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:957)

       at 
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:553)

       at 
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:922)

       at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:365)

       at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)

       at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)

       at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)

       at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)

       at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)

       at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

       at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)

       at org.eclipse.jetty.server.Server.start(Server.java:418)

       at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)

       at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)

       at org.eclipse.jetty.server.Server.doStart(Server.java:382)

       at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

       at org.geoserver.web.Start.main(Start.java:126)

Jul 18, 2019 2:41:24 PM org.geoserver.web.Start main

SEVERE: GeoServer startup complete in 1.583s

18 Jul 14:41:59 WARN [server.HttpChannel] - /geoserver/

java.lang.NullPointerException

       at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)

       at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)

       at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)

       at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)

       at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)

       at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)

       at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)

       at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)

       at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)

       at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)

       at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

       at org.eclipse.jetty.server.Server.handle(Server.java:505)

       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)

       at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)

       at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)

       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)

       at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)

       at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)

       at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)

       at java.lang.Thread.run(Thread.java:748)


I am afraid I am just missing something silly but any suggestions?

Thank you,
Hiyori

From: Daniele Romagnoli <[email protected]>
Date: Thursday, July 18, 2019 at 3:34 AM
To: "Yoshida, Hiyori C. (GSFC-4740)[GSFC INTERNS]" <[email protected]>
Cc: "[email protected]" 
<[email protected]>, 
"[email protected]" <[email protected]>
Subject: [EXTERNAL] Re: [Geoserver-users] Error Running GeoServer with 
Extensions with Maven Profiles

Hi Hiyori,
which Geoserver version are you referring to?

I have just run this command on master and it worked with no issues:
mvn eclipse:eclipse -Pimporter,imagemosaic-jdbc,wcs2_0-eo,oseo

A few things you might double check on your command:
- you must run it from the /path/to/geoserver/src/ directory
- don't use whitespaces while listing the profiles, so: 
-Pimporter,imagemosaic-jdbc,wcs2_0-eo,oseo

Please, let us know.
Best Regards,
Daniele



On Wed, Jul 17, 2019 at 10:33 PM Yoshida, Hiyori C. (GSFC-4740)[GSFC INTERNS] 
via Geoserver-users 
<[email protected]<mailto:[email protected]>>
 wrote:
Hello!

I am following this GeoServer guide 
(https://docs.geoserver.org/latest/en/developer/quickstart/eclipse.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.geoserver.org_latest_en_developer_quickstart_eclipse.html&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=OepjSZcJ6lFvOiWLoUXnaP2_szIc0XvLBv1mV6b5XiA&e=>)
 to try to use the Maven Eclipse Plugin to work with a GeoServer development 
environment. I want to run GeoServer with the following extensions: importer, 
imagemosaic-jdbc, wcs2_0-eo, oseo. I found these maven profiles in 
src/web/app/pom.xml. However, when I try to re-generate the root eclipse 
profile with the appropriate maven profiles using the command in the guide (mvn 
eclipse:eclipse -P oseo), I get the following error:


[WARNING] The requested profile "oseo" could not be activated because it does 
not exist.


How can I fix this?

And to enable multiple extensions, would I do “mvn eclipse:eclipse -P importer, 
imagemosaic-jdbc, wcs2_0-eo, oseo”?

Any help would be appreciated!

Thanks,
Hiyori
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ianturton.com_talks_foss4g.html-23_&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=tASIZP-i6HFQqu570i3tRcP7vuwwNJilzZIOUisgu0M&e=>
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__geoserver.org_comm_userlist-2Dguidelines.html&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=zul2ZDIm2YfOHUuQYDkRHZE6C5VWhNavxA0ACqOD3eY&e=>

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_geoserver_geoserver_wiki_Successfully-2Drequesting-2Dand-2Dintegrating-2Dnew-2Dfeatures-2Dand-2Dimprovements-2Din-2DGeoServer&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=AQr_Px-Q2lMp8-XIHgLhOILsrHkhMR0mXv6TwWVhPWM&e=>


[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_geoserver-2Dusers&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=JLz-rgyOCY9WjXSobOvs9Hw7BucwdS2E2FYRECjC1-c&e=>


--
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit 
http://goo.gl/it488V<https://urldefense.proofpoint.com/v2/url?u=http-3A__goo.gl_it488V&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=9PaA8pfG8LkohnvCI9XvTg_AifqOZeYyKT6KkdP-NHM&e=>
 for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.geo-2Dsolutions.it&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=1zWFoODMI7o3oCXqc0mioprtsjgF_mhPTGvcXDLGytk&e=>
http://twitter.com/geosolutions_it<https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_geosolutions-5Fit&d=DwMFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=Yp7UGjNvYfDfobnE7iCMYksQXKX36noyoRzh97avFH0&m=STNStcT8qVamF0E1uoUb9wfAyfd58daa46KBZeGR5Rc&s=yQGzAwRGdvaHQ5uiK_x2A-3XNxXaanP_qnHST_k06II&e=>

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 “GDPR” - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail.
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  • [Geoserve... Yoshida, Hiyori C. (GSFC-4740)[GSFC INTERNS] via Geoserver-devel
    • Re: ... Daniele Romagnoli
      • ... Yoshida, Hiyori C. (GSFC-4740)[GSFC INTERNS] via Geoserver-devel
        • ... Jody Garnett
        • ... Andrea Aime

Reply via email to