Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Having issues with Kepler SR1 and Gemini Web
Having issues with Kepler SR1 and Gemini Web [message #1133420] Fri, 11 October 2013 21:18 Go to next message
Nirav Sheth is currently offline Nirav ShethFriend
Messages: 2
Registered: October 2013
Junior Member
I am trying to use Gemini Web from inside of Eclipse Kepler SR1.

I have created the OSGi Framework Configuration and it seems like if I add the org.eclipse.gemini.tomcat creates issues where the osgi console doesn't even come up.

If I take it away then I get the console and here are all the bundles that I have included.
osgi> ss
"Framework is launched."


id State Bundle
0 ACTIVE org.eclipse.osgi_3.9.1.v20130814-1242
1 ACTIVE javax.annotation_1.1.0.v201209060031
2 ACTIVE javax.mail_1.4.0.v201005080615
3 ACTIVE org.eclipse.virgo.util.parser.manifest_3.6.0.RELEASE
4 ACTIVE org.eclipse.virgo.util.osgi_3.6.0.RELEASE
5 RESOLVED org.apache.catalina.ha_7.0.35.v201302131607
Master=25
6 ACTIVE org.eclipse.virgo.util.osgi.manifest_3.6.0.RELEASE
7 ACTIVE org.eclipse.equinox.app_1.3.100.v20130327-1442
8 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
9 ACTIVE org.eclipse.core.filesystem_1.4.0.v20130514-1240
10 ACTIVE org.eclipse.core.commands_3.6.100.v20130515-1857
11 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
12 ACTIVE org.eclipse.core.jobs_3.5.300.v20130429-1813
13 ACTIVE org.apache.el_7.0.35.v201302120746
14 ACTIVE javax.ejb_3.1.1.v201204261316
15 ACTIVE org.eclipse.core.contenttype_3.4.200.v20130326-1255
16 ACTIVE com.ibm.icu_50.1.1.v201304230130
17 ACTIVE javax.transaction_1.1.0.v201205091237
18 ACTIVE javax.el_2.2.0.v201303151357
19 ACTIVE javax.xml.soap_1.3.0.v201105210645
20 ACTIVE org.eclipse.gemini.web.extender_2.2.2.RELEASE
21 ACTIVE javax.servlet.jsp_2.2.0.v201112011158
22 ACTIVE org.apache.juli.extras_7.0.35.v201302120746
23 RESOLVED org.apache.jasper_7.0.35.v201302161127
Master=25
24 ACTIVE org.eclipse.jdt.core_3.9.1.v20130905-0837
25 ACTIVE org.apache.catalina_7.0.35.v201302131125
Fragments=5, 23, 35, 42, 44
26 ACTIVE javax.servlet_3.0.0.v201112011016
27 ACTIVE org.eclipse.core.resources_3.8.101.v20130717-0806
28 ACTIVE com.springsource.javax.activation_1.1.1
29 ACTIVE javax.xml.rpc_1.1.0.v201209140446
30 ACTIVE org.slf4j.api_1.7.2.v20121108-1250
Fragments=45
31 ACTIVE org.eclipse.equinox.common_3.6.200.v20130402-1505
32 ACTIVE org.eclipse.core.runtime_3.9.0.v20130326-1255
33 ACTIVE org.eclipse.text_3.5.300.v20130515-1451
34 ACTIVE org.eclipse.virgo.util.common_3.6.0.RELEASE
35 RESOLVED org.apache.coyote_7.0.35.v201302140645
Master=25
36 ACTIVE org.eclipse.virgo.util.io_3.6.0.RELEASE
37 ACTIVE org.eclipse.gemini.web.core_2.2.2.RELEASE
38 ACTIVE org.apache.tomcat.api_7.0.35.v201302120746
39 ACTIVE org.eclipse.equinox.console_1.0.100.v20130429-0953
40 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
41 ACTIVE org.eclipse.virgo.util.math_3.6.0.RELEASE
42 RESOLVED org.apache.tomcat.util_7.0.35.v201302140645
Master=25
43 ACTIVE javax.xml_1.3.4.v201005080400
44 RESOLVED org.apache.catalina.tribes_7.0.35.v201302140645
Master=25
45 RESOLVED org.slf4j.nop_1.7.2.v201212060727
Master=30
46 ACTIVE javax.xml.soap_1.2.0.v201005080501
47 ACTIVE javax.persistence_2.0.4.v201112161009
48 ACTIVE org.eclipse.osgi.services_3.3.100.v20130513-1956
49 ACTIVE org.eclipse.equinox.registry_3.5.301.v20130717-1549
50 ACTIVE org.eclipse.equinox.preferences_3.5.100.v20130422-1538
51 ACTIVE org.eclipse.core.expressions_3.4.500.v20130515-1343
osgi>

Any clue what I am missing. If I use this same configuration in Eclipse Juno (3.8.2) then everything works.
Re: Having issues with Kepler SR1 and Gemini Web [message #1137287 is a reply to message #1133420] Mon, 14 October 2013 11:37 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Hi,

That's very strange. I do not have any problems.

My custom target platform is:
http://download.eclipse.org/releases/kepler/ - "Equinox Core Function" feature
http://download.eclipse.org/gemini/updates/web/2.2.2

osgi> Oct 14, 2013 2:32:17 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ...
Oct 14, 2013 2:32:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 2:32:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 14, 2013 2:32:19 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 14, 2013 2:32:19 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Oct 14, 2013 2:32:19 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 2:32:19 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
ss
"Framework is launched."


id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.9.1.v20130814-1242
1	ACTIVE      org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119
2	ACTIVE      com.springsource.javax.activation_1.1.1
3	ACTIVE      javax.annotation_1.1.0.v201108011116
4	ACTIVE      javax.ejb_3.1.1.v201204261316
5	ACTIVE      javax.el_2.2.0.v201108011116
6	ACTIVE      javax.mail_1.4.0.v201005080615
7	ACTIVE      javax.persistence_2.0.4.v201112161009
8	ACTIVE      javax.servlet_3.0.0.v201103241009
9	ACTIVE      javax.servlet.jsp_2.2.0.v201112011158
10	ACTIVE      javax.transaction_1.1.0.v201205091237
11	ACTIVE      javax.xml.rpc_1.1.0.v201005080400
12	ACTIVE      javax.xml.soap_1.3.0.v201105210645
13	ACTIVE      org.apache.catalina_7.0.35.v201302131125
	            Fragments=14, 15, 16, 21, 24
14	RESOLVED    org.apache.catalina.ha_7.0.35.v201302131607
	            Master=13
15	RESOLVED    org.apache.catalina.tribes_7.0.35.v201302140645
	            Master=13
16	RESOLVED    org.apache.coyote_7.0.35.v201302140645
	            Master=13
17	ACTIVE      org.apache.el_7.0.35.v201302120746
18	ACTIVE      org.apache.felix.gogo.command_0.10.0.v201209301215
19	ACTIVE      org.apache.felix.gogo.runtime_0.10.0.v201209301036
20	ACTIVE      org.apache.felix.gogo.shell_0.10.0.v201212101605
21	RESOLVED    org.apache.jasper_7.0.35.v201302161127
	            Master=13
22	ACTIVE      org.apache.juli.extras_7.0.35.v201302120746
23	ACTIVE      org.apache.tomcat.api_7.0.35.v201302120746
24	RESOLVED    org.apache.tomcat.util_7.0.35.v201302140645
	            Master=13
25	ACTIVE      org.eclipse.core.jobs_3.5.300.v20130429-1813
26	ACTIVE      org.eclipse.equinox.app_1.3.100.v20130327-1442
27	ACTIVE      org.eclipse.equinox.common_3.6.200.v20130402-1505
28	ACTIVE      org.eclipse.equinox.console_1.0.100.v20130429-0953
29	ACTIVE      org.eclipse.equinox.ds_1.4.101.v20130813-1853
30	ACTIVE      org.eclipse.equinox.registry_3.5.301.v20130717-1549
31	ACTIVE      org.eclipse.equinox.util_1.0.500.v20130404-1337
32	ACTIVE      org.eclipse.gemini.web.core_2.2.2.RELEASE
33	ACTIVE      org.eclipse.gemini.web.extender_2.2.2.RELEASE
34	ACTIVE      org.eclipse.gemini.web.tomcat_2.2.2.RELEASE
35	ACTIVE      org.eclipse.jdt.core.compiler.batch_3.8.0.I20120518-2145
36	ACTIVE      org.eclipse.osgi.services_3.3.100.v20130513-1956
37	ACTIVE      org.eclipse.virgo.util.common_3.6.0.RELEASE
38	ACTIVE      org.eclipse.virgo.util.io_3.6.0.RELEASE
39	ACTIVE      org.eclipse.virgo.util.math_3.6.0.RELEASE
40	ACTIVE      org.eclipse.virgo.util.osgi_3.6.0.RELEASE
41	ACTIVE      org.eclipse.virgo.util.osgi.manifest_3.6.0.RELEASE
42	ACTIVE      org.eclipse.virgo.util.parser.manifest_3.6.0.RELEASE
43	ACTIVE      org.slf4j.api_1.7.2.v20121108-1250
	            Fragments=44
44	RESOLVED    org.slf4j.nop_1.7.2.v201212060727
	            Master=43
osgi>


Can you post here what your exact problems are?

Regards
Violeta
Re: Having issues with Kepler SR1 and Gemini Web [message #1137565 is a reply to message #1133420] Mon, 14 October 2013 15:32 Go to previous messageGo to next message
Nirav Sheth is currently offline Nirav ShethFriend
Messages: 2
Registered: October 2013
Junior Member
HI Violeta,
Here is what happens when I include the same bundles as you. The only extra bundle is javax.xml I can't get mine to work without it as that is a dependency for org.eclipse.equinox.registry. If you see below org.eclipse.osgi and org.eclipse.gemini.web.tomcat are stuck in STARTING state and it never starts even after 2 hours. If I "close" the framework down then it seems like org.eclipse.gemini.web.tomcat starts which logs the some things to the console.

I am not sure what I am I doing wrong, could it be the start level of the bundles causing this issue.

osgi> Oct 14, 2013 11:27:31 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
ss
"Framework is shutdown."


id	State       Bundle
0	STARTING    org.eclipse.osgi_3.9.1.v20130814-1242
1	ACTIVE      org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119
2	ACTIVE      com.springsource.javax.activation_1.1.1
3	ACTIVE      javax.annotation_1.1.0.v201209060031
4	ACTIVE      javax.ejb_3.1.1.v201204261316
5	ACTIVE      javax.el_2.2.0.v201303151357
6	ACTIVE      javax.mail_1.4.0.v201005080615
7	ACTIVE      javax.persistence_2.0.4.v201112161009
8	ACTIVE      javax.servlet_3.0.0.v201112011016
9	ACTIVE      javax.servlet.jsp_2.2.0.v201112011158
10	ACTIVE      javax.transaction_1.1.0.v201205091237
11	ACTIVE      javax.xml_1.3.4.v201005080400
12	ACTIVE      javax.xml.rpc_1.1.0.v201209140446
13	ACTIVE      javax.xml.soap_1.3.0.v201105210645
14	ACTIVE      org.apache.catalina_7.0.35.v201302131125
	            Fragments=15, 16, 17, 22, 25
15	RESOLVED    org.apache.catalina.ha_7.0.35.v201302131607
	            Master=14
16	RESOLVED    org.apache.catalina.tribes_7.0.35.v201302140645
	            Master=14
17	RESOLVED    org.apache.coyote_7.0.35.v201302140645
	            Master=14
18	ACTIVE      org.apache.el_7.0.35.v201302120746
19	ACTIVE      org.apache.felix.gogo.command_0.10.0.v201209301215
20	ACTIVE      org.apache.felix.gogo.runtime_0.10.0.v201209301036
21	ACTIVE      org.apache.felix.gogo.shell_0.10.0.v201212101605
22	RESOLVED    org.apache.jasper_7.0.35.v201302161127
	            Master=14
23	ACTIVE      org.apache.juli.extras_7.0.35.v201302120746
24	ACTIVE      org.apache.tomcat.api_7.0.35.v201302120746
25	RESOLVED    org.apache.tomcat.util_7.0.35.v201302140645
	            Master=14
26	ACTIVE      org.eclipse.core.jobs_3.5.300.v20130429-1813
27	ACTIVE      org.eclipse.equinox.app_1.3.100.v20130327-1442
28	ACTIVE      org.eclipse.equinox.common_3.6.200.v20130402-1505
29	ACTIVE      org.eclipse.equinox.console_1.0.100.v20130429-0953
30	ACTIVE      org.eclipse.equinox.ds_1.4.101.v20130813-1853
31	ACTIVE      org.eclipse.equinox.registry_3.5.301.v20130717-1549
32	ACTIVE      org.eclipse.equinox.util_1.0.500.v20130404-1337
33	ACTIVE      org.eclipse.gemini.web.core_2.2.2.RELEASE
34	ACTIVE      org.eclipse.gemini.web.extender_2.2.2.RELEASE
35	STARTING    org.eclipse.gemini.web.tomcat_2.2.2.RELEASE
36	RESOLVED    org.eclipse.jdt.core.compiler.batch_3.8.0.I20120518-2145
37	RESOLVED    org.eclipse.osgi.services_3.3.100.v20130513-1956
38	RESOLVED    org.eclipse.virgo.util.common_3.6.0.RELEASE
39	RESOLVED    org.eclipse.virgo.util.io_3.6.0.RELEASE
40	RESOLVED    org.eclipse.virgo.util.math_3.6.0.RELEASE
41	RESOLVED    org.eclipse.virgo.util.osgi_3.6.0.RELEASE
42	RESOLVED    org.eclipse.virgo.util.osgi.manifest_3.6.0.RELEASE
43	RESOLVED    org.eclipse.virgo.util.parser.manifest_3.6.0.RELEASE
44	RESOLVED    org.slf4j.api_1.7.2.v20121108-1250
	            Fragments=45
45	RESOLVED    org.slf4j.nop_1.7.2.v201212060727
	            Master=44
osgi> close
Really want to stop Equinox? (y/n; default=y)  y
osgi> 2013-10-14 11:28:37.494 java[18151:707] [Java CocoaComponent compatibility mode]: Enabled
2013-10-14 11:28:37.495 java[18151:707] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 14, 2013 11:28:37 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 14, 2013 11:28:37 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.35
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Oct 14, 2013 11:28:37 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Oct 14, 2013 11:28:37 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]

Re: Having issues with Kepler SR1 and Gemini Web [message #1137819 is a reply to message #1137565] Mon, 14 October 2013 19:16 Go to previous message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
If you do not include this javax.xml then what's the problem?

Basically javax.xml packages are provided by the system bundle and you do not need to provide them by yourself.
Previous Topic:Latest Gemini Mgmt complies with OSGi spec version 4.2 or 5.0 or ... ?
Next Topic:Namespace discovery problem inside a WAR bundle
Goto Forum:
  


Current Time: Thu Oct 10 07:55:29 GMT 2024

Powered by FUDForum. Page generated in 0.05125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top