Skip to main content

NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

38 replies [Last post]
Anonymous

Hi,

I'm doing some interop testing with Microsoft AD FS 2.0 using a message-security binding with SOAP 1.2. My test setup is this:

1) Microsoft AD FS 2.0 STS

2) .NET 3.5 SP1 client

3) Java Metro Web Service (Metro 2.01 on Glassfish 3)

My issue is this:

- Java metro service crashes with nullpointer exception when receiving a token

Binding setup:

- Message-based security

- WS-Trust 1.3 over SOAP 1.2

- SAML 1.1 token

- User Name authentication against the STS

- Symmetric keys

- Secure Conversation off

- Negotiate Service Credentials off

Detailed description:
I'm pretty sure on the .NET side as I know these bindings work with Metro, but the change from my previous test setups is that I'm running SOAP 1.2 instead of SOAP 1.1 (which I've previously tested). The Metro service has been programmatically set up to use Soap 1.2 via this attribute decoration:
@BindingType(value="http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/")

The web service is setup in the traditional .Net interop how-to-way (attachment 1).

I can successfully retrieve a token, but when submitting that token to the service I get the attached error (Attachment 2). It's not easy for me to get anything useful out of the error since it seems to run into some unchecked state and just fall on its behind. I suspect this might have something to do with SOAP 1.2, since that's the only thing deviating from previous tests I've done. Unfortunately I can't "go back" and use SOAP 1.1 since the AD FS 2.0 STS only supports SOAP 1.2.

I hope someone out there knows which switch I have to press or which lever I have to pull to get this to work! :)

Thanks,
Jesper Hvid

[att1.html]
[Attachment 1 (service setup).PNG]
[Attachment 2 (Glassfish v3 log).txt]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jesper Hvid

This was the issue:
http://forums.java.net/jive/thread.jspa;jsessionid=91BDF3A9E1EDA9B1241D5...

Although now I'm back with the null pointer and I'm not sure if it's because I can't properly disable secure conversation on the client.

Mvh.
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 22. juli 2010 15:01
To: users@metro.dev.java.net
Subject: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Alright,

So I went in and killed Secure Conversation on my client and resubmitted my message. Glassfish now tells me this:
SEVERE: WSS1913: Key used to decrypt EncryptedKey cannot be null
SEVERE: WSS1927: Error occured while decrypting EncryptedKey
SEVERE: WSITPVD0035: Error in Verifying Security in Inbound Message.

I've attached my service request as well. To me it sounds like a mixup of the service certificate on the service and the service certificate used on the client/sts, but as far as I can see the certificates are a-ok on STS, client and service.

Thanks,
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 21. juli 2010 06:42
To: users@metro.dev.java.net
Subject: Re: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Yes.

The NPE is thrown when the security policy for secure conversation protocol messages. We fixed this with latest build.

But the failure for your test is due to the in-consistent configuration.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478171

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

In attempt to properly disable secure conversation I've now gone with a custom binding set programmatically in WCF (I used configuration-based before). Glassfish now tells me this when I submit my token (attached). My service request is also attached. I can't fathom what is misconfigured. On both sides I use symmetric keys, saml 1.1 tokens and a keysize of 256.

Thanks,
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 22. juli 2010 16:09
To: users@metro.dev.java.net
Subject: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

This was the issue:
http://forums.java.net/jive/thread.jspa;jsessionid=91BDF3A9E1EDA9B1241D5...

Although now I'm back with the null pointer and I'm not sure if it's because I can't properly disable secure conversation on the client.

Mvh.
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 22. juli 2010 15:01
To: users@metro.dev.java.net
Subject: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Alright,

So I went in and killed Secure Conversation on my client and resubmitted my message. Glassfish now tells me this:
SEVERE: WSS1913: Key used to decrypt EncryptedKey cannot be null
SEVERE: WSS1927: Error occured while decrypting EncryptedKey
SEVERE: WSITPVD0035: Error in Verifying Security in Inbound Message.

I've attached my service request as well. To me it sounds like a mixup of the service certificate on the service and the service certificate used on the client/sts, but as far as I can see the certificates are a-ok on STS, client and service.

Thanks,
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 21. juli 2010 06:42
To: users@metro.dev.java.net
Subject: Re: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Yes.

The NPE is thrown when the security policy for secure conversation protocol messages. We fixed this with latest build.

But the failure for your test is due to the in-consistent configuration.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478171

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-log-6.txt]
[service request.xml]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

jdg6688
Offline
Joined: 2005-11-02
Points: 0

> In attempt to properly disable secure conversation
> I've now gone with a custom binding set
> programmatically in WCF (I used configuration-based
> before). Glassfish now tells me this when I submit my
> token (attached). My service request is also
> attached. I can't fathom what is misconfigured. On
> both sides I use symmetric keys, saml 1.1 tokens and
> a keysize of 256.
>
Well, there could be differences in details that cause the problem, e.g. encrypt Signature or not. Can you send out the service wsdl with policy so that we can check out if it matches with the request message (hence the client configuration) or not?
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 22. juli 2010 16:09
> To: users@metro.dev.java.net
> Subject: RE: RE: NullpointerException when submitting
> RSTR to Metro 2.01 service over SOAP 1.2
>
> This was the issue:
> http://forums.java.net/jive/thread.jspa;jsessionid=91B
> DF3A9E1EDA9B1241D532AC22D1B9A?messageID=387654񞩆
>
> Although now I'm back with the null pointer and I'm
> not sure if it's because I can't properly disable
> secure conversation on the client.
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 22. juli 2010 15:01
> To: users@metro.dev.java.net
> Subject: RE: RE: NullpointerException when submitting
> RSTR to Metro 2.01 service over SOAP 1.2
>
> Alright,
>
> So I went in and killed Secure Conversation on my
> client and resubmitted my message. Glassfish now
> tells me this:
> SEVERE: WSS1913: Key used to decrypt EncryptedKey
> cannot be null
> SEVERE: WSS1927: Error occured while decrypting
> EncryptedKey
> SEVERE: WSITPVD0035: Error in Verifying Security in
> Inbound Message.
>
> I've attached my service request as well. To me it
> sounds like a mixup of the service certificate on the
> service and the service certificate used on the
> client/sts, but as far as I can see the certificates
> are a-ok on STS, client and service.
>
> Thanks,
> Jesper Hvid
>
> -----Original Message-----
> From: metro@javadesktop.org
> [mailto:metro@javadesktop.org]
> Sent: 21. juli 2010 06:42
> To: users@metro.dev.java.net
> Subject: Re: RE: NullpointerException when submitting
> RSTR to Metro 2.01 service over SOAP 1.2
>
> Yes.
>
> The NPE is thrown when the security policy for secure
> conversation protocol messages. We fixed this with
> latest build.
>
> But the failure for your test is due to the
> in-consistent configuration.
> [Message sent by forum member 'jdg6688']
>
> http://forums.java.net/jive/thread.jspa?messageID=4781
> 71
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail:
> users-help@metro.dev.java.net
>
> [glassfish-log-6.txt]
> [service request.xml]
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail:
> users-help@metro.dev.java.net

Jesper Hvid

You bet!

Service WSDL attached.

Thanks,
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 22. juli 2010 20:51
To: users@metro.dev.java.net
Subject: Re: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

> In attempt to properly disable secure conversation I've now gone with
> a custom binding set programmatically in WCF (I used
> configuration-based before). Glassfish now tells me this when I submit
> my token (attached). My service request is also attached. I can't
> fathom what is misconfigured. On both sides I use symmetric keys, saml
> 1.1 tokens and a keysize of 256.
>
Well, there could be differences in details that cause the problem, e.g. encrypt Signature or not. Can you send out the service wsdl with policy so that we can check out if it matches with the request message (hence the client configuration) or not?
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 22. juli 2010 16:09
> To: users@metro.dev.java.net
> Subject: RE: RE: NullpointerException when submitting RSTR to Metro
> 2.01 service over SOAP 1.2
>
> This was the issue:
> http://forums.java.net/jive/thread.jspa;jsessionid=91B
> DF3A9E1EDA9B1241D532AC22D1B9A?messageID=387654񞩆
>
> Although now I'm back with the null pointer and I'm not sure if it's
> because I can't properly disable secure conversation on the client.
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 22. juli 2010 15:01
> To: users@metro.dev.java.net
> Subject: RE: RE: NullpointerException when submitting RSTR to Metro
> 2.01 service over SOAP 1.2
>
> Alright,
>
> So I went in and killed Secure Conversation on my client and
> resubmitted my message. Glassfish now tells me this:
> SEVERE: WSS1913: Key used to decrypt EncryptedKey cannot be null
> SEVERE: WSS1927: Error occured while decrypting EncryptedKey
> SEVERE: WSITPVD0035: Error in Verifying Security in Inbound Message.
>
> I've attached my service request as well. To me it sounds like a mixup
> of the service certificate on the service and the service certificate
> used on the client/sts, but as far as I can see the certificates are
> a-ok on STS, client and service.
>
> Thanks,
> Jesper Hvid
>
> -----Original Message-----
> From: metro@javadesktop.org
> [mailto:metro@javadesktop.org]
> Sent: 21. juli 2010 06:42
> To: users@metro.dev.java.net
> Subject: Re: RE: NullpointerException when submitting RSTR to Metro
> 2.01 service over SOAP 1.2
>
> Yes.
>
> The NPE is thrown when the security policy for secure conversation
> protocol messages. We fixed this with latest build.
>
> But the failure for your test is due to the in-consistent
> configuration.
> [Message sent by forum member 'jdg6688']
>
> http://forums.java.net/jive/thread.jspa?messageID=4781
> 71
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail:
> users-help@metro.dev.java.net
>
> [glassfish-log-6.txt]
> [service request.xml]
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail:
> users-help@metro.dev.java.net
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478307

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[JavaSamplesService.xml]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

jdg6688
Offline
Joined: 2005-11-02
Points: 0

The service policy you configured is not what the client used.

Use the mechanism "STS Issued Endorsing Token' instead when you configure
your service with Netbeans. Also check Encrypt Signature in the Configure panel.

Jesper Hvid

Here's the result of doing these changes. It looks like it's the same error as before. I turned on FINEST logging on Glassfish in the hope that it sheds more light on the issue.

Thanks,
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 22. juli 2010 22:29
To: users@metro.dev.java.net
Subject: Re: RE: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

The service policy you configured is not what the client used.

Use the mechanism "STS Issued Endorsing Token' instead when you configure your service with Netbeans. Also check Encrypt Signature in the Configure panel.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478315

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-log-7.txt]
[service request (with changes).xml]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

jdg6688
Offline
Joined: 2005-11-02
Points: 0

Still the problem should be on the configuration and policy come up on the service.

Here is the steps you need to follow:

1. Choose "STS Issued Endorsing Token"
2. Open Configure:
2.1 Check "Require Derived Keys for X509 Token"
2.2 Check "Require Derived Keys for Issued Token"
2.3 Check "Encrypt Signature"
2.4 If enabled on the client side, check "Require Signature Confirmation"

Make sure the policy in the wsdl is like the one attached.

Jesper Hvid

Thanks for the reply. I'm an idiot and forgot my disk with VMs today, so I won't be able to test this until later tonight. Just to let you know that I appreciate the help and will test it out asap.

Mvh.
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 25. juli 2010 22:10
To: users@metro.dev.java.net
Subject: Re: RE: RE: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Still the problem should be on the configuration and policy come up on the service.

Here is the steps you need to follow:

1. Choose "STS Issued Endorsing Token"
2. Open Configure:
2.1 Check "Require Derived Keys for X509 Token"
2.2 Check "Require Derived Keys for Issued Token"
2.3 Check "Encrypt Signature"
2.4 If enabled on the client side, check "Require Signature Confirmation"

Make sure the policy in the wsdl is like the one attached.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478525

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

Hi,

I finally managed to get it working now.

I ticked the following on the service and left my client unchanged.
"Require Derived Keys for X509 Token" (what does this mean exactly?)
"Require Derived Keys for Issued Token" (what does this mean exactly?)
"Encrypt Signature"
"Require Signature Confirmation" (what does this mean exactly?)

On top of that I used Basic 256 encryption suite on the service as well. It was configured to use Basic 128, and my client was complaining about that.

Thanks for all your help once again.

Thanks,
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 26. juli 2010 12:24
To: users@metro.dev.java.net
Subject: RE: RE: RE: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Thanks for the reply. I'm an idiot and forgot my disk with VMs today, so I won't be able to test this until later tonight. Just to let you know that I appreciate the help and will test it out asap.

Mvh.
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 25. juli 2010 22:10
To: users@metro.dev.java.net
Subject: Re: RE: RE: RE: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Still the problem should be on the configuration and policy come up on the service.

Here is the steps you need to follow:

1. Choose "STS Issued Endorsing Token"
2. Open Configure:
2.1 Check "Require Derived Keys for X509 Token"
2.2 Check "Require Derived Keys for Issued Token"
2.3 Check "Encrypt Signature"
2.4 If enabled on the client side, check "Require Signature Confirmation"

Make sure the policy in the wsdl is like the one attached.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478525

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Fabian Ritzmann

On 19.7.2010 20:25, Jesper Hvid wrote:
> Hi again,
>
> So I did the following:
>
> 1) Uninstalled the glassfish version that came with netbeans (to clean
> things up)
>
> 2) Installed the newest stand-alone-3.01 version
>
> 3) Got glassfish up and running
>
> 4) Installed the Metro nightly build via the ant script

Note that step 4 only works if you installed a version of GlassFish in
step 3 that already includes the web services support.

> 5) Put the webservices-api-osgi.jar and jaxb-api-osgi.jar to
> JDK/jre/lib/endorsed in these folders (had to create the endorsed folder
> both places, since it didn’t exist):
>
> - C:\Program Files\Java\jdk1.6.0_21\jre\lib\endorsed
>
> - C:\Program Files\Java\jre6\lib\endorsed

That can't hurt but is usually not necessary. GlassFish ignores the
JDK-wide endorsed directories.

You can also run the metro-on-glassfish-v3.xml script with the
install-api command to do that step for you.

> 6) Attempted to start Glassfish v3
>
> 7) Observed that it couldn’t start
>
> My glassfish startup log is attached.. still seems like a broken
> reference of some sort?

There have been recent changes in the HA area, which is where you are
getting an error. It could be that the nightly builds only run on
GlassFish 3.1. Marek can hopefully clarify.

Fabian

> *From:* Sreekanth [mailto:sreekanth.manga@gmail.com]
> *Sent:* 19. juli 2010 16:54
> *To:* users@metro.dev.java.net
> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> You can look under /osgi/ sub directory.
>
> Thanks,
> Sreekanth
>
> On Mon, Jul 19, 2010 at 8:11 PM, Jesper Hvid > > wrote:
>
> ns of web
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Fabian Ritzmann

Marek, see below, could there be an issue with HA code/dependencies in
the nightly build?

Fabian

On 19.7.2010 17:17, Jesper Hvid wrote:
> Hi,
>
> So I managed to my Glassfish server back up and running. What I did was:
>
> 1) Uninstall via the ant script
> 2) Install metro via update tool
> 3) Start Gf and verify my service responds
>
> After 3) I went ahead and ran the install script for the nightly build and I now get the attached error when starting GF. Seems like some broken dependency or something along those lines. Any ideas?
>
> WARNING: Exception while starting bundle com.sun.enterprise.osgi-adapter [61]
> org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [61].
> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [255] State [INSTALLED] [org.glassfish.webservices.connector(Connector for GlassFish Web Services Container):3.0.1]
> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
> at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
> at java.util.AbstractList$Itr.next(AbstractList.java:345)
> at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
> at java.util.ArrayList.addAll(ArrayList.java:472)
> at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:81)
> at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffer(SnifferManagerImpl.java:109)
> at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:346)
> at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185)
> at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
> at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
> at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 9 more
> Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.xml.ws [244]: package; (package=org.glassfish.ha.store.api)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)
> ... 36 more
>
> Thanks,
> Jesper Hvid
>
>
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 19. juli 2010 16:05
> To: users@metro.dev.java.net
> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
> Hi,
>
> Alright, so how do I restore my server to its original state? Do I uninstall via ant scripts and the reinstall via the update tool or??
>
> Thanks,
> Jesper Hvid
>
>
> -----Original Message-----
> From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM]
> Sent: 19. juli 2010 15:51
> To: users@metro.dev.java.net
> Cc: Jesper Hvid
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
> On 19.7.2010 15:51, Jesper Hvid wrote:
>>
>> I did actually try that (although I didn't mention it my mail, sorry!).
>> I uninstalled it via the updatetool for Glassfish v3
>
> That is not a good idea. That will remove the GlassFish specific web services code that is not part of Metro.
>
>> and then I ran the ANT script thing.
>
> Which will install the Metro pieces but not the GlassFish bits that are needed.
>
> The metro-on...v3.xml script is only meant to be run after an installation through the update center (or when you downloaded a version of GlassFish that already includes Metro).
>
> Also, I wouldn't use the uninstall command of the Ant script, it just tries to restore the previous state. When you run the Ant install, it will overwrite all relevant files.
>
> Fabian
>
>
>> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>> *Sent:* 19. juli 2010 14:50
>> *To:* users@metro.dev.java.net
>> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
>> service over SOAP 1.2
>>
>> Hi
>> In my earlier reply, i said, first you have to uninstall the existing
>> metro and reinstall the latest version :)
>>
>>
>> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>>
>> I'm back!
>>
>>
>>
>> I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.
>>
>>
>>
>> I've not touched anything since I ran this command:
>>
>> asadmin stop-domain
>>
>> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish"
>> -f"C:\Documents and
>> Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml"
>> install
>>
>> asadmin start-domain
>>
>>
>>
>> Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.
>>
>>
>>
>> Thanks,
>>
>> Jesper Hvid
>>
>>
>>
>>
>>
>> -----Original Message-----
>>
>> From: Jesper Hvid [mailto:jh@globeteam.com]
>>
>> Sent: 19. juli 2010 12:15
>>
>> To:users@metro.dev.java.net
>>
>> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01
>> service over SOAP 1.2
>>
>>
>>
>> Thanks, I'll read up on it and try it out!
>>
>>
>>
>> Mvh.
>>
>> Jesper Hvid
>>
>>
>>
>>
>>
>> -----Original Message-----
>>
>> From:Suresh.Mandalapu@Sun.COM
>> [mailto:Suresh.Mandalapu@Sun.COM]
>>
>> Sent: 19. juli 2010 12:10
>>
>> To:users@metro.dev.java.net
>>
>> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
>> service over SOAP 1.2
>>
>>
>>
>> please download the zip and there you will find some instructions
>> for installing metro on GF
>>
>>
>>
>> please go through read-me file
>>
>>
>>
>> you have to uninstall the existing metro and reinstall the latest
>> version
>>
>>
>>
>> otherwise, i think simply replace the jars.. that should work
>>
>>
>>
>> let me know if you fave any problems?
>>
>>
>>
>>
>>
>> thanks
>>
>> suresh
>>
>>
>>
>> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>>
>> I'll give it a try.
>>
>>
>>
>> I only have to update the version of Metro deployed on glassfish right?
>>
>>
>>
>> Forgive me if the above is an idiotic question, but I'm new to
>> this
>>
>> world :)
>>
>>
>>
>> Mvh.
>>
>> Jesper Hvid
>>
>>
>>
>>
>>
>> -----Original Message-----
>>
>> From:Suresh.Mandalapu@Sun.COM
>> [mailto:Suresh.Mandalapu@Sun.COM]
>>
>> Sent: 19. juli 2010 11:11
>>
>> To:users@metro.dev.java.net
>>
>> Subject: Re: NullpointerException when submitting RSTR to Metro
>> 2.01
>>
>> service over SOAP 1.2
>>
>>
>>
>> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
>>
>> Please try with tomorrow's nightly build of metro 2.1 :
>>
>>
>>
>> Here is the link for download :
>>
>>
>> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>>
>> &expandFolder=11914&folderID=7638
>>
>>
>>
>> Thanks
>>
>> Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Potociar Marek

Yes - the problem is most likely related to GF HA API dependency.
Since HA API is introduced only in GF 3.1 the current metro nightlies
cannot be installed on top of GF 3.0.x for now, until we resolve the
issue. There is however no quick fix solution at the moment I am afraid.

Marek

On 20.7.2010, at 11:41, Fabian Ritzmann wrote:

> Marek, see below, could there be an issue with HA code/dependencies
> in the nightly build?
>
> Fabian
>
>
> On 19.7.2010 17:17, Jesper Hvid wrote:
>> Hi,
>>
>> So I managed to my Glassfish server back up and running. What I did
>> was:
>>
>> 1) Uninstall via the ant script
>> 2) Install metro via update tool
>> 3) Start Gf and verify my service responds
>>
>> After 3) I went ahead and ran the install script for the nightly
>> build and I now get the attached error when starting GF. Seems like
>> some broken dependency or something along those lines. Any ideas?
>>
>> WARNING: Exception while starting bundle com.sun.enterprise.osgi-
>> adapter [61]
>> org.osgi.framework.BundleException: Activator start error in bundle
>> com.sun.enterprise.osgi-adapter [61].
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1622)
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 640)
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1622)
>> at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>> at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
>> 264)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: com.sun.enterprise.module.ResolveError: Failed to start
>> Bundle Id [255] State [INSTALLED]
>> [org.glassfish.webservices.connector(Connector for GlassFish Web
>> Services Container):3.0.1]
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 174)
>> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
>> $2$1$1.loadClass(OSGiModuleImpl.java:341)
>> at
>> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
>> at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
>> at java.util.AbstractList$Itr.next(AbstractList.java:345)
>> at
>> java.util.AbstractCollection.toArray(AbstractCollection.java:124)
>> at java.util.ArrayList.addAll(ArrayList.java:472)
>> at
>> com
>> .sun
>> .enterprise
>> .v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:81)
>> at
>> com
>> .sun
>> .enterprise
>> .v3.server.SnifferManagerImpl.getSniffer(SnifferManagerImpl.java:109)
>> at
>> com
>> .sun
>> .enterprise
>> .v3
>> .server
>> .ApplicationLoaderService
>> .processApplication(ApplicationLoaderService.java:346)
>> at
>> com
>> .sun
>> .enterprise
>> .v3
>> .server
>> .ApplicationLoaderService
>> .postConstruct(ApplicationLoaderService.java:185)
>> at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 174)
>> at com.sun.hk2.component.ConstructorWomb
>> $1.run(ConstructorWomb.java:87)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>> 84)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>> at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> at
>> com
>> .sun
>> .enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
>> at
>> com
>> .sun
>> .enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:
>> 128)
>> at
>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
>> at
>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
>> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 640)
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>> ... 9 more
>> Caused by: org.osgi.framework.BundleException: Unresolved
>> constraint in bundle com.sun.xml.ws [244]: package;
>> (package=org.glassfish.ha.store.api)
>> at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1597)
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 166)
>> ... 36 more
>>
>> Thanks,
>> Jesper Hvid
>>
>>
>> -----Original Message-----
>> From: Jesper Hvid [mailto:jh@globeteam.com]
>> Sent: 19. juli 2010 16:05
>> To: users@metro.dev.java.net
>> Subject: RE: NullpointerException when submitting RSTR to Metro
>> 2.01 service over SOAP 1.2
>>
>> Hi,
>>
>> Alright, so how do I restore my server to its original state? Do I
>> uninstall via ant scripts and the reinstall via the update tool or??
>>
>> Thanks,
>> Jesper Hvid
>>
>>
>> -----Original Message-----
>> From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM]
>> Sent: 19. juli 2010 15:51
>> To: users@metro.dev.java.net
>> Cc: Jesper Hvid
>> Subject: Re: NullpointerException when submitting RSTR to Metro
>> 2.01 service over SOAP 1.2
>>
>> On 19.7.2010 15:51, Jesper Hvid wrote:
>>>
>>> I did actually try that (although I didn't mention it my mail,
>>> sorry!).
>>> I uninstalled it via the updatetool for Glassfish v3
>>
>> That is not a good idea. That will remove the GlassFish specific
>> web services code that is not part of Metro.
>>
>>> and then I ran the ANT script thing.
>>
>> Which will install the Metro pieces but not the GlassFish bits that
>> are needed.
>>
>> The metro-on...v3.xml script is only meant to be run after an
>> installation through the update center (or when you downloaded a
>> version of GlassFish that already includes Metro).
>>
>> Also, I wouldn't use the uninstall command of the Ant script, it
>> just tries to restore the previous state. When you run the Ant
>> install, it will overwrite all relevant files.
>>
>> Fabian
>>
>>
>>> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>>> *Sent:* 19. juli 2010 14:50
>>> *To:* users@metro.dev.java.net
>>> *Subject:* Re: NullpointerException when submitting RSTR to Metro
>>> 2.01
>>> service over SOAP 1.2
>>>
>>> Hi
>>> In my earlier reply, i said, first you have to uninstall the
>>> existing
>>> metro and reinstall the latest version :)
>>>
>>>
>>> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>>>
>>> I'm back!
>>>
>>>
>>>
>>> I'm pretty sure the manual install using ant and the metro-on-
>>> glassfishv3.xml-file broke my Glassfish server. The startup log is
>>> attached and basically it just halts after all the errors it
>>> encounters during startup.
>>>
>>>
>>>
>>> I've not touched anything since I ran this command:
>>>
>>> asadmin stop-domain
>>>
>>> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish"
>>> -f"C:\Documents and
>>> Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml"
>>> install
>>>
>>> asadmin start-domain
>>>
>>>
>>>
>>> Is there some way to do a clean slate on my glassfish server? It
>>> doesn't seem healthy at the moment.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From: Jesper Hvid [mailto:jh@globeteam.com]
>>>
>>> Sent: 19. juli 2010 12:15
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> Thanks, I'll read up on it and try it out!
>>>
>>>
>>>
>>> Mvh.
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From:Suresh.Mandalapu@Sun.COM
>>> [mailto:Suresh.Mandalapu@Sun.COM]
>>>
>>> Sent: 19. juli 2010 12:10
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> please download the zip and there you will find some
>>> instructions
>>> for installing metro on GF
>>>
>>>
>>>
>>> please go through read-me file
>>>
>>>
>>>
>>> you have to uninstall the existing metro and reinstall the latest
>>> version
>>>
>>>
>>>
>>> otherwise, i think simply replace the jars.. that should work
>>>
>>>
>>>
>>> let me know if you fave any problems?
>>>
>>>
>>>
>>>
>>>
>>> thanks
>>>
>>> suresh
>>>
>>>
>>>
>>> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>>>
>>> I'll give it a try.
>>>
>>>
>>>
>>> I only have to update the version of Metro deployed on
>>> glassfish right?
>>>
>>>
>>>
>>> Forgive me if the above is an idiotic question, but I'm new to
>>> this
>>>
>>> world :)
>>>
>>>
>>>
>>> Mvh.
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From:Suresh.Mandalapu@Sun.COM
>>> [mailto:Suresh.Mandalapu@Sun.COM]
>>>
>>> Sent: 19. juli 2010 11:11
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: Re: NullpointerException when submitting RSTR to Metro
>>> 2.01
>>>
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> Can you please try with latest 2.1 nightly build of
>>> metro 2.1 and check whether this problem exists with 2.1 also?
>>>
>>> Please try with tomorrow's nightly build of metro 2.1 :
>>>
>>>
>>>
>>> Here is the link for download :
>>>
>>>
>>> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>>>
>>> &expandFolder=11914&folderID=7638
>>>
>>>
>>>
>>> Thanks
>>>
>>> Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

So what you're saying is that I need to run this on GF 3.1?

Where do I find that version? All I can seem to find is 3.01.

Mvh.
Jesper Hvid

-----Original Message-----
From: Marek.Potociar@Sun.COM [mailto:Marek.Potociar@Sun.COM]
Sent: 20. juli 2010 12:19
To: Fabian Ritzmann
Cc: users@metro.dev.java.net; Jesper Hvid
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Yes - the problem is most likely related to GF HA API dependency.
Since HA API is introduced only in GF 3.1 the current metro nightlies cannot be installed on top of GF 3.0.x for now, until we resolve the issue. There is however no quick fix solution at the moment I am afraid.

Marek

On 20.7.2010, at 11:41, Fabian Ritzmann wrote:

> Marek, see below, could there be an issue with HA code/dependencies in
> the nightly build?
>
> Fabian
>
>
> On 19.7.2010 17:17, Jesper Hvid wrote:
>> Hi,
>>
>> So I managed to my Glassfish server back up and running. What I did
>> was:
>>
>> 1) Uninstall via the ant script
>> 2) Install metro via update tool
>> 3) Start Gf and verify my service responds
>>
>> After 3) I went ahead and ran the install script for the nightly
>> build and I now get the attached error when starting GF. Seems like
>> some broken dependency or something along those lines. Any ideas?
>>
>> WARNING: Exception while starting bundle com.sun.enterprise.osgi-
>> adapter [61]
>> org.osgi.framework.BundleException: Activator start error in bundle
>> com.sun.enterprise.osgi-adapter [61].
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1622)
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 640)
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1622)
>> at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>> at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
>> 264)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: com.sun.enterprise.module.ResolveError: Failed to start
>> Bundle Id [255] State [INSTALLED]
>> [org.glassfish.webservices.connector(Connector for GlassFish Web
>> Services Container):3.0.1]
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 174)
>> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
>> $2$1$1.loadClass(OSGiModuleImpl.java:341)
>> at
>> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
>> at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
>> at java.util.AbstractList$Itr.next(AbstractList.java:345)
>> at
>> java.util.AbstractCollection.toArray(AbstractCollection.java:124)
>> at java.util.ArrayList.addAll(ArrayList.java:472)
>> at
>> com
>> .sun
>> .enterprise
>> .v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:81)
>> at
>> com
>> .sun
>> .enterprise
>> .v3.server.SnifferManagerImpl.getSniffer(SnifferManagerImpl.java:109)
>> at
>> com
>> .sun
>> .enterprise
>> .v3
>> .server
>> .ApplicationLoaderService
>> .processApplication(ApplicationLoaderService.java:346)
>> at
>> com
>> .sun
>> .enterprise
>> .v3
>> .server
>> .ApplicationLoaderService
>> .postConstruct(ApplicationLoaderService.java:185)
>> at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 174)
>> at com.sun.hk2.component.ConstructorWomb
>> $1.run(ConstructorWomb.java:87)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>> 84)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>> at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> at
>> com
>> .sun
>> .enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
>> at
>> com
>> .sun
>> .enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:
>> 128)
>> at
>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
>> at
>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
>> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 640)
>> at
>> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>> ... 9 more
>> Caused by: org.osgi.framework.BundleException: Unresolved constraint
>> in bundle com.sun.xml.ws [244]: package;
>> (package=org.glassfish.ha.store.api)
>> at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:
>> 1597)
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 166)
>> ... 36 more
>>
>> Thanks,
>> Jesper Hvid
>>
>>
>> -----Original Message-----
>> From: Jesper Hvid [mailto:jh@globeteam.com]
>> Sent: 19. juli 2010 16:05
>> To: users@metro.dev.java.net
>> Subject: RE: NullpointerException when submitting RSTR to Metro
>> 2.01 service over SOAP 1.2
>>
>> Hi,
>>
>> Alright, so how do I restore my server to its original state? Do I
>> uninstall via ant scripts and the reinstall via the update tool or??
>>
>> Thanks,
>> Jesper Hvid
>>
>>
>> -----Original Message-----
>> From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM]
>> Sent: 19. juli 2010 15:51
>> To: users@metro.dev.java.net
>> Cc: Jesper Hvid
>> Subject: Re: NullpointerException when submitting RSTR to Metro
>> 2.01 service over SOAP 1.2
>>
>> On 19.7.2010 15:51, Jesper Hvid wrote:
>>>
>>> I did actually try that (although I didn't mention it my mail,
>>> sorry!).
>>> I uninstalled it via the updatetool for Glassfish v3
>>
>> That is not a good idea. That will remove the GlassFish specific web
>> services code that is not part of Metro.
>>
>>> and then I ran the ANT script thing.
>>
>> Which will install the Metro pieces but not the GlassFish bits that
>> are needed.
>>
>> The metro-on...v3.xml script is only meant to be run after an
>> installation through the update center (or when you downloaded a
>> version of GlassFish that already includes Metro).
>>
>> Also, I wouldn't use the uninstall command of the Ant script, it just
>> tries to restore the previous state. When you run the Ant install, it
>> will overwrite all relevant files.
>>
>> Fabian
>>
>>
>>> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>>> *Sent:* 19. juli 2010 14:50
>>> *To:* users@metro.dev.java.net
>>> *Subject:* Re: NullpointerException when submitting RSTR to Metro
>>> 2.01
>>> service over SOAP 1.2
>>>
>>> Hi
>>> In my earlier reply, i said, first you have to uninstall the
>>> existing metro and reinstall the latest version :)
>>>
>>>
>>> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>>>
>>> I'm back!
>>>
>>>
>>>
>>> I'm pretty sure the manual install using ant and the metro-on-
>>> glassfishv3.xml-file broke my Glassfish server. The startup log is
>>> attached and basically it just halts after all the errors it
>>> encounters during startup.
>>>
>>>
>>>
>>> I've not touched anything since I ran this command:
>>>
>>> asadmin stop-domain
>>>
>>> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish"
>>> -f"C:\Documents and
>>> Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml"
>>> install
>>>
>>> asadmin start-domain
>>>
>>>
>>>
>>> Is there some way to do a clean slate on my glassfish server? It
>>> doesn't seem healthy at the moment.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From: Jesper Hvid [mailto:jh@globeteam.com]
>>>
>>> Sent: 19. juli 2010 12:15
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> Thanks, I'll read up on it and try it out!
>>>
>>>
>>>
>>> Mvh.
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From:Suresh.Mandalapu@Sun.COM
>>> [mailto:Suresh.Mandalapu@Sun.COM]
>>>
>>> Sent: 19. juli 2010 12:10
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> please download the zip and there you will find some
>>> instructions for installing metro on GF
>>>
>>>
>>>
>>> please go through read-me file
>>>
>>>
>>>
>>> you have to uninstall the existing metro and reinstall the latest
>>> version
>>>
>>>
>>>
>>> otherwise, i think simply replace the jars.. that should work
>>>
>>>
>>>
>>> let me know if you fave any problems?
>>>
>>>
>>>
>>>
>>>
>>> thanks
>>>
>>> suresh
>>>
>>>
>>>
>>> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>>>
>>> I'll give it a try.
>>>
>>>
>>>
>>> I only have to update the version of Metro deployed on glassfish
>>> right?
>>>
>>>
>>>
>>> Forgive me if the above is an idiotic question, but I'm new to
>>> this
>>>
>>> world :)
>>>
>>>
>>>
>>> Mvh.
>>>
>>> Jesper Hvid
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From:Suresh.Mandalapu@Sun.COM
>>> [mailto:Suresh.Mandalapu@Sun.COM]
>>>
>>> Sent: 19. juli 2010 11:11
>>>
>>> To:users@metro.dev.java.net
>>>
>>> Subject: Re: NullpointerException when submitting RSTR to Metro
>>> 2.01
>>>
>>> service over SOAP 1.2
>>>
>>>
>>>
>>> Can you please try with latest 2.1 nightly build of metro
>>> 2.1 and check whether this problem exists with 2.1 also?
>>>
>>> Please try with tomorrow's nightly build of metro 2.1 :
>>>
>>>
>>>
>>> Here is the link for download :
>>>
>>>
>>> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=119
>>> 14
>>>
>>> &expandFolder=11914&folderID=7638
>>>
>>>
>>>
>>> Thanks
>>>
>>> Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Fabian Ritzmann

On 20.7.2010 13:51, Jesper Hvid wrote:
> So what you're saying is that I need to run this on GF 3.1?
>
> Where do I find that version? All I can seem to find is 3.01.

It's linked off this page:
https://glassfish.dev.java.net/public/downloadsindex.html#top

Med vänliga hälsningar,
Fabian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Fabian Ritzmann

On 19.7.2010 15:51, Jesper Hvid wrote:
>
> I did actually try that (although I didn’t mention it my mail, sorry!).
> I uninstalled it via the updatetool for Glassfish v3

That is not a good idea. That will remove the GlassFish specific web
services code that is not part of Metro.

> and then I ran the ANT script thing.

Which will install the Metro pieces but not the GlassFish bits that are
needed.

The metro-on...v3.xml script is only meant to be run after an
installation through the update center (or when you downloaded a version
of GlassFish that already includes Metro).

Also, I wouldn't use the uninstall command of the Ant script, it just
tries to restore the previous state. When you run the Ant install, it
will overwrite all relevant files.

Fabian

> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> *Sent:* 19. juli 2010 14:50
> *To:* users@metro.dev.java.net
> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> Hi
> In my earlier reply, i said, first you have to uninstall the existing
> metro and reinstall the latest version :)
>
>
> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>
> I'm back!
>
>
>
> I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.
>
>
>
> I've not touched anything since I ran this command:
>
> asadmin stop-domain
>
> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish" -f"C:\Documents and Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml" install
>
> asadmin start-domain
>
>
>
> Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.
>
>
>
> Thanks,
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From: Jesper Hvid [mailto:jh@globeteam.com]
>
> Sent: 19. juli 2010 12:15
>
> To:users@metro.dev.java.net
>
> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
>
>
> Thanks, I'll read up on it and try it out!
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 12:10
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
>
>
> please download the zip and there you will find some instructions for installing metro on GF
>
>
>
> please go through read-me file
>
>
>
> you have to uninstall the existing metro and reinstall the latest version
>
>
>
> otherwise, i think simply replace the jars.. that should work
>
>
>
> let me know if you fave any problems?
>
>
>
>
>
> thanks
>
> suresh
>
>
>
> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>
> I'll give it a try.
>
>
>
> I only have to update the version of Metro deployed on glassfish right?
>
>
>
> Forgive me if the above is an idiotic question, but I'm new to this
>
> world :)
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 11:11
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
>
> service over SOAP 1.2
>
>
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
>
> Please try with tomorrow's nightly build of metro 2.1 :
>
>
>
> Here is the link for download :
>
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>
> &expandFolder=11914&folderID=7638
>
>
>
> Thanks
>
> Suresh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

Hi,

Alright, so how do I restore my server to its original state? Do I uninstall via ant scripts and the reinstall via the update tool or??

Thanks,
Jesper Hvid

-----Original Message-----
From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM]
Sent: 19. juli 2010 15:51
To: users@metro.dev.java.net
Cc: Jesper Hvid
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

On 19.7.2010 15:51, Jesper Hvid wrote:
>
> I did actually try that (although I didn't mention it my mail, sorry!).
> I uninstalled it via the updatetool for Glassfish v3

That is not a good idea. That will remove the GlassFish specific web services code that is not part of Metro.

> and then I ran the ANT script thing.

Which will install the Metro pieces but not the GlassFish bits that are needed.

The metro-on...v3.xml script is only meant to be run after an installation through the update center (or when you downloaded a version of GlassFish that already includes Metro).

Also, I wouldn't use the uninstall command of the Ant script, it just tries to restore the previous state. When you run the Ant install, it will overwrite all relevant files.

Fabian

> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> *Sent:* 19. juli 2010 14:50
> *To:* users@metro.dev.java.net
> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> Hi
> In my earlier reply, i said, first you have to uninstall the existing
> metro and reinstall the latest version :)
>
>
> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>
> I'm back!
>
>
>
> I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.
>
>
>
> I've not touched anything since I ran this command:
>
> asadmin stop-domain
>
> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish"
> -f"C:\Documents and
> Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml"
> install
>
> asadmin start-domain
>
>
>
> Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.
>
>
>
> Thanks,
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From: Jesper Hvid [mailto:jh@globeteam.com]
>
> Sent: 19. juli 2010 12:15
>
> To:users@metro.dev.java.net
>
> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
>
>
> Thanks, I'll read up on it and try it out!
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM
> [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 12:10
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
>
>
> please download the zip and there you will find some instructions
> for installing metro on GF
>
>
>
> please go through read-me file
>
>
>
> you have to uninstall the existing metro and reinstall the latest
> version
>
>
>
> otherwise, i think simply replace the jars.. that should work
>
>
>
> let me know if you fave any problems?
>
>
>
>
>
> thanks
>
> suresh
>
>
>
> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>
> I'll give it a try.
>
>
>
> I only have to update the version of Metro deployed on glassfish right?
>
>
>
> Forgive me if the above is an idiotic question, but I'm new to
> this
>
> world :)
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM
> [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 11:11
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro
> 2.01
>
> service over SOAP 1.2
>
>
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
>
> Please try with tomorrow's nightly build of metro 2.1 :
>
>
>
> Here is the link for download :
>
>
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>
> &expandFolder=11914&folderID=7638
>
>
>
> Thanks
>
> Suresh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

Hi,

So I managed to my Glassfish server back up and running. What I did was:

1) Uninstall via the ant script
2) Install metro via update tool
3) Start Gf and verify my service responds

After 3) I went ahead and ran the install script for the nightly build and I now get the attached error when starting GF. Seems like some broken dependency or something along those lines. Any ideas?

WARNING: Exception while starting bundle com.sun.enterprise.osgi-adapter [61]
org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [61].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [255] State [INSTALLED] [org.glassfish.webservices.connector(Connector for GlassFish Web Services Container):3.0.1]
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
at java.util.ArrayList.addAll(ArrayList.java:472)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:81)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffer(SnifferManagerImpl.java:109)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:346)
at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
... 9 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.xml.ws [244]: package; (package=org.glassfish.ha.store.api)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)
... 36 more

Thanks,
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 19. juli 2010 16:05
To: users@metro.dev.java.net
Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Hi,

Alright, so how do I restore my server to its original state? Do I uninstall via ant scripts and the reinstall via the update tool or??

Thanks,
Jesper Hvid

-----Original Message-----
From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM]
Sent: 19. juli 2010 15:51
To: users@metro.dev.java.net
Cc: Jesper Hvid
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

On 19.7.2010 15:51, Jesper Hvid wrote:
>
> I did actually try that (although I didn't mention it my mail, sorry!).
> I uninstalled it via the updatetool for Glassfish v3

That is not a good idea. That will remove the GlassFish specific web services code that is not part of Metro.

> and then I ran the ANT script thing.

Which will install the Metro pieces but not the GlassFish bits that are needed.

The metro-on...v3.xml script is only meant to be run after an installation through the update center (or when you downloaded a version of GlassFish that already includes Metro).

Also, I wouldn't use the uninstall command of the Ant script, it just tries to restore the previous state. When you run the Ant install, it will overwrite all relevant files.

Fabian

> *From:* Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> *Sent:* 19. juli 2010 14:50
> *To:* users@metro.dev.java.net
> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> Hi
> In my earlier reply, i said, first you have to uninstall the existing
> metro and reinstall the latest version :)
>
>
> On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
>
> I'm back!
>
>
>
> I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.
>
>
>
> I've not touched anything since I ran this command:
>
> asadmin stop-domain
>
> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish"
> -f"C:\Documents and
> Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml"
> install
>
> asadmin start-domain
>
>
>
> Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.
>
>
>
> Thanks,
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From: Jesper Hvid [mailto:jh@globeteam.com]
>
> Sent: 19. juli 2010 12:15
>
> To:users@metro.dev.java.net
>
> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
>
>
> Thanks, I'll read up on it and try it out!
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM
> [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 12:10
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
>
>
> please download the zip and there you will find some instructions
> for installing metro on GF
>
>
>
> please go through read-me file
>
>
>
> you have to uninstall the existing metro and reinstall the latest
> version
>
>
>
> otherwise, i think simply replace the jars.. that should work
>
>
>
> let me know if you fave any problems?
>
>
>
>
>
> thanks
>
> suresh
>
>
>
> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>
> I'll give it a try.
>
>
>
> I only have to update the version of Metro deployed on glassfish right?
>
>
>
> Forgive me if the above is an idiotic question, but I'm new to
> this
>
> world :)
>
>
>
> Mvh.
>
> Jesper Hvid
>
>
>
>
>
> -----Original Message-----
>
> From:Suresh.Mandalapu@Sun.COM
> [mailto:Suresh.Mandalapu@Sun.COM]
>
> Sent: 19. juli 2010 11:11
>
> To:users@metro.dev.java.net
>
> Subject: Re: NullpointerException when submitting RSTR to Metro
> 2.01
>
> service over SOAP 1.2
>
>
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
>
> Please try with tomorrow's nightly build of metro 2.1 :
>
>
>
> Here is the link for download :
>
>
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>
> &expandFolder=11914&folderID=7638
>
>
>
> Thanks
>
> Suresh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-startup-log-3.txt]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Sreekanth

I don't want to confuse you much.This is what you have to do:

1)I assume you have installed GFv3.
2)Download metro 2.1
3)Unzip it
4)now cd metro
5)now run ant target : ant -f metro-on-glassfish-v3.xml install
6)Copy webservices-api-osgi.jar and jaxb-api-osgi.jar to
JDK/jre/lib/endorsed.(Make sure you don't end up with having the non osgi
versions of the jar files sitting in that directory)
7)Now you have clean update of Metro to glassfish.

Let me know if doesn't work for you.I will try to reproduce it.Once it is
resolved , I think Suresh can help you with the Security issue.

Thanks,
Sreekanth

On Mon, Jul 19, 2010 at 7:47 PM, Jesper Hvid wrote:

>
> After 3) I went ahead and ran the install script for the nightly build and
> I now get the attached error when starting GF. Seems like some broken
> dependency or something along those lines. Any ideas?
[att1.html]

Jesper Hvid

Cool, thanks for the write up.

One question: where are the “correct” versions of webservices-api-osgi.jar and jaxb-api-osgi.jar located?

Thanks,
Jesper Hvid

From: Sreekanth [mailto:sreekanth.manga@gmail.com]
Sent: 19. juli 2010 16:33
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

I don't want to confuse you much.This is what you have to do:

1)I assume you have installed GFv3.
2)Download metro 2.1
3)Unzip it
4)now cd metro
5)now run ant target : ant -f metro-on-glassfish-v3.xml install
6)Copy webservices-api-osgi.jar and jaxb-api-osgi.jar to JDK/jre/lib/endorsed.(Make sure you don't end up with having the non osgi versions of the jar files sitting in that directory)
7)Now you have clean update of Metro to glassfish.

Let me know if doesn't work for you.I will try to reproduce it.Once it is resolved , I think Suresh can help you with the Security issue.

Thanks,
Sreekanth

On Mon, Jul 19, 2010 at 7:47 PM, Jesper Hvid > wrote:

After 3) I went ahead and ran the install script for the nightly build and I now get the attached error when starting GF. Seems like some broken dependency or something along those lines. Any ideas?

[att1.html]

Sreekanth

You can look under /osgi/ sub directory.

Thanks,
Sreekanth

On Mon, Jul 19, 2010 at 8:11 PM, Jesper Hvid wrote:

> ns of web
[att1.html]

Jesper Hvid

Hi again,

So I did the following:

1) Uninstalled the glassfish version that came with netbeans (to clean things up)

2) Installed the newest stand-alone-3.01 version

3) Got glassfish up and running

4) Installed the Metro nightly build via the ant script

5) Put the webservices-api-osgi.jar and jaxb-api-osgi.jar to JDK/jre/lib/endorsed in these folders (had to create the endorsed folder both places, since it didn’t exist):

- C:\Program Files\Java\jdk1.6.0_21\jre\lib\endorsed

- C:\Program Files\Java\jre6\lib\endorsed

6) Attempted to start Glassfish v3

7) Observed that it couldn’t start

My glassfish startup log is attached.. still seems like a broken reference of some sort?

Thanks,
Jesper Hvid

From: Sreekanth [mailto:sreekanth.manga@gmail.com]
Sent: 19. juli 2010 16:54
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

You can look under /osgi/ sub directory.

Thanks,
Sreekanth
On Mon, Jul 19, 2010 at 8:11 PM, Jesper Hvid > wrote:
ns of web

[att1.html]
[glassfish-startup-log-4.txt]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Sreekanth

Ok.I see this with the latest nightly error.Seems some problem with the
metro 2.1 nightly bundle.

[#|2010-07-20T14:47:51.934+0530|INFO|glassfish3.0.1|javax.enterprise.resource.jta.com.sun.enterprise.transaction|_ThreadID=11;_ThreadName=Thread-1;|Using
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
as the delegate|#]

[#|2010-07-20T14:47:52.147+0530|WARNING|glassfish3.0.1|org.jvnet.hk2.osgimain|_ThreadID=11;_ThreadName=Thread-1;|Exception
while starting bundle com.sun.enterprise.osgi-adapter [77]
org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [77].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start
Bundle Id [165] State [INSTALLED]
[org.glassfish.webservices.connector(Connector for GlassFish Web
Services Container):3.0.1]
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
at java.util.ArrayList.addAll(ArrayList.java:472)
at com.sun.enterprise.v3.

On Monday 19 July 2010 10:55 PM, Jesper Hvid wrote:
> Hi again,
>
> So I did the following:
>
> 1) Uninstalled the glassfish version that came with netbeans (to clean
> things up)
>
> 2) Installed the newest stand-alone-3.01 version
>
> 3) Got glassfish up and running
>
> 4) Installed the Metro nightly build via the ant script
>
> 5) Put the webservices-api-osgi.jar and jaxb-api-osgi.jar to
> JDK/jre/lib/endorsed in these folders (had to create the endorsed folder
> both places, since it didn’t exist):
>
> - C:\Program Files\Java\jdk1.6.0_21\jre\lib\endorsed
>
> - C:\Program Files\Java\jre6\lib\endorsed
>
> 6) Attempted to start Glassfish v3
>
> 7) Observed that it couldn’t start
>
> My glassfish startup log is attached.. still seems like a broken
> reference of some sort?
>
> Thanks,
>
> Jesper Hvid
>
> *From:* Sreekanth [mailto:sreekanth.manga@gmail.com]
> *Sent:* 19. juli 2010 16:54
> *To:* users@metro.dev.java.net
> *Subject:* Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> You can look under /osgi/ sub directory.
>
> Thanks,
> Sreekanth
>
> On Mon, Jul 19, 2010 at 8:11 PM, Jesper Hvid > > wrote:
>
> ns of web
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Fabian Ritzmann

On 20.7.2010 12:22, Sreekanth wrote:
> Ok.I see this with the latest nightly error.Seems some problem with the
> metro 2.1 nightly bundle.
>
> [#|2010-07-20T14:47:51.934+0530|INFO|glassfish3.0.1|javax.enterprise.resource.jta.com.sun.enterprise.transaction|_ThreadID=11;_ThreadName=Thread-1;|Using
> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
> as the delegate|#]
>
> [#|2010-07-20T14:47:52.147+0530|WARNING|glassfish3.0.1|org.jvnet.hk2.osgimain|_ThreadID=11;_ThreadName=Thread-1;|Exception
> while starting bundle com.sun.enterprise.osgi-adapter [77]
> org.osgi.framework.BundleException: Activator start error in bundle
> com.sun.enterprise.osgi-adapter [77].
> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
>
> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: com.sun.enterprise.module.ResolveError: Failed to start
> Bundle Id [165] State [INSTALLED]
> [org.glassfish.webservices.connector(Connector for GlassFish Web
> Services Container):3.0.1]
> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
> at
> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
>
> at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
> at java.util.AbstractList$Itr.next(AbstractList.java:345)
> at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
> at java.util.ArrayList.addAll(ArrayList.java:472)
> at com.sun.enterprise.v3.

Looks like you cut off the important part where it reports an unresolved
constraint with package org.glassfish.ha.store.api?

Fabian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Sreekanth

Here is the complete log:(I have a strange problem with Ubuntu, where the
entire content from terminal will never get copied to clipboard when I used
keyboard shortcuts :( )

[#|2010-07-20T15:25:00.241+0530|INFO|glassfish3.0.1|null|_ThreadID=18;_ThreadName=Thread-1;|Grizzly
Framework 1.9.18-o started in: 278ms listening on port 8080|#]

[#|2010-07-20T15:25:00.539+0530|INFO|glassfish3.0.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|GlassFish
Server Open Source Edition 3.0.1 (22) startup time : Felix(9223ms) startup
services(3673ms) total(12896ms)|#]

[#|2010-07-20T15:25:00.838+0530|WARNING|glassfish3.0.1|org.jvnet.hk2.osgimain|_ThreadID=11;_ThreadName=Thread-1;|Exception
while starting bundle com.sun.enterprise.osgi-adapter [77]
org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [77].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id
[165] State [INSTALLED]
[org.glassfish.webservices.connector(Connector for GlassFish Web Services
Container):3.0.1]
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
at java.util.ArrayList.addAll(ArrayList.java:472)
at
com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:81)
at
com.sun.enterprise.v3.server.PostInitializer.postConstruct(PostInitializer.java:58)
at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:313)
at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
... 9 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle com.sun.xml.ws [44]: package; (package=org.glassfish.ha.store.api)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)
... 34 more
|#]

On Tue, Jul 20, 2010 at 3:19 PM, Fabian Ritzmann wrote:

> On 20.7.2010 12:22, Sreekanth wrote:
>
>> Ok.I see this with the latest nightly error.Seems some problem with the
>> metro 2.1 nightly bundle.
>>
>>
>> [#|2010-07-20T14:47:51.934+0530|INFO|glassfish3.0.1|javax.enterprise.resource.jta.com.sun.enterprise.transaction|_ThreadID=11;_ThreadName=Thread-1;|Using
>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
>> as the delegate|#]
>>
>>
>> [#|2010-07-20T14:47:52.147+0530|WARNING|glassfish3.0.1|org.jvnet.hk2.osgimain|_ThreadID=11;_ThreadName=Thread-1;|Exception
>> while starting bundle com.sun.enterprise.osgi-adapter [77]
>> org.osgi.framework.BundleException: Activator start error in bundle
>> com.sun.enterprise.osgi-adapter [77].
>> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
>> at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
>> at
>>
>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
>>
>> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
>> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: com.sun.enterprise.module.ResolveError: Failed to start
>> Bundle Id [165] State [INSTALLED]
>> [org.glassfish.webservices.connector(Connector for GlassFish Web
>> Services Container):3.0.1]
>> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
>> at
>>
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
>>
>> at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
>> at
>>
>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>
>> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276)
>> at java.util.AbstractList$Itr.next(AbstractList.java:345)
>> at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
>> at java.util.ArrayList.addAll(ArrayList.java:472)
>> at com.sun.enterprise.v3.
>>
>
> Looks like you cut off the important part where it reports an unresolved
> constraint with package org.glassfish.ha.store.api?
>
> Fabian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

--
Thanks,
Sreekanth
Mob:+91 9035564557
[att1.html]

jdg6688
Offline
Joined: 2005-11-02
Points: 0

Actually in your email, you have:
- Secure Conversation off
- Negotiate Service Credentials off

But the client still send secure conversation request message.

Make sure you get the client and server configuration consistent.

Jesper Hvid

But is that what's causing the error? I would expect that would cause something different than a nullpointerexception.

Mvh.
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 21. juli 2010 00:18
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Actually in your email, you have:
- Secure Conversation off
- Negotiate Service Credentials off

But the client still send secure conversation request message.

Make sure you get the client and server configuration consistent.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478142

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

jdg6688
Offline
Joined: 2005-11-02
Points: 0

Yes.

The NPE is thrown when the security policy for secure conversation
protocol messages. We fixed this with latest build.

But the failure for your test is due to the in-consistent configuration.

Jesper Hvid

Alright,

So I went in and killed Secure Conversation on my client and resubmitted my message. Glassfish now tells me this:
SEVERE: WSS1913: Key used to decrypt EncryptedKey cannot be null
SEVERE: WSS1927: Error occured while decrypting EncryptedKey
SEVERE: WSITPVD0035: Error in Verifying Security in Inbound Message.

I've attached my service request as well. To me it sounds like a mixup of the service certificate on the service and the service certificate used on the client/sts, but as far as I can see the certificates are a-ok on STS, client and service.

Thanks,
Jesper Hvid

-----Original Message-----
From: metro@javadesktop.org [mailto:metro@javadesktop.org]
Sent: 21. juli 2010 06:42
To: users@metro.dev.java.net
Subject: Re: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Yes.

The NPE is thrown when the security policy for secure conversation protocol messages. We fixed this with latest build.

But the failure for your test is due to the in-consistent configuration.
[Message sent by forum member 'jdg6688']

http://forums.java.net/jive/thread.jspa?messageID=478171

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-log-5.txt]
[service request.xml]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

jdg6688
Offline
Joined: 2005-11-02
Points: 0

Is the the certificate used to encrypt the SAML assertion on the STS
the certificate for the service?

I saw CN=javasampleservice-encryption.dk referenced in
the KeyInfo of the EncryptedData for the SAML assertion.

Is it the one you have in the Glassfish keystore on the service side?

suresh

Can you please try with latest 2.1 nightly build of metro 2.1 and
check whether this problem exists with 2.1 also?
Please try with tomorrow's nightly build of metro 2.1 :

Here is the link for download :
https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914&e...

Thanks
Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

I'll give it a try.

I only have to update the version of Metro deployed on glassfish right?

Forgive me if the above is an idiotic question, but I'm new to this world :)

Mvh.
Jesper Hvid

-----Original Message-----
From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
Sent: 19. juli 2010 11:11
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
Please try with tomorrow's nightly build of metro 2.1 :

Here is the link for download :
https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914&e...

Thanks
Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

suresh

please download the zip and there you will find some instructions for
installing metro on GF

please go through read-me file

you have to uninstall the existing metro and reinstall the latest version

otherwise, i think simply replace the jars.. that should work

let me know if you fave any problems?

thanks
suresh

On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
> I'll give it a try.
>
> I only have to update the version of Metro deployed on glassfish right?
>
> Forgive me if the above is an idiotic question, but I'm new to this world :)
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> Sent: 19. juli 2010 11:11
> To: users@metro.dev.java.net
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
> Please try with tomorrow's nightly build of metro 2.1 :
>
> Here is the link for download :
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914&e...
>
> Thanks
> Suresh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

Thanks, I'll read up on it and try it out!

Mvh.
Jesper Hvid

-----Original Message-----
From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
Sent: 19. juli 2010 12:10
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

please download the zip and there you will find some instructions for installing metro on GF

please go through read-me file

you have to uninstall the existing metro and reinstall the latest version

otherwise, i think simply replace the jars.. that should work

let me know if you fave any problems?

thanks
suresh

On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
> I'll give it a try.
>
> I only have to update the version of Metro deployed on glassfish right?
>
> Forgive me if the above is an idiotic question, but I'm new to this
> world :)
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> Sent: 19. juli 2010 11:11
> To: users@metro.dev.java.net
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
> Please try with tomorrow's nightly build of metro 2.1 :
>
> Here is the link for download :
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
> &expandFolder=11914&folderID=7638
>
> Thanks
> Suresh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

I'm back!

I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.

I've not touched anything since I ran this command:
asadmin stop-domain
ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish" -f "C:\Documents and Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml" install
asadmin start-domain

Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.

Thanks,
Jesper Hvid

-----Original Message-----
From: Jesper Hvid [mailto:jh@globeteam.com]
Sent: 19. juli 2010 12:15
To: users@metro.dev.java.net
Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Thanks, I'll read up on it and try it out!

Mvh.
Jesper Hvid

-----Original Message-----
From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
Sent: 19. juli 2010 12:10
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

please download the zip and there you will find some instructions for installing metro on GF

please go through read-me file

you have to uninstall the existing metro and reinstall the latest version

otherwise, i think simply replace the jars.. that should work

let me know if you fave any problems?

thanks
suresh

On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
> I'll give it a try.
>
> I only have to update the version of Metro deployed on glassfish right?
>
> Forgive me if the above is an idiotic question, but I'm new to this
> world :)
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> Sent: 19. juli 2010 11:11
> To: users@metro.dev.java.net
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
> service over SOAP 1.2
>
> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
> Please try with tomorrow's nightly build of metro 2.1 :
>
> Here is the link for download :
> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
> &expandFolder=11914&folderID=7638
>
> Thanks
> Suresh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-startup-log.txt]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

suresh

Hi
In my earlier reply, i said, first you have to uninstall the existing
metro and reinstall the latest version :)

On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:
> I'm back!
>
> I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.
>
> I've not touched anything since I ran this command:
> asadmin stop-domain
> ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish" -f "C:\Documents and Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml" install
> asadmin start-domain
>
> Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.
>
> Thanks,
> Jesper Hvid
>
>
> -----Original Message-----
> From: Jesper Hvid [mailto:jh@globeteam.com]
> Sent: 19. juli 2010 12:15
> To: users@metro.dev.java.net
> Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
> Thanks, I'll read up on it and try it out!
>
> Mvh.
> Jesper Hvid
>
>
> -----Original Message-----
> From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
> Sent: 19. juli 2010 12:10
> To: users@metro.dev.java.net
> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2
>
> please download the zip and there you will find some instructions for installing metro on GF
>
> please go through read-me file
>
> you have to uninstall the existing metro and reinstall the latest version
>
> otherwise, i think simply replace the jars.. that should work
>
> let me know if you fave any problems?
>
>
> thanks
> suresh
>
> On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:
>> I'll give it a try.
>>
>> I only have to update the version of Metro deployed on glassfish right?
>>
>> Forgive me if the above is an idiotic question, but I'm new to this
>> world :)
>>
>> Mvh.
>> Jesper Hvid
>>
>>
>> -----Original Message-----
>> From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
>> Sent: 19. juli 2010 11:11
>> To: users@metro.dev.java.net
>> Subject: Re: NullpointerException when submitting RSTR to Metro 2.01
>> service over SOAP 1.2
>>
>> Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?
>> Please try with tomorrow's nightly build of metro 2.1 :
>>
>> Here is the link for download :
>> https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914
>> &expandFolder=11914&folderID=7638
>>
>> Thanks
>> Suresh
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
>> For additional commands, e-mail: users-help@metro.dev.java.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
>> For additional commands, e-mail: users-help@metro.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net

[att1.html]

Jesper Hvid

Hi,

I did actually try that (although I didn't mention it my mail, sorry!). I uninstalled it via the updatetool for Glassfish v3 and then I ran the ANT script thing.

Mvh.
Jesper Hvid

From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
Sent: 19. juli 2010 14:50
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Hi
In my earlier reply, i said, first you have to uninstall the existing metro and reinstall the latest version :)

On Monday 19 July 2010 05:58 PM, Jesper Hvid wrote:

I'm back!

I'm pretty sure the manual install using ant and the metro-on-glassfishv3.xml-file broke my Glassfish server. The startup log is attached and basically it just halts after all the errors it encounters during startup.

I've not touched anything since I ran this command:

asadmin stop-domain

ant -Das.home="C:\Program Files\glassfish-3.0.1\glassfish" -f "C:\Documents and Settings\Administrator\Desktop\metro\metro-on-glassfish-v3.xml" install

asadmin start-domain

Is there some way to do a clean slate on my glassfish server? It doesn't seem healthy at the moment.

Thanks,

Jesper Hvid

-----Original Message-----

From: Jesper Hvid [mailto:jh@globeteam.com]

Sent: 19. juli 2010 12:15

To: users@metro.dev.java.net

Subject: RE: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

Thanks, I'll read up on it and try it out!

Mvh.

Jesper Hvid

-----Original Message-----

From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]

Sent: 19. juli 2010 12:10

To: users@metro.dev.java.net

Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

please download the zip and there you will find some instructions for installing metro on GF

please go through read-me file

you have to uninstall the existing metro and reinstall the latest version

otherwise, i think simply replace the jars.. that should work

let me know if you fave any problems?

thanks

suresh

On Monday 19 July 2010 03:28 PM, Jesper Hvid wrote:

I'll give it a try.

I only have to update the version of Metro deployed on glassfish right?

Forgive me if the above is an idiotic question, but I'm new to this

world :)

Mvh.

Jesper Hvid

-----Original Message-----

From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]

Sent: 19. juli 2010 11:11

To: users@metro.dev.java.net

Subject: Re: NullpointerException when submitting RSTR to Metro 2.01

service over SOAP 1.2

Can you please try with latest 2.1 nightly build of metro 2.1 and check whether this problem exists with 2.1 also?

Please try with tomorrow's nightly build of metro 2.1 :

Here is the link for download :

https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=11914

&expandFolder=11914&folderID=7638

Thanks

Suresh

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

To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net

For additional commands, e-mail: users-help@metro.dev.java.net

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

To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net

For additional commands, e-mail: users-help@metro.dev.java.net

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

To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net

For additional commands, e-mail: users-help@metro.dev.java.net

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

To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net

For additional commands, e-mail: users-help@metro.dev.java.net

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

To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net

For additional commands, e-mail: users-help@metro.dev.java.net

[att1.html]

suresh

please try to uninstall it through ant only...use have to use same
command but use "uninstall"..

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

Jesper Hvid

Tried, didn't change much (see new startup log).

Thanks,
Jesper Hvid

-----Original Message-----
From: Suresh.Mandalapu@Sun.COM [mailto:Suresh.Mandalapu@Sun.COM]
Sent: 19. juli 2010 14:57
To: users@metro.dev.java.net
Subject: Re: NullpointerException when submitting RSTR to Metro 2.01 service over SOAP 1.2

please try to uninstall it through ant only...use have to use same command but use "uninstall"..

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

[glassfish-startup-log-2.txt]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net