[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss checking wrong schema for table creation

2005-11-07 Thread vbatista
Hello!
  I am using Oracle 10g with JBoss-4.0.x.  
  My database has a few schemas and My Application uses CMP, with the option to 
create tables. I am having the following problem:
  - JBoss is checking for the existence of tables on the default schema and 
not on the schema I have configured on the ConnectionString.

  This way, my tables are only created when they don't exist on the default 
schema.

   I have tested on JBoss-4.0.1SP1, JBoss-4.0.2+patch, JBoss-4.0.3SP1 with the 
same results.

   Any help would be appreciated.
   Thanks in advance,
Victor Batista

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905918#3905918

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905918


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - org.jboss & org.apache

2005-10-17 Thread vbatista
Hello!
  I am using jboss-4.0.2 with Jboss.Net deployed. My Web Services are deployed 
correctly. Although, my application needs to act as a client to a remote 
WebService. I need to use Axis 1.3 (I am including its jar's on my 
application). When I try to invoke the client, I get the following exception:

org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException
java.lang.ClassCastException
at 
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:277)
at 
org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:286)
...


   I think that this problem is due to using package org.jboss (deployed with 
jboss.net) and org.apache.

   How can I use both: org.jboss & org.apache ?

   Any help would really be appreciated.  
   Thanks in advance,
Victor Batista
 

 

   

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901484#3901484

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901484


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: JBoss.Net ClassNotFoundException in JBoss 4.0.2

2005-09-06 Thread vbatista
Hi! 
   Have you solved your problem? I am having exactly the same error. I am 
exposing a SLSB as a web service with jboss.net on JBoss 4.0.2 (patched).  I am 
trying to expose a VO on my web service, and I am getting the error below at 
deploy time:

2005-09-07 02:18:25,554 ERROR [org.jboss.axis.deployment.wsdd.WSDDDeployment] 
Unable to deploy typemapping: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.apache.axis.encoding.ser.BeanSerializerFactory
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120)
at 
org.jboss.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256)
at 
org.jboss.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372)
at 
org.jboss.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
at 
org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:350)
at 
org.jboss.net.axis.Deployment.installTypeMappingWithOptions(Deployment.java:365)
at 
org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:345)
at org.jboss.net.axis.Deployment.deployToRegistry(Deployment.java:326)
at 
org.jboss.net.axis.server.AxisService.startAxisDeployment(AxisService.java:201)
at org.jboss.net.axis.server.AxisService.start(AxisService.java:521)
at org.jboss.net.axis.server.AxisService.start(AxisService.java:492)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)



Here is the web-service.xml generated:


http://xml.apache.org/axis/wsdd/";
targetNamespace="http://127.0.0.1:8080/ProvisioningService";
xmlns:ProvisioningServicePrefix="http://127.0.0.1:8080/ProvisioningService";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

#


























If I don't try to export the User VO, everything works fine, ie, I can call a 
dummy method on my web service.

Any help would really be appreciated.
Thanks in advance,
Victor Batista



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893308#3893308

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893308


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Change Password: FailedLoginException

2005-08-24 Thread vbatista
Hello!
   I am using JBoss 4.0.2 with the jbas-1875-patch.zip patch. I have a web 
application which uses a DatabaseLoginModule for authentication.
   I am having problems when one user changes its password. On the session bean 
I am executing the code at he end of this message to flush the Authentication 
Cache.
   
   After the user changes its password, any call to session beans throw the 
Exception:
"java.rmi.AccessException: SecurityException; nested exception is:
javax.security.auth.login.FailedLoginException: Password 
Incorrect/Password Required"

How can I solve this problem? Any help would really be appreciated.
Thanks in advance,
  Victor Batista


//Code to flush Authentication Cache
java.util.ArrayList servers = MBeanServerFactory.findMBeanServer(null);
if (servers.size() != 1) {
throw new EJBException("Not exactly one server found");
}

MBeanServer mbeanServer = (MBeanServer) servers.get(0);
String[] params = { datasource };
String[] signature = { "java.lang.String" };
try {
ObjectName name = new ObjectName("jboss.security", "service", 
"JaasSecurityManager");
mbeanServer.invoke(name, "flushAuthenticationCache", params, 
signature);


Principal user = sessionContext.getCallerPrincipal();
char[] passwordChars = null; 

if( passwd != null ) {
passwordChars = passwd.toCharArray(); 
SecurityAssociation.setPrincipal(user); 
SecurityAssociation.setCredential(passwordChars); 
} 

} catch (Exception e) {
e.printStackTrace();
throw new EJBException(e);
}


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891463#3891463

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891463


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Servlet concurrency problem

2005-01-19 Thread vbatista
Hi!
   I have definded N servlets on my web.xml which use the same Servlet class. 
Each of my servlets has different configurations which I configure through 
servlet init parameters and applying different filters to each of them.
   I am experiencing the following problem: I can only access two of my 
servlets at the same time. Acesses to the third, fourth and others get blocked 
until one of the servlets is free/avalilable.

For instance: I have servlet a, b, c and d (all defined on web.xml with 
class example.Servlet). Each servlet is mapped to a different url, say a, b, c 
and d.  If I make an access to servlet a and another to servlet b everything 
works fine. If I access servlet c or d while accesses to a or b haven't 
finished, I get blocked. The request will only proceed when servlet a or b 
become avaliable:

If I make the requests below ordered, the third request will only be processed 
after the first or the second has finished.
http://127.0.0.1/a/xpto
http://127.0.0.1/b/foo
http://127.0.0.1/c/bar


The concurrency problem is only related with different servlets/mappings. I can 
make N concurrent accesses to each servlet (as long as I only access two 
different ones at the same time).

I have experienced this behavior with: 
JBoss-4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418) with Tomcat-5.0.28

and 

JBoss 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445) with Tomcat-4.1.29


Has any one experienced this? How can I avoid this behavior? 

Thanks in advance,
 Victor Batista




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862775#3862775

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862775


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Optimized loading Without Transactions

2005-01-10 Thread vbatista
Hello,
   I have several SessionBean methods which retrieve lists os records from the 
DB. If I wan't these methods to have no transaction, how can I avoid the 
"performance penalty"  referred on the book JBossCMP (Chapter 6->Optimized 
Loading->Transactions)? 

Book Excerpts:
"The performance impact of running without a transaction will be demonstrated 
with an example
similar to Listing 6-1. This example uses an on-find optimized query that 
selects the first four
gangsters (to keep the result set small), and it is executed without a wrapper 
transaction. "

"Normally this would be the only query executed, but since this code is not 
running in a
transaction, all of the preloaded data is thrown away as soon as findAll 
returns. Then at Arrow 2
JBossCMP executes the following four queries (one for each loop): 21..."


How can I  avoid this penalty on methods without Transactions?

Thanks in advance,
 Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861479#3861479

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861479


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - @jboss.method-attributes

2005-01-10 Thread vbatista
Hi!
  Where can I find documentation about jboss.method-attributes?
  
   Regarding the information which I have found, all the methods which have the 
method-attribute: read-only="true" won't issue the ejbStore(), and methods 
calling these methods won't be blocked on Transactions if the Entity Bean is in 
use by another Transaction. Am I right?
  
   I have added the XDoclet tags below to some of my entity beans. In each 
Transaction I call only once their getValueObject()

 * @jboss.method-attributes
 *  pattern="get*"
 *  read-only="true"


   Thank you in advance,
Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861478#3861478

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861478


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - CMP Transaction

2004-12-02 Thread vbatista
Hi!
   I have a CMP Entity Bean which  requires a Transaction by default for all 
its methods. I have the following Xdoclet tag on the class definition:
* @ejb.transaction type = "Required"

Than I have a getValueObject() which is defined as:

  /**
  * @ejb:interface-method view-type="both"
  * 
  * @ejb.transaction type = "Supports"
  **/
  public Xpto getValueObject() {
  Xpto xpto = new Xpto();
  xpto.setA(getA());
  return xpto;
  }
  
   ...

  /**
  * @ejb:persistent-field
  * @ejb:pk-field
  *
  * @jboss:column-name name="XPTO_A"
  **/
  public abstract int getA();

   /**
  **/
  public abstract void setA( int id);


  Method getA() is not defined on the bean interface. Will a transaction be 
created when I call getValueObject() (without being enrolled in a previous 
transaction)?
I have Transaction required for all methods, except getValueObject() which 
is supports...

The @ejb.transaction defined at class level applies only to the methods 
exposed on the Bean Interfaces, or does it apply even for non-exposed methods?

 Thanks in advance,
  Victor Batista
  

PS: The same applies for a session bean method (supports transaction) which 
calls a private method (the default for the bean transaction is Required).  
Will  a transaction be created on this case?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857266#3857266

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857266


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Web app accessing different security-domains

2004-11-04 Thread vbatista
Hello!
  I have a Web application which needs to propagate authentication to two EJB modules 
which use distinct security-domains. EJB-ModA is configured with security-domain A, 
EJB-ModB is configured with security-domain  B and the web app is configured on its 
jboss-web.xml with security-domain A. How can the web app  automatically authenticate 
itself on security-domain B?
   It would be something like the "security-identity" element available for EJBs. It 
would be necessary to have a rule for the web app like: When accdessing EJB-ModB use 
identity XPTO, being xpto a user with roles on  realm B.

   Any help would be welcome.
   Thanks in advance,
Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853918#3853918

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853918


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Clean Shutdown of MBean

2004-11-04 Thread vbatista
Thanks Dimitris!
I have it working according to your suggestion!!  I had to override the stopService() 
method with a synchronized boolean variable.

Regards,
 Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853881#3853881

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853881


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Clean Shutdown of MBean

2004-11-03 Thread vbatista
Hello!
  I have developed an MBean which executes every N minutes, launched by the JBoss 
Scheduler service (It runs in a clustered environment as a Singleton).
   I must guarantee that when JBoss Shutdown is invoked, and if my MBean is executing, 
JBoss waits until the current execution finishes. It's something like a Shutdown Hook, 
or like the CleanShutdownInterceptor which can be used for EJBs.
How can I  have this behavior with my MBean?
 
 Many thanks in advance,
   Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853818#3853818

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853818


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Export of multiple Session Beans

2004-10-07 Thread vbatista
Hello,
   I am exposing several session beans of the same enterprise application as web 
services with jboss.net . Some of these session beans export  POJO's with the xdoclet 
tag @jboss-net.xml-schema urn="Prefix:Name". My problem is that each WSDL has the 
typeMappings for every POJO exported. 

How can I isolate them? Suppose I have SessionBeanA which requires Object A, and 
SessionBeanB which requires Object B. How can I have the WSDL generated for 
SessionBeanA with only the typeMapping for Object A, and the equivalent to B 
(SessionBeanB's WSDL only have the typeMapping for Object B)?
 
Thanks in advance,
Victor Batista

PS: I am using Jboss 3.2.3


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850695#3850695

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850695


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Singleton / Scheduler

2004-10-02 Thread vbatista
Hi!
   The JBossClustering doc (JBossClustering_7*9.pdf) says that Clustered Singletons 
and Schedulers are intended to be deployed via farming (page 131 of 150). Why should I 
do this? Just to guarantee that I have the same versions across all nodes of the 
partition, or is there any other reason? I am deploying my Singletons and Schedulers 
through the default deploy dir and everything is working fine (almost).

   I have implemented a Scheduler through Clustering. I have tested it on a partition 
with two nodes. Only one started as master, as expected. Than I removed the network 
cable from one of them. The slave started as master too. The problem arrised when I 
reconnected the network cable. I ended with two master nodes in a partition with 
connectivity. Is this the expected behavior? Shouldn't one of the masters stop and 
become a slave? Has any one experienced this? I am running jboss 3.2.3.

   Thanks in advance,
Victor Batista

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850170#3850170

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850170


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Using different prefix values for the task jbossnet

2004-09-16 Thread vbatista
Hello!
I am exporting two Session Beans, of the same application, as Web Services 
correctly with Jboss 3.2.3. I am using the same prefix attribute for both of the 
jbossnet tasks, and exporting some Value Objects with the xdoclet tag 
@jboss-net.xml-schema urn="PREFIX:NAME".
   My question is:
 Can I use different prefixes for each exported session bean? I need this to 
export only the correct Value Objects for each web service.

The way I  am doing now, I get all the Value Objects for both web services.

Thanks in advance,
Victor Batista


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848481#3848481

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848481


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: wsdl:arrayType=

2004-09-16 Thread vbatista
Hi! 
  Thanks for your reply. No, I get an error using the 3.2.3 jar with 3.2.1.
   I decided to migrate everything to JBoss 3.2.3 and now everything is working fine. 
Thanks for your help.

   Regards,
  Victor Batista
 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848474#3848474

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848474


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - wsdl:arrayType=

2004-08-31 Thread vbatista
Hi!
   I am having problems exporting one session bean as a web service (JBOSS-NET) with 
jboss 3.2.1. The WSDL contains the block below, which crashes the WSDL2Java. If I 
deploy my ear with jboss 3.2.3 I don't have the block below on the WSDL and everything 
works fine. The problem is due to Exceptions in the throws clause of the exported 
methods. If I remove the throws from my methods, everything works fine on both jboss 
3.2.1 and 3.2.3.

  http://127.0.0.1:8080/jboss-net/services/MyWebService"; 
xmlns="http://www.w3.org/2001/XMLSchema";> 
  |   http://schemas.xmlsoap.org/soap/encoding/"; /> 
  |
  |  
  |  
  |
  |  
  |  
  | 
  |   



I really need to deploy my ear on jboss 3.2.1.
Any help would be appreciated.
Thanks in advance,
   Victor Batista

PS: The exception I get when I run WSDL2Java
   [java] java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}null is 
referenced but not defined.
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:484)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:384)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:371)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:358)
[java]  at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:243)
[java]  at java.lang.Thread.run(Thread.java:534)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846773#3846773

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846773


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - Exporting PK classes with JBoss.net

2004-04-18 Thread vbatista
Hello!
  I am having problems to export, as JBoss.net WS methods, SessionBean methods which 
return objects automatically generated by XDoclet.
  I am generating VO classes, which I extend.  For instance, XDoclet generates class 
UserData, and I generate the class User which extends UserData. If I mark the User 
class with:
 
   @jboss-net.xml-schema urn="Users:User" 

  Everything works fine. Although I have one problem which is the Primary Key class 
generated by XDoclet: UserPK. XDoclet automatically generates the getPrimaryKey() 
method on UserData  which returns a UserPK object. If I don't delete this method 
manually from UserData, I get a serializer not found for UserPK:
 faultString: java.io.IOException: No serializer found for class test.UserPK in 
registry [EMAIL PROTECTED]

  I can see two solutions for my problem (besides deleting getPrimaryKey() methods 
manually), but I'm having problems to get them working:
  1) Force http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831302#3831302

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831302


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user