Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/InitializingBean

2008-09-18 Thread aaaaa

hi all,
I'm trying to run web app under geronimo..
I'm getting this error , but I have all spring libraries in web-inf/

Caused by: java.lang.NoClassDefFoundError:
org/springframework/beans/factory/InitializingBean

I tried this:
 dep:hidden-classes
dep:filterorg.springframework/dep:filter
/dep:hidden-classes
but it didn t help either. 

geronimo 2.1.1.
How do I fix it?
thanks.

-- 
View this message in context: 
http://www.nabble.com/Caused-by%3A-java.lang.NoClassDefFoundError%3A-org-springframework-beans-factory-InitializingBean-tp19552625s134p19552625.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: javax.jms.JMSException: Failed to build body from bytes

2008-09-18 Thread jklcom99

Kevan,

Do you see anything wrong with the in-place deployment?  Is this an issue
with openejb not setting the classloader? 



jklcom99 wrote:
 
 Yes, I did and it ran.
 
 The difference I see in the ear deployed structure is that your MDB is in
 WEB-INF-lib
 
 Whereas we are doing an in-place deployment with the following deployed
 structure.  All MDB's along with other classes are available in the lib
 folder.  The manifest classpath of app-ejb-jar has references to the
 required MDB's via ../lib/myApp.jar.  This worked under G1.1.1
 
 deployed
   apps
   myApp.ear
   myWeb.war
   lib
   META-INF
   app-ejb.jar
   META-INF
   app-ejb-jar.xml
   MANIFEST.MF
   app-openejb-jar.xml 
 
 Thank you
 
 
 
 Kevan Miller wrote:
 
 
 On Sep 17, 2008, at 12:28 AM, jklcom99 wrote:
 

 I don't have the module.../module in ear deployment plan.  It  
 still got
 the wrong classloader after adding module.../module
 
 Can you (did you) run a test using my test apps?
 
 --kevan
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19554557.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Please rember my for pkcs12 key

2008-09-18 Thread alpha_one_x86

up, I have the key file and the certificat file, how use it in the https
connector?

alpha_one_x86 wrote:
 
 Hello, I have the pkcs12 (key + crt) in the https connector what is the
 value what need edit?
 What in need do in keyAlias?
 thanks.
 

-- 
View this message in context: 
http://www.nabble.com/Please-rember-my-for-pkcs12-key-tp19417315s134p19557128.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Please rember my for pkcs12 key

2008-09-18 Thread David Jencks

There is some information here:
http://cwiki.apache.org/GMOxDOC21/administering-certificates.html

I'm not very familiar with keystores and truststores.  I think that  
what you need to do may differ with jetty and tomcat.  After you have  
your certificate set up in geronimo if you still have problems please  
ask more specific questions.


thanks
david jencks

On Sep 18, 2008, at 9:46 AM, alpha_one_x86 wrote:



up, I have the key file and the certificat file, how use it in the  
https

connector?

alpha_one_x86 wrote:


Hello, I have the pkcs12 (key + crt) in the https connector what is  
the

value what need edit?
What in need do in keyAlias?
thanks.



--
View this message in context: 
http://www.nabble.com/Please-rember-my-for-pkcs12-key-tp19417315s134p19557128.html
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Re: Please rember my for pkcs12 key

2008-09-18 Thread alpha_one_x86

With my pkcs12 create with the help in a previous topic it work with old
version, but it crash https connector in the lastest version.
And I'm not sur of the value in keyAlias, I I have leave it blank.
-- 
View this message in context: 
http://www.nabble.com/Please-rember-my-for-pkcs12-key-tp19417315s134p19558665.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Please rember my for pkcs12 key

2008-09-18 Thread Kevan Miller


On Sep 18, 2008, at 2:32 PM, alpha_one_x86 wrote:



With my pkcs12 create with the help in a previous topic it work with  
old

version, but it crash https connector in the lastest version.
And I'm not sur of the value in keyAlias, I I have leave it blank.


Which versions of Geronimo are you referring to? Can you give us  
information on the crash (e.g. a stacktrace)?


--kevan



Geronimo, JAX WS, JAXB

2008-09-18 Thread fish4trout

I am new to JAX WS and Geronimo but am having a difficult time with the XML
mapping for a simple POJO Web Service that returns String[].

Here is the code:
--
package com.praxis.webservice.jaxws.reportmanager;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

@WebService(name=ReportManagerPortType,
targetNamespace = http://report.webservices.praxis.com;)
public interface ReportManger {

@WebResult(name=reportName)
public String getReportName(@WebParam int id);
@WebResult(name=reportIDs)
public String[] searchByID(@WebParam String iD);
@WebResult(name=report)
public Report getReport(@WebParam int id);
}

--

package com.praxis.webservice.jaxws.reportmanager;

import java.util.ArrayList;

import javax.jws.WebService;

@WebService(serviceName = ReportManger,
portName = ReportMangerPort,
endpointInterface =
com.praxis.webservice.jaxws.reportmanager.ReportManger,
targetNamespace = http://report.webservices.praxis.com;)
public class ReportManagerService implements ReportManger {

public String getReportName(int id) {
return Got report;
}

public String[] searchByID(String id) {
ArrayListString res = new ArrayListString();
res.add(new String(1));
res.add(new String(10));
return res.toArray(new String[0]);
}

public Report getReport(int id) {
return new Report(1,Test Report);
}

}

-

The service deploys to Geronimo getReportName and getReport work as
expected.
The searchByID call always returns an array of size 1 with  as the
string.

The snippet of the xsd from the Geronimo server descripes the return element
as:



xs:complexType name=searchByIDResponse
   xs:sequence
   xs:element maxOccurs=unbounded minOccurs=0
name=reportIDs type=xs:string/
/xs:sequence
/xs:complexType

--

However the soap message body returned from the call contains this:

-
soapenv:Body
  searchByIPResponse
xmlns:dlwmin=http://report.webservices.praxis.com;
  reportIDs
   item1/item 
   item10/item 
  /reportIDs
 /searchByIPResponse
 /soapenv:Body
---

I have used the identical code for the Java classes and deployed the service
to a JBoss server. Although the xsd description is similar to the Geronimo
xsd the JBoss server returns this:
-
soapenv:Body
  searchByIPResponse
xmlns:dlwmin=http://report.webservices.praxis.com;
  reportIDs1/reportIDs 
   reportIDs10/reportIDs  
 /searchByIPResponse
 /soapenv:Body

Does anyone have a suggestion as to what I may be doing wrong?



-- 
View this message in context: 
http://www.nabble.com/Geronimo%2C-JAX-WS%2C-JAXB-tp19559399s134p19559399.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo, JAX WS, JAXB

2008-09-18 Thread Jarek Gawor
What Geronimo version and assembly are you using? Can you try with the
latest release 2.1.3?

Thanks,
Jarek

On Thu, Sep 18, 2008 at 3:19 PM, fish4trout [EMAIL PROTECTED] wrote:

 I am new to JAX WS and Geronimo but am having a difficult time with the XML
 mapping for a simple POJO Web Service that returns String[].

 Here is the code:
 --
 package com.praxis.webservice.jaxws.reportmanager;

 import javax.jws.WebParam;
 import javax.jws.WebResult;
 import javax.jws.WebService;

 @WebService(name=ReportManagerPortType,
targetNamespace = http://report.webservices.praxis.com;)
 public interface ReportManger {

@WebResult(name=reportName)
public String getReportName(@WebParam int id);
@WebResult(name=reportIDs)
public String[] searchByID(@WebParam String iD);
@WebResult(name=report)
public Report getReport(@WebParam int id);
 }

 --

 package com.praxis.webservice.jaxws.reportmanager;

 import java.util.ArrayList;

 import javax.jws.WebService;

 @WebService(serviceName = ReportManger,
portName = ReportMangerPort,
endpointInterface =
 com.praxis.webservice.jaxws.reportmanager.ReportManger,
targetNamespace = http://report.webservices.praxis.com;)
 public class ReportManagerService implements ReportManger {

public String getReportName(int id) {
return Got report;
}

public String[] searchByID(String id) {
ArrayListString res = new ArrayListString();
res.add(new String(1));
res.add(new String(10));
return res.toArray(new String[0]);
}

public Report getReport(int id) {
return new Report(1,Test Report);
}

 }

 -

 The service deploys to Geronimo getReportName and getReport work as
 expected.
 The searchByID call always returns an array of size 1 with  as the
 string.

 The snippet of the xsd from the Geronimo server descripes the return element
 as:

 

 xs:complexType name=searchByIDResponse
   xs:sequence
   xs:element maxOccurs=unbounded minOccurs=0
 name=reportIDs type=xs:string/
/xs:sequence
 /xs:complexType

 --

 However the soap message body returned from the call contains this:

 -
 soapenv:Body
  searchByIPResponse
 xmlns:dlwmin=http://report.webservices.praxis.com;
  reportIDs
   item1/item
   item10/item
  /reportIDs
 /searchByIPResponse
  /soapenv:Body
 ---

 I have used the identical code for the Java classes and deployed the service
 to a JBoss server. Although the xsd description is similar to the Geronimo
 xsd the JBoss server returns this:
 -
 soapenv:Body
  searchByIPResponse
 xmlns:dlwmin=http://report.webservices.praxis.com;
  reportIDs1/reportIDs
   reportIDs10/reportIDs
 /searchByIPResponse
  /soapenv:Body

 Does anyone have a suggestion as to what I may be doing wrong?



 --
 View this message in context: 
 http://www.nabble.com/Geronimo%2C-JAX-WS%2C-JAXB-tp19559399s134p19559399.html
 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.




Re: javax.jms.JMSException: Failed to build body from bytes

2008-09-18 Thread Kevan Miller


On Sep 18, 2008, at 10:46 AM, jklcom99 wrote:



Kevan,

Do you see anything wrong with the in-place deployment?  Is this an  
issue

with openejb not setting the classloader?


Jeff,
I'll give in-place deployment a try. Not sure that I can get to it,  
today. If you're able to test in-place with my sample, that'd be  
great. Once we can recreate your issue, should go a long way to fixing  
it...


--kevan