[jboss-user] [JBossWS] - how to use jboss web service

2007-06-21 Thread sdwfxsf
Hi,
I meet a problem when I use JBoss web service.
On client I use wsconsume to generate the java classes.

The code is:
ApplicationService.java
package greenback.esb.test;import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

@WebService(name = ApplicationService, targetNamespace = 
http://test.esb.greenback/;)
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface ApplicationService {
@WebMethod
@WebResult(partName = return)
public String process(
@WebParam(name = arg0, partName = arg0)
Po arg0);

}


ApplicationServiceService.java

package greenback.esb.test;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;

@WebServiceClient(name = ApplicationServiceService, targetNamespace = 
http://test.esb.greenback/;, wsdlLocation = 
http://192.168.168.188:8080/application/applicationESB?wsdl;)
public class ApplicationServiceService
extends Service
{

private final static URL APPLICATIONSERVICESERVICE_WSDL_LOCATION;

static {
URL url = null;
try {
url = new 
URL(http://192.168.168.188:8080/application/applicationESB?wsdl;);
} catch (MalformedURLException e) {
e.printStackTrace();
}
APPLICATIONSERVICESERVICE_WSDL_LOCATION = url;
}

public ApplicationServiceService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}

public ApplicationServiceService() {
super(APPLICATIONSERVICESERVICE_WSDL_LOCATION, new 
QName(http://test.esb.greenback/;, ApplicationServiceService));
}

 
@WebEndpoint(name = ApplicationServicePort)
public ApplicationService getApplicationServicePort() {
return (ApplicationService)super.getPort(new 
QName(http://test.esb.greenback/;, ApplicationServicePort), 
ApplicationService.class);
}

}

ObjectFactory.java
package greenback.esb.test;

import javax.xml.bind.annotation.XmlRegistry;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the greenback.esb.test package. 
 * An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {


/**
 * Create a new ObjectFactory that can be used to create new instances of 
schema derived classes for package: greenback.esb.test
 * 
 */
public ObjectFactory() {
}

/**
 * Create an instance of [EMAIL PROTECTED] Po }
 * 
 */
public Po createPo() {
return new Po();
}

}

package-info.java
@javax.xml.bind.annotation.XmlSchema(namespace = http://test.esb.greenback/;)
package greenback.esb.test;

Po.java
package greenback.esb.test;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * Java class for po complex type.
 * 
 * The following schema fragment specifies the expected content contained 
within this class.
 * 
 * 
 * lt;complexType name=po
 *   lt;complexContent
 * lt;restriction base={http://www.w3.org/2001/XMLSchema}anyType;
 *   lt;sequence
 * lt;element name=age type={http://www.w3.org/2001/XMLSchema}int/
 * lt;element name=name 
type={http://www.w3.org/2001/XMLSchema}string; minOccurs=0/
 *   lt;/sequence
 * lt;/restriction
 *   lt;/complexContent
 * lt;/complexType
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = po, propOrder = {
age,
name
})
public class Po {

protected int age;
protected String name;

/**
 * Gets the value of the age property.
 * 
 */
public int getAge() {
return age;
}

/**
 * Sets the value of the age property.
 * 
 */
public void setAge(int value) {
this.age = value;
}

/**
 * Gets the value of the name property.
 * 
 * @return
 * possible object is
 * [EMAIL PROTECTED] String }
 * 
 */
public String getName() {
return name;
}

/**
 * Sets the value of the name property.
 * 
 * @param value
 * allowed object is
 * [EMAIL PROTECTED] String }
 * 
 */
public void setName(String value) {
this.name = value;
}

}



the wsdl file is
- definitions name=ApplicationServiceService 
targetNamespace=http://test.esb.greenback/; 
xmlns=http://schemas.xmlsoap.org/wsdl/; 

[jboss-user] [JBossWS] - how to use jboss web service

2007-06-21 Thread sdwfxsf
I am sorry the wsdl file changed after i submit,this is the new one

lt;definitions name='ApplicationServiceService' 
targetNamespace='http://cvicse.com/' xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
xmlns:tns='http://cvicse.com/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
 lt;types
  lt;xs:schema targetNamespace='http://cvicse.com/' version='1.0' 
xmlns:xs='http://www.w3.org/2001/XMLSchema'
   lt;xs:complexType name='po'
lt;xs:sequence
 lt;xs:element name='age' type='xs:int'/
 lt;xs:element minOccurs='0' name='name' type='xs:string'/
lt;/xs:sequence
   lt;/xs:complexType
  lt;/xs:schema
 lt;/types
 lt;message name='ApplicationService_processResponse'
  lt;part name='return' type='xsd:string'lt;/part
 lt;/message
 lt;message name='ApplicationService_process'
  lt;part name='arg0' type='tns:po'lt;/part
 lt;/message
 lt;portType name='ApplicationService'
  lt;operation name='process' parameterOrder='arg0'
   lt;input message='tns:ApplicationService_process'lt;/input
   lt;output message='tns:ApplicationService_processResponse'lt;/output
  lt;/operation
 lt;/portType
 lt;binding name='ApplicationServiceBinding' type='tns:ApplicationService'
  lt;soap:binding style='rpc' 
transport='http://schemas.xmlsoap.org/soap/http'/
  lt;operation name='process'
   lt;soap:operation soapAction=''/
   lt;input
lt;soap:body namespace='http://cvicse.com/' use='literal'/
   lt;/input
   lt;output
lt;soap:body namespace='http://cvicse.com/' use='literal'/
   lt;/output
  lt;/operation
 lt;/binding
 lt;service name='ApplicationServiceService'
  lt;port binding='tns:ApplicationServiceBinding' 
name='ApplicationServicePort'
   lt;soap:address 
location='http://192.168.168.188:8080/application/applicationESB'/
  lt;/port
 lt;/service
lt;/definitions

I use JBoss AS 4.2.0 GA

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056273#4056273

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Implement VNC/RDP/NetMeeting-like desktop sharing for he

2007-06-21 Thread modoc
DG:  very cool.  If I can get some time, I might take a stab at hacking 
something in:)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056274#4056274

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056274
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: log4j classcastexception with alfresco WAR

2007-06-21 Thread advaittrivedi
Hi,

I am using JBoss portal 2.4 with AS 4.0.5_GA and Alfresco 2.0. The problem is 
about class loading in JBoss Portal. Nothing to do with Alfresco WAR. 

Thanks  Regards,
Advait Trivedi

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056275#4056275

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to extract the page id

2007-06-21 Thread trekker880
hi how we can extract the view-id that is defined in the pageflow.jpdl.xml ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056276#4056276

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Converter works with MySql but not with Oracle...

2007-06-21 Thread alcltv
Here is what I found out when trying to save a String[] as a process variable:

With MySql everything works fine, I can save my array and retreive it later 
without any problem, the default configuration of the engine handles it very 
well. The converter class used by the engine for that is: 
org.jbpm.context.exe.converter.SerializableToByteArrayConverter saved with 
the R char value in the CONVERTER_ column of the JBPM_VARIABLEINSTANCE table.

The problem is when using Oracle, the same code fails to find the converter... 
The VariableInstance is instantiated with a null converter and then the value 
cannot be restored.
I found out that, in ConverterEnumType.nullSafeGet method, the call to 
resultSet.getString(names[0]) returns R  instead of R. This is what happen 
with Oracle (but not with MySql). Because of the extra space, the converter 
class cannot be found...



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056279#4056279

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056279
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can I split storage scheme JBPM and general?

2007-06-21 Thread slogger
estaub wrote : fady.matar wrote:
  | 
  | anonymous wrote : It is not recommended to use two JNDI for the same 
physical database. 
  | 
  | Look at the way the identity schemas are bound in to JBPM for starters, 
then note that hibernate-mapping has a schema attribute.
  | 
  | If you want independent transactions between the two contexts, you're on 
your own!
  | 
  | -Ed Staub
  | 

estaub, thank you for your answer! 
I will play with schema attribute of hiber.cfg

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056281#4056281

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056281
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Can we use Cookie??

2007-06-21 Thread littlefish
anybody know, can portlet use cookies to pass the data from A.war to b.war in 
the same server??

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056283#4056283

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056283
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: jndi-lookup ok, but then: not connected to server

2007-06-21 Thread gardon
Hello,

I have the same problem. How can it be solved?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056287#4056287

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056287
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBoss AS for Oracle Forms Application

2007-06-21 Thread fahimghauri
Hi,
I have been using Oracle Application Server for the deployment of Forms and 
Reports,
Now I am studying the JBoss AS,

I want to know that Can Oracle Forms and Reports be deployed on JBoss AS 
if yes then how?

Regards,
Fahim

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056288#4056288

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056288
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
trekker880 wrote : hi how we can extract the view-id that is defined in the 
pageflow.jpdl.xml ?

How to read the pageflow.jpdl.xml file in a java class like we do it in the 
processdefintion.xml in jbpm?

FileInputStream fis = new 
FileInputStream(processes/Hello_Core/processdefinition.xml);
ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(fis);

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056289#4056289

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: jndi-lookup ok, but then: not connected to server

2007-06-21 Thread Rhodan76
Look at the last posts  here 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4050020#4050020

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056290#4056290

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056290
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Hanging JBoss - invoked while multiple threads active within

2007-06-21 Thread flipmind
I got this exception and a hanging JBoss on a production site. Here is the last 
entries in the log: - 

12:03:03,012 WARN [ValidatorResources] Form 'ProductForm' not found for locale 
'en_NZ' 
12:07:41,977 WARN [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id 
-3f57fdff:12dd:466f4b3f:94029 invoked while multiple threads active within it. 
12:07:41,977 WARN [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - 
atomic action -3f57fdff:12dd:466f4b3f:94029 aborting with 1 threads active! 

It did not work until I restarted it. I don't know how to replicate it as it is 
the first time I have seen it. It may have occured at the same time as a user 
triggered a call to the loadCache() method of this EJB: - 

@Stateless 
@TransactionManagement (TransactionManagementType.CONTAINER) 
public class EStoreServerCacheManagerBean implements EStoreServerCacheManager, 
EStoreServerCacheManagerLocal { 
/** 
* Called when the cache needs to be refreshed from the database 
*/ 
@TransactionTimeout(value=600) //10 Minutes to load all the summaries 
public void loadCache() { 
logger.debug(loadCache called); 
Store[] stores = storeManager.getStores(); 
for(Store store : stores) { 
EStoreObjectSpace.loadCache(store); 
} 
  } 
} 

EStoreObjectSpace.loadCache() is defined as: - 

public static synchronized EStoreCache loadCache(Store store) { } 

Could it be that this method is synchronized ? 

Does any one have any recommendations for debugging this? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056291#4056291

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056291
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: jndi-lookup ok, but then: not connected to server

2007-06-21 Thread gardon
I use different version of JBossIDE, but it helped. Thanks a lot! :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056293#4056293

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056293
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: how to separate listening port on JMX console and my web

2007-06-21 Thread Tobias
Hi!
You might be able to setup a second http connector for port 9090. But then 
both, 8080 and 9090 will serve both jmx-console and your web-app.
My advice is to convince your boss that using a Remote Address Filter or a 
Remote Host Filter in front og the jmx-console is the best solution for now.

Alternativly you could try to start a separate tomcat on 9090 (stand alone) 
with an JMX-application that accesses JBoss via JMX remote. I don't know if 
such a app exists.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056294#4056294

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBP2.6RC2 - MySQL5 : SQL Warning: 1051, SQLState: 42S02

2007-06-21 Thread Antoine_h
I did :
 - installation
 - setting of datasource preference : MySQL5
 - then testing it is ok
 - etc...
I set the datasource to MySQL5 only for PortalDS.
I have let the hypersonic db for the DefaultDS (for the time being, but will 
put it in MySQL5 later... more clean for prod).

About drop database :
the scripts are several : one for all the database, and some for deleting 
specifically the CMS part, the user and role part, the Portal part.

When developping, I usually erase only the Portal part. 
And keep safe the CMS and Users/Roles parts. 

This to clean the portal description (when playing with new 
windows/instances/portlets), but KEEP all the data of the CMS and all the users 
I need for my tests.
Can't recreate all this each time. 

That's why I do not drop the whole DB.

By the way, I used to do some delete of records rather than drop table : 
avoid to recreate the tables... quicker when relaunching the server... which 
may be several time per hours, when playing with new windows, instances, and 
portlets.

With JBPM, the tables are strongly in relation with foreign keys. It seems not 
possible to just suppress the records (the jbpm objects/instances). 
Do you know a way to do that ?
(may be it will not be something to do oftenly, like Users/Roles part... but 
just to know).



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056296#4056296

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056296
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - java.io.IOException: No properties file: users.properties or

2007-06-21 Thread cte_2241
Hi,

Basically I am a new guy getting familiar with Jboss. This is the exception I 
have received on my JBoss-4.0.5.

java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found at 
org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)

I am trying to implement JAAS security with my application on Jboss. I have 
written a class which extends from HttpServlet and implements LoginModule. My 
aim is to build a small login/password application. From the JSP i can capture 
the values using the request scope which is available in my class. I am 
invoking the login() in the service method of my class. I am not using the 
NameCallback or PasswordCallback or for that matter any of the Callback 
classes. My authentication will and is hard coded in the class and the 
authentication will be based on the values received from the JSP. Any help on 
this issue will be appreciated.

Cheers,

Amaan 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056297#4056297

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056297
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: problem with EJBQL queries in JBoss 4.2.0 GA

2007-06-21 Thread hispeedsurfer
Hello,

Is there a known problem with illegal attempt to dereference collection 
exception?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056300#4056300

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056300
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: issue with bridge while JBoss starting

2007-06-21 Thread JasonHsu
I checked 
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch2.chapter.html#ch2.servicedep.fig,
 however it didn't say how to do it exactly.   The most confusing part is the 
attribute name SourceProviderLoader in bridge configuration file.  I have no 
idea what attribute name I can use to set the dependancy to a destination.  
Finally, I found an old post in 2004. It shows the exact answer.  Then I add
dependsjboss.messaging.destination:service=Queue,name=QueueA/depends
  | dependsjboss.messaging.destination:service=Queue,name=QueueB/depends
  | 

It works fine now if both of the source and target destinations and the bridge 
are on the same JBoss.   However, what I real want to know is that can one or 
both destinations are on the JBoss other than the bridge and how to config it?

I've tried to add a remote JMS provider in jms-ds.xml (it works if I use a MDB 
to listen to a remote queue):
mbean code=org.jboss.jms.jndi.JMSProviderLoader
  |   
name=jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider,server=remote01
  | 

I'm wondering how to write the depends to point to a remote destination?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056302#4056302

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056302
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem deploying web service

2007-06-21 Thread Christy
Realy nobody knows about this priblem? It's very important for me! 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056303#4056303

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Thanks

2007-06-21 Thread changemylife
 Hi all!

   Thanks ! I solved my problem.

   Good luck to all.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056304#4056304

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056304
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is jbpm-jpdl-3.2.GA ready for production use?

2007-06-21 Thread kukeltje
no

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056305#4056305

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056305
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM on DB2

2007-06-21 Thread cnblockl

I am looking to deploy jBPM with DB2 v7.1 on Z/OS.

Has anyone had any experiences of this? problems? things to look out for? DDL 
issues?

I know of the common issues with DB2 on this platform (e.g. 18 byte object 
limits, etc.) but any advise or recommendations would be much appreciated.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056306#4056306

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056306
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: facelets 1.1.12 vs packaged with seam 1.3.0.A

2007-06-21 Thread [EMAIL PROTECTED]
I think you mean 1.1.13a. I have tested and 1.1.12a is definitely not 
compatible with the latest seam. 1.1.13 seems to be working well.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056307#4056307

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056307
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm-jpbdl-3.2.GA : can't close JbpmContext

2007-06-21 Thread kukeltje
then configure a transactionservice. See the docs for this

http://docs.jboss.com/jbpm/v3.2/userguide/html/deployment.html
http://docs.jboss.com/jbpm/v3.2/userguide/html/persistence.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056308#4056308

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056308
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem deploying web service

2007-06-21 Thread griff7023
If you were to be a little more specific someone might be able to help.

How are you deploying it as a .war, an exploded war, a .ear, etc.?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056309#4056309

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056309
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Code too large for try Statement + JBoss 4.0.1 + Struts

2007-06-21 Thread JbossUserNew786
Hello All,

I have a very Big page with lots of control on it. I am not using any scriplets 
on JSP page. My whole page consists of struts tags. Just a Presentation logic 
using struts. 
I want to add some more functionality to it. But it gives me error code too 
large for try statement . If I removed some other part of code from page 
then it works.
So I come to conclusion that  there is some limit on page size.

I have heard that the method cant be more than 64K. As I have one JSP page it 
automatically gets converted into JSP_Service which in my case may be more than 
64K. 

To solve this
1] I have divided the JSP code and then used jsp:include But of no use. as 
finally it would be converted into single service Method.

2]  I have put the following line of code into web.xml and also tried to put in 
Jboss-web.xml. But this also does not work for me.
jsp-descriptor
   jsp-param
param-namenoTryBlocks/param-name
param-valuetrue/param-value
  /jsp-param
/jsp-descriptor 

Is there any solution for above? 
Thanks!


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056310#4056310

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: issue with bridge while JBoss starting

2007-06-21 Thread timfox
JasonHsu wrote :   The most confusing part is the attribute name 
SourceProviderLoader in bridge configuration file. 
  | 

You don't want to touch the SourceProviderLoader dependency in the bridge 
config. I only used that as an example of something else that uses dendendencies

anonymous wrote : 
  |  I have no idea what attribute name I can use to set the dependancy to a 
destination.  Finally, I found an old post in 2004. It shows the exact answer.  
Then I add
  | dependsjboss.messaging.destination:service=Queue,name=QueueA/depends
  |   | dependsjboss.messaging.destination:service=Queue,name=QueueB/depends
  |   | 
  | 

The thing in the depends is just the service name of the service you want to 
wait for. 

You can find the service names of the services by looking in the service's 
MBean config file (or looking at the jmx-console).

The service name of queuB (as you discovered) is 
jboss.messaging.destination:service=Queue,name=QueueB  - (look in 
destinations-service.xml)

It's very simple.

anonymous wrote : 
  | It works fine now if both of the source and target destinations and the 
bridge are on the same JBoss.   However, what I real want to know is that can 
one or both destinations are on the JBoss other than the bridge and how to 
config it?
  | 

AFAIK you can't do remote dependencies
.

Currently the bridge, once started, will retry if the connection goes down. But 
the connection must be up at the begining.

I can change the code slightly so it retries at startup too.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056311#4056311

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056311
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is jbpm-jpdl-3.2.GA ready for production use?

2007-06-21 Thread kukeltje
sorry, to short an answer... There are some small known issues, which can 
prevent some users to be able to fully use it. 3.2.1, which addresses most of 
these issues. If you cannot wait, checkout the latest from the 3.2 branche from 
cvs

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056314#4056314

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056314
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is jbpm-jpdl-3.2.GA ready for production use?

2007-06-21 Thread kukeltje
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmDbCompatibility

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056315#4056315

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056315
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Probably a silly question, but couldn't figure out why - I've configured JmsXA 
to be enlisted in Global Name Space and deployed (see below)

20070621 09:00:32.333 INFO  [main] ConnectionFactoryBindingService.Bound 
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to 
JNDI name 'JmsXA'():  Bound ConnectionManager 
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'JmsXA'

However, when I do the lookup for publishing a message, I get the CF as null. 


  |  public void publish3() throws Exception
  | {
  | Connection conn = null;
  | try
  | {
  |ConnectionFactory fac = (ConnectionFactory) 
initialContext.lookup(JmsXA);
  | logger.info(--got xa conn fact + fac);
  | conn = fac.createConnection();
  | logger.info(--created conns);
  | Session xaSession = conn.createSession(false,
  | Session.AUTO_ACKNOWLEDGE);
  | logger.info(--created sessions);
  | MessageProducer publisher = 
xaSession.createProducer(XATEST_QUEUE_1_DEST);
  | logger.info(--created pubishers);
  | TextMessage message = xaSession.createTextMessage(Hello!);
  | logger.info(--created txtmsgs);
  | publisher.send(message);
  | }
  | catch (Exception e)
  | {
  | logger.info(Exception in onMessage()  + e.getMessage());
  | }
  | finally
  | {
  | closeConnection(conn);
  | }
  | }
  | 

I can see the JmsXA bound happily in JNDI View, but can't access though. I'm 
not sure how and why this happens? Any help appreciated!

/Madhu

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056318#4056318

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056318
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
And this is my tx-connection-factory definition:
 !-- JMS XA Resource adapter, use this to get transacted JMS in beans --
  |tx-connection-factory
  |   jndi-nameJmsXA/jndi-name
  |   use-java-contextfalse/use-java-context
  |   xa-transaction/
  |   rar-namejms-ra.rar/rar-name
  |   
connection-definitionorg.jboss.resource.adapter.jms.JmsConnectionFactory/connection-definition
  |   config-property name=SessionDefaultType 
type=java.lang.Stringjavax.jms.Topic/config-property
  |   config-property name=JmsProviderAdapterJNDI 
type=java.lang.Stringjava:/DefaultJMSProvider/config-property
  |   max-pool-size20/max-pool-size
  |   
security-domain-and-applicationJmsXARealm/security-domain-and-application
  |   dependsjboss.messaging:service=ServerPeer/depends
  |/tx-connection-factory
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056319#4056319

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056319
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
BTW, I am accessing the CF from a Stanalone client (and hence JmsXA bound to 
Global NS)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056320#4056320

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056320
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
You can't use the JMS RA outside the VM.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056321#4056321

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056321
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: [tooling]

2007-06-21 Thread thephil
You must have done seam setup at the very beginning, right? If so, there is a 
build.properties file. 

Please post the contents of the build.properties.

What database are you using?
Does the user that you use to connect to the database own the tables you want 
to access?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056323#4056323

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056323
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Does't say anything here thuogh: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory

What I'm trying to achieve is like this:

In a standalone client, I need to use UserTransaction to scope JMS and DB work. 
That is, I need to send a message and update the DB, all in one transaction. 

If I can't use JmsXA, what is the other way I can enlist these two resoruces in 
a UserTransaction, Tim?

Thanks
Madhu

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056324#4056324

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056324
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
I'm sure there are wiki pages about this somewhere.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056322#4056322

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056322
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Locating timers from process instance

2007-06-21 Thread pcuvecle
Anyone found the answer to this ?

I have a similar requirement since we need to be able to update a timer that 
was declared in the process definition (let 's say that the process definition 
declared 10 business days and that we need, for a business reason, to extend 
this duration with 5 more additional days)

We are using jBPM 3.1.2

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056326#4056326

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Which view handler JBoss 4.2 needs for facelets ?

2007-06-21 Thread mailmustu
hi.any idea why am I getting this exception ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056327#4056327

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM on DB2

2007-06-21 Thread kukeltje
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmDbCompatibility

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056329#4056329

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is jbpm-jpdl-3.2.GA ready for production use?

2007-06-21 Thread kukeltje
sorry last post in wrong topic

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056328#4056328

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - a4j vs valuechangelistener

2007-06-21 Thread Sammy8306
I started out with the following code:

  | div class=input
  |   ui:repeat var=listvar 
value=#{NewBlogEntryComponent.blogEntry_be.tags}
  |   h:outputText value=#{listvar} /   
  |   h:commandButton value=Delete 
action=#{NewBlogEntryComponent.remove(listvar)}/
  |   br /
  |   /ui:repeat
  |   br /
  |   s:decorate
  | h:selectOneMenu id=tags1 value=#{dev.nulll} 
onchange=submit() valueChangeListener=#{NewBlogEntryComponent.listener}
  |  s:selectItems var=field label=#{field.toString} 
value=#{AllTag} noSelectionLabel=Please select :  /
  |  s:convertEntity/
  |/h:selectOneMenu
  | /s:decorate 
  | /div
  | 
This is part of a larger form, where I'm letting the user fill an entity. The 
depicted part is my stab at trying to input a list of references to other 
entities. In the valuechangelistener I retrieve the selected entity directly 
(thank you s:convertEntity!) and add it to the list. Works like charm, except 
that when the onchange event occurs, the complete form is submitted (and thus 
validated), whereas I'm only interested in updating the list. So, my next move 
was to use Ajax4Jsf (since I'm not willing to extract this part into its own 
separate form):


  | .. skipped ui:repeat part, is the same ..
  |  s:decorate
  | h:selectOneMenu id=tags1 value=#{dev.nulll}
  |  s:selectItems var=field label=#{field.toString} 
value=#{AllTag} noSelectionLabel=Please select :  /
  |  s:convertEntity/
  |  a:support event=onchange reRender=relevantid 
bypassUpdates=true action=#{NewBlogEntryComponent.listener(field)}/
  |/h:selectOneMenu
  |   /s:decorate
  | 

However, the parameter I'm receiving in listener() is always null. How can I 
access the selected value in the action method called by a:support? I guess 
field is not really in scope anymore for the a:support tag, but what are my 
options?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056330#4056330

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056330
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: facelets 1.1.12 vs packaged with seam 1.3.0.A

2007-06-21 Thread mailmustu
hi,

can you please tell me what are the steps to integrate facelets with Seam.

when I use 'org.jboss.seam.ui.facelet.SeamFaceletViewHandler '
I get following error:
Exception sending context initialized event to listener instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
javax.faces.FacesException: java.lang.UnsupportedOperationException 

the detailed exception trace , web.xml and faces-config.xml is at
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056327#4056327

Thanks,
Mustafa

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056332#4056332

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056332
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: facelets 1.1.12 vs packaged with seam 1.3.0.A

2007-06-21 Thread [EMAIL PROTECTED]
There is no SeamFaceletViewHandler anymore in 1.3

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056335#4056335

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056335
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: [tooling]

2007-06-21 Thread enzhao
this is ellenzhao posting...

well the build.properties file contains only one line. That's the path of 
JBOSS_HOME. I've manually mapped the entities and now continue programming in 
the business layer...

My DB server is MySQL 5.0.41, yes I have got all kinds of rights granted. There 
is one line in the org.hibernate.dialect.MySQL.java which causing problem. 
Please see:

http://forum.hibernate.org/viewtopic.php?t=973526

I patched hibernate myself and it's working for me now.

But I'm not sure whether this was causing the seam-gen problem or not


Regards,
Ellen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056336#4056336

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - we're going to insert CLOB data in oracle db, using jboss4.0

2007-06-21 Thread ljg76
hi? 

Nice meet you

when we insert CLOB data in oracle db, using jboss4.0.4,

we have a problem.

if you want to disclose a error cause, you must compare two source.

first java source has a matter, second jsp source hasn't any error.

i want to known a case of first source error.

The following first source has a NoClassDefFoundError of 
jboss/resource/adapter/jdbc/WrappedConnection
--

/*
* Classname : DataChange.java
* Version information : v 1.0
*/ 

import java.sql.Clob;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import java.util.Iterator;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.io.StringWriter;
import java.io.StringReader;

import oracle.sql.CLOB;
import org.jboss.resource.adapter.jdbc.WrappedConnection;


public class EpiaClobUtil
{

public static Clob createClob(Connection con, String string) throws 
SQLException
{
CLOB clob = null;
boolean bOk = false;
WrappedConnection wc = null;

System.out.println(wc :  + wc);   

try
{
wc= (WrappedConnection) con;

Connection 
oracleConnection=wc.getUnderlyingConnection();
clob = CLOB.createTemporary(oracleConnection, true, 
CLOB.DURATION_SESSION);
clob.open(CLOB.MODE_READWRITE);

BufferedWriter bw = new 
BufferedWriter(clob.getCharacterOutputStream());

try
{
bw.write(string, 0, string.length());
bw.close();
}
catch (IOException e)
{
System.out.println(createClob5 + e);
System.out.println(createClob51 + 
e.getMessage() );
}

bOk = true;

}catch(Exception e1){
e1.printStackTrace();
System.out.println(createClob11 + e1);

}
finally
{
if (!bOk  clob != null)
{
try
{
CLOB.freeTemporary(clob);
}
catch (SQLException e)
{
e.printStackTrace();
System.out.println(createClob8 + e);
}

clob = null;
}
}

return clob;
}


}



The Following Second Source has not any problem  


%@ page contentType=text/html; charset=euc-kr session=true%
%@ page import =  java.util.*,
java.text.*,
java.io.*,
java.sql.*,
javax.sql.*,
com.ehigh.univdbfwl.*,
javax.naming.*,
org.jboss.resource.adapter.jdbc.WrappedConnection 

%

%   

InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup(java:/DefaultDS);

Connection con = ds.getConnection();

System.out.println(First Connection  -- +con.toString()+);
out.println(First Connection  -- +con.toString()+);

if(con instanceof WrappedConnection){

System.out.println(Yes instanceof);
out.println(Yes instanceof);

WrappedConnection wc=(WrappedConnection)con;
Connection oracleConnection=wc.getUnderlyingConnection();

}else{
System.out.println(No instanceof);
out.println(No instanceof);
}

WrappedConnection unlycon = (WrappedConnection)con;

System.out.println(unlycon.getUnderlyingConnection()+);
out.println(unlycon.getUnderlyingConnection()+);

Connection con1 = ds.getConnection();
WrappedConnection unlycon1 = (WrappedConnection)con1;

System.out.println(unlycon1 Connection 

[jboss-user] [JBoss Seam] - Re: Which view handler JBoss 4.2 needs for facelets ?

2007-06-21 Thread craigbarker2
Hi, I had the same problem running 1.3.0 a1 on 4.2. 

I upgraded the JSF RI to the latest version (jsf-1.2_04-b16-p02) and that gave 
me much more information on what was going wrong. Just drop the jars into 
#JBOSS_HOME#\server\default\deploy\jboss-web.deployer\jsf-libs 

Once I did this it uncovered that I had a class not found on 
org.jboss.seam.jsf.SeamELResolver. 

I dug some more and discovered that I needed to take out the line 

el-resolverorg.jboss.seam.jsf.SeamELResolver/el-resolver 

from faces-config.xml. 

Now I don't know if you'll have the same root issue with 1.2.1 on 4.2 but if 
you do the first step it'll give you much more information to work with.

Good luck.

Craig

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056338#4056338

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056338
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Consider extending of ModuleInstance with end(), suspend

2007-06-21 Thread p4elka
Do you mean that there is already JIRA issue created about the subject ? I 
cannot find anything related. If you know specific issue, could you please 
paste a link here ? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056339#4056339

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056339
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: initial default page not displayed from source build

2007-06-21 Thread cypherfox
Hmmm... I need to use ejb 3.0. How else than AS 4.2 can I get the portal to 
work on a ejb3 environment?

What is the timeframe on the solution on this problem? Days, weeks, months? 
Should I wait or look for a different solution?

mfg lutz

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056340#4056340

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Which view handler JBoss 4.2 needs for facelets ?

2007-06-21 Thread mailmustu
Thanks a lot craig , I will try that out.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056341#4056341

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056341
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: initial default page not displayed from source build

2007-06-21 Thread [EMAIL PROTECTED]
ejb3 works fine on 4.0 you will need to use the JEMS installer (with the ejb3 
profile) then upgrade JBoss Portal

[url]http://labs.jboss.com/jemsinstaller/downloads[url]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056342#4056342

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056342
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Consider extending of ModuleInstance with end(), suspend

2007-06-21 Thread kukeltje
In this forum:

http://www.jboss.com/index.html?module=bbop=viewtopict=76733

first hit in google:

http://www.google.nl/search?q=jira+suspend+event+jbpm



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056343#4056343

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056343
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: BPEL process doesn't respond

2007-06-21 Thread Kantti_
Hello again.

I noticed that I had forgotten to add the createInstance attribute to the 
receive.

The server sayes the following when I execute the redeploy command:

12:07:47,143 INFO  [[/jbpm-bpel]] processDeployServlet: deploying process 
definition: 
file=file:/C:/jboss/jbpm-bpel-1.1.Beta3/examples/Omahello/target/hello-process.zip
  | 12:07:47,611 INFO  [BpelReader] read wsdl document: hello.wsdl
  | 12:07:47,627 INFO  [BpelReader] read wsdl document: hello.wsdl
  | 12:07:47,658 INFO  [BpelReader] read bpel document: hello.bpel
  | 12:07:47,815 INFO  [[/jbpm-bpel]] processDeployServlet: deployed process 
definition: HelloWorld
  | 12:08:00,674 INFO  [TomcatDeployer] deploy, ctxPath=/hello, 
warUrl=.../tmp/deploy/tmp38050hello-exp.war/
  | 12:08:00,940 WARN  [ProxyWarnLog] Narrowing proxy to class 
org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
  | 12:08:01,018 WARN  [ProxyWarnLog] Narrowing proxy to class 
org.jbpm.bpel.integration.def.ReceiveAction - this operation breaks ==
  | 12:08:01,174 INFO  [IntegrationConfigurator] Message reception enabled for 
process: HelloWorld
  | 12:08:01,330 INFO  [WSDLFilePublisher] WSDL published to: 
file:/C:/jboss/jboss-4.0.5.GA/server/default/data/wsdl/hello.war/hello-service.wsdl
  | 12:08:01,409 WARN  [ProxyWarnLog] Narrowing proxy to class 
org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
  | 12:08:01,440 ERROR [StartListener] could not start process instance
  | org.jbpm.bpel.BpelException: could not select nodes
  | at 
org.jbpm.bpel.sublang.xpath.XPathExpressionEvaluator.evaluate(XPathExpressionEvaluator.java:86)
  | at 
org.jbpm.bpel.graph.basic.assign.FromExpression.extract(FromExpression.java:36)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.bpel.graph.basic.Assign$From_$$_javassist_112.extract(Assign$From_$$_javassist_112.java)
  | at org.jbpm.bpel.graph.basic.Assign$Copy.copyValue(Assign.java:95)
  | at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:54)
  | at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:393)
  | at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:205)
  | at 
org.jbpm.bpel.graph.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:52)
  | at org.jbpm.bpel.graph.basic.Receive.accept(Receive.java:96)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.bpel.graph.basic.Receive_$$_javassist_16.accept(Receive_$$_javassist_16.java)
  | at 
org.jbpm.bpel.graph.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:61)
  | at org.jbpm.bpel.graph.struct.Sequence.accept(Sequence.java:103)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.bpel.graph.def.Activity_$$_javassist_159.accept(Activity_$$_javassist_159.java)
  | at 
org.jbpm.bpel.graph.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:46)
  | at 
org.jbpm.bpel.graph.def.BpelProcessDefinition.messageReceived(BpelProcessDefinition.java:149)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.bpel.graph.def.BpelProcessDefinition_$$_javassist_84.messageReceived(BpelProcessDefinition_$$_javassist_84.java)
  | at 
org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:118)
  | at 

[jboss-user] [JBoss jBPM] - Re: async pain

2007-06-21 Thread kukeltje
If you expect the fork to behave as a multi-threaded parallel execution, then 
sorry.. that is not what jBPM is/does. If you want that, make the nodes in each 
leg of a fork async, but not the fork itself. 

According to the code, async on a node locks the currenttoken. Not strange then 
that in the join it cannot be reactivated. So try removing the async on both 
join and fork.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056348#4056348

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [J2EE Design Patterns] - How can i invoke Servlet class file from JSP?

2007-06-21 Thread kumar3_99
Hi,
I am new user.
I have a doubt.
Please help me anyone person.

How can i invoke Servlet class file from JSP?

Advance Thank you,
K.S.Kumar

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056349#4056349

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056349
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Consider extending of ModuleInstance with end(), suspend

2007-06-21 Thread p4elka
Hmm, I do not really want this to be supported through events. Actually suspend 
and resume is not of a big interest to me, currently I do care about process 
instance end. And there is already a 'process-end' event, but in order to be 
notified about the event inside my module instance, I need to create runtime 
action and register it in process instance. Runtime action needs to be 
associated with action + delegation, and the problem is that action will be 
persisted on process instance save and I do not want to create any additional 
database records. All I need it simply lightweight notification about the fact 
that process instance is ended, so I could do necessary 'finalization' actions 
in my module instance, same way it is now now in TaskMgmtInstance, imagine if 
TaskMgmtInstance notification would be implemented using events and I do not 
see reasons why built-in module instances should be handled differently then 
custom ones, at least in this area.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056350#4056350

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056350
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
UserTransaction is only available in the java: namespace too (see J2EE spec)

In order to run recoverable transactions with different resources (DB and JMS) 
in a global tx *outside* the application server, you would need to:

a) Have a transaction manager
b) Have a recovery manager

running at the client. 
The transaction manager would also need to have a trusted, reliable file system 
where it can log at the client side.

So, in other words you would have to recreate half the app sever at the client 
side to do this - this is almost certainly not something you would want to do.

If you want to enlist more than one resource in a global tx - do it on the app 
server (write an MBean or EJB or Servlet) where the infrastructure already 
exists to support this.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056346#4056346

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056346
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: async pain

2007-06-21 Thread kukeltje
Alex,

Building these kinds of 'does-this-file-exist' checks is not something we 
promote in doing with jBPM timers. The better solution is to have an ESB like 
solution, which often has really good file polling. This can then signal the 
tokens. 

You are correct in the assumption that JMS would not help in this case. I mixed 
two things up.  The thing is that the subject does not cover the issue anymore. 
The issue is purely related to concurrent access to a token (in this case when 
2 tokens go in the join)

Sorry I did not try to run the testcase (yet) Do you get an exeption?

btw, why is there an async=true on the fork? What behaviour do you expect?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056345#4056345

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056345
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j vs valuechangelistener

2007-06-21 Thread [EMAIL PROTECTED]
Unfortunately thats not the way s:selectItems works - it doesn't make the var 
attribute available outside of itself (you would have to nest the a:support 
anyway).  I'm not really convinced of a good arguement for changing this.

I would suggest using an valueChangeListener style approach, where you get the 
valueChangeEvent with the altered property.  I'm not sure what the magic 
combinations of a4j tags is I'm afraid :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056352#4056352

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
See the FAQ 
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient

Note it seems you can access the datasource remotely, but (in bold type) this 
is not recommended.

For one thing, I don't see how transaction enlistment would work, since you'll 
have no transaction manager on the client side.

Anyway, you should ask this on the JCA forum, since this is nothing to do with 
JBM.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056353#4056353

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - World clock portlet

2007-06-21 Thread vsramineni
Hai ,

  Iam downloaded  worldclock portlet  from net and it contains only one xml 
file. I dont know how to use it ie how to deploy it in jboss portal.

Please give me some suggestions regarding this.


JBoss portal-2.6-CR2

thanks,

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056354#4056354

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056354
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem deploying web service

2007-06-21 Thread Christy
What do you mean by saying more specific?
I'm deploying it as a .war. 
Here is the code of web-service:

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.soap.SOAPBinding;
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class WSJaxws {
  @WebMethod
public String hello(String param){
 String res = ;
  res = Hello +param;
  return res;
  }
}
So I have only java code and web.xml file. When I start jboss it deploys this 
web-service and I here: http://localhost:8080/jbossws/services I have WSDL 
file. So everything seems to be fine. But when I restart jboss the web service 
dessapeares! So I need to rewrite web.xml file (before deploying I had one 
web.xml, but after deploying jboss changed it, but I know that i is normal). 
And if I rewrite web.xml as it was before first deploying my web service 
appeares!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056356#4056356

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread [EMAIL PROTECTED]
You should start by explaining what you are trying to do.  Alternatively look 
at the code in org.jboss.seam.bpm.Jbpm to see how Seam parses the pageflow (if 
you *really* want to reparse it yourself)!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056358#4056358

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056358
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - value of selectItems not posted in the form?

2007-06-21 Thread idylle
Hi,

I've got a problem with the h:selectOneMenu and s:selectItems elements.

If I use  h:selectOneMenu with f:selectItem (id=colaff  in the code below) 
, the value chosen in the select box is part of the values submitted with the 
form, no problem.
But if I use   h:selectOneMenu with s:selectItems (id=tpcidt   in the code 
below), the value selected in the box is ignored when I submit the form. 


h:form id=collectivitesSearch styleClass=edit accept-charset=UTF-8 
  | s:decorate template=layout/display.xhtml
  | ui:define name=labelVille/ui:define
  | h:inputText id=colvil 
value=#{collectivitesList.collectivites.colvil}/
  | /s:decorate
  | 
  | s:decorate template=layout/display.xhtml
  | ui:define name=labelType de collectivité/ui:define
  | 
  | h:selectOneMenu id=tpcidt 
value=#{collectivitesList.collectivites.typcol}
  | s:selectItems 
value=#{typcolList.resultList} var=untypcol label=#{untypcol.tpclib} 
noSelectionLabel=Select... hideNoSelectionLabel=false/
  | s:convertEntity /
  | /h:selectOneMenu  
  | /s:decorate
  | 
  | s:decorate template=layout/display.xhtml
  | ui:define name=labelAffiliation/ui:define
  | h:selectOneMenu id=colaff 
value=#{collectivitesList.collectivites.colaff}
  | f:selectItem itemValue= itemLabel=  /
  | f:selectItem itemValue=O itemLabel=Oui /
  | f:selectItem itemValue=N itemLabel=Non /
  | /h:selectOneMenu
  | /s:decorate
  |   
  | div class=actionButtons
  |h:commandButton id=search value=Chercher 
action=/CollectivitesList.xhtml?firstResult=0
  |/h:commandButton
  | /div
  | /h:form

Should I add something in my pages.xml? (I tried to add the param tpcidt but 
with no effect) 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056360#4056360

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056360

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam PDF - missing XSD?

2007-06-21 Thread [EMAIL PROTECTED]
No, I don't xsds for 1.3 are up yet (they will be for the GA).  It's in 
org.jboss.seam anyway.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056361#4056361

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread [EMAIL PROTECTED]
Post your backing beans

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056362#4056362

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056362
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: World clock portlet

2007-06-21 Thread [EMAIL PROTECTED]
Is it a JSR-168 portlet ? Does it contain portlet.xml ?

If yes to both, then it deploys like any other JSR 168 portlet, see the doc.

if not you can probably not deploy it in any other portal but the one it was 
made for.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056365#4056365

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Hello Tim, this is what I did and it works!! 


  | /**
  |  * Method that receives the messages on the specific destination and 
persist
  |  * them into a database table all in one transaction. 
  |  * 
  |  * If the transction is committed, the message is consumed from the 
  |  * destination and acknowledged and a row appears in the database.
  |  * 
  |  * If the transaciton is rolled back, the message still apears on the 
  |  * destination and the row does not get persisted in the database
  |  * 
  |  * @param destination
  |  * @param isDurable
  |  * @throws Exception
  |  */
  | public void receiveAndPersistCommit() throws Exception
  | {
  | 
  | /*
  |  * Create XAConnection and XASession objects
  |  */
  | XAConnection c = jbcf.createXAConnection();
  | XASession xaSession = c.createXASession();
  | 
  | /*
  |  * Obtain a Messaging (JMS) XA Resource
  |  */
  | MessagingXAResource msgRes = 
  | (MessagingXAResource) xaSession.getXAResource();
  | 
  | /*
  |  * Create a sybase resource
  |  */
  | SybaseXAResource sybaseRes = new SybaseXAResource();
  | javax.sql.XAConnection sybaseXaConn = sybaseRes.getXAConnection();
  | 
  | /*
  |  * Obtain a sybase XA Resource
  |  */
  | XAResource sybaseXaResource = sybaseXaConn.getXAResource();
  | 
  | /*
  |  * Strat the transaction manager
  |  */
  | tm.begin();
  | 
  | /*
  |  * Obtain a reference to the transaction object
  |  */
  | Transaction tx = tm.getTransaction();
  | 
  | logger.info(Enlisting resources);
  | 
  | /*
  |  * Enlist the resources
  |  */
  | tx.enlistResource(msgRes);
  | tx.enlistResource(sybaseXaResource);
  | 
  | /*
  |  * Start the connection. Unless you start, you won't see messages
  |  * being consumedd (usual culprit)
  |  */
  | c.start();
  | 
  | logger.info(Connection started);
  | 
  | /*
  |  * Create a message consumer
  |  */
  | MessageConsumer mc = xaSession.createConsumer(XATEST_QUEUE_1_DEST);
  | 
  | logger.info(Consumer started );
  | 
  | Message msg = mc.receiveNoWait();
  | 
  | if (msg != null)
  | {
  | logger.info(Message received:  + ((TextMessage) 
msg).getText());
  | }
  | else
  | {
  | logger.info(No message);
  | }
  | 
  | java.sql.Connection sybaseConn = sybaseXaConn.getConnection();
  | java.sql.Statement stmt = sybaseConn.createStatement();
  | 
  | logger.info(Inserting values into table);
  | /*
  |  * Execute the insert statement
  |  */
  | int i = stmt.executeUpdate(INSERT INTO XATEST VALUES('test-
  | + System.currentTimeMillis() / 1000 + '));
  | logger.info(Rows affected:  + i);
  | 
  | /*
  |  * Unless you commit, the changes are not going to be affected
  |  */
  | tx.commit();
  | logger.info(Transaction committed);
  | 
  | logger.info(Closing connections);
  | /*
  |  * Close all connections
  |  */
  | closeConnection(c);
  | sybaseConn.close();
  | }
  | 

Important to note is - I'm looking a ConnectionFactory but casting it to 
JBossConnectionFactory to obtain a XAConnection/XASession and hence 
MessagingResource. Also, I'm using a static method to create a transaction 
manager as shown below in setUp method:

  | public void setUp()
  | {
  | try
  | {
  | initialContext = new InitialContext();
  | /*
  |  * Lookup for ConnectionFactory
  |  */
  | jbcf = (JBossConnectionFactory) initialContext
  | .lookup(ConnectionFactory);
  | logger.info(found JBconnection factory:  + jbcf);
  | 
  | /*
  |  * Create a Transaction Manager
  |  */
  | 
  | tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
  | 
  | /*
  |  * Deploy required destinations for this test
  |  */
  | 
  | deployDestination(XATEST_QUEUE_1);
  | 
  | logger.info(Deployed  + XATEST_QUEUE_1);
  | 
  | XATEST_QUEUE_1_DEST = 
  | (Destination) initialContext.lookup(XATEST_QUEUE_1);
  | deployDestination(XATEST_TOPIC_1);
  | 
  | 

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - SqlResultSetMapping

2007-06-21 Thread stupar.aleksandar
Hi, 
I have run into a problem using SqlResultSetMapping.

I have defined next SqlResultSetMapping:

@SqlResultSetMapping(name =Proba,
  | entities = [EMAIL PROTECTED](entityClass=ReportAllTemp.class,
  | fields = {
  | @FieldResult(name = locationId,column = LOCATION_ID),
  | @FieldResult(name = locationName,column = LOCATION_NAME),
  | @FieldResult(name = month,column = MONTH),
  | @FieldResult(name = personId,column = PERSON_ID),
  | @FieldResult(name = projectId,column = PROJECT_ID),
  | @FieldResult(name = projectName,column = PROJECT_NAME),
  | @FieldResult(name = taskId,column = TASK_ID),
  | @FieldResult(name = taskName,column = TASK_NAME),
  | @FieldResult(name = workHours,column = WORK_HOURS)
  | }
  | )}
  | )

and I'm using in like this:

Query q =em.createNativeQuery(select r.*  from report_all ,Proba);  

  | List reports = q.getResultList();
  | return reports;

I thought that it was all ok but Hibernate throws an exception and
JBOSS says INVALID COLUMN NAME even all columns are defined in report_all.

Thank you in front.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056370#4056370

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056370
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with inheritance and JBossWS

2007-06-21 Thread hannes.koller
I tried to post this in  JIRA but it told me I dont have permission to comment 
on the issue so here it goes: 

I am experiencing the same problem described by original Reporter: Subclass 
information gets lost when the SOAP message is createdbut not always.. if 
the class  contains a variable of JAXBElement  then the inheritance seems to 
work correctly for all attributes in the class.

Example (constructed to explain my point, sorry if not 100% correct but the 
WSDL I am really dealing with is quite huge). 

  | complexType name=SomeType
  |   complexContent
  |   sequence
  | element name=someElement type=tns:SomeElement minOccurs=0 
maxOccurs=1nillable=true/
  |   element name=classB type=tns:ClassB minOccurs=1 maxOccurs=1 
nillable=true /
  | /sequence
  |   /complexContent
  | /complexType
  | 
Note that the minOccurrs=0 together with nillable=true in someElement will 
cause wsconsume to create the JAXBElement.. variable i was talking about: 


  | public class SomeType{
  | 
  | @XmlElementRef(name = someElement, namespace = 
http://some.namespace.com;, type = JAXBElement.class)
  | protected JAXBElementSomeElement someElement;
  | @XmlElement(required = true, nillable = true)
  | protected ClassB classB; 
  | 
  | 

In this example  inheritance for the classB Attribute works as expected. 
Whereas if I alter the wsdl and set the minOccurrs of someElement to 1  thus 
having wsconsume create the following class: 


  | public class SomeType{
  | 
  | @XmlElement(required=true, nillable=true)
  | protected SomeElement someElement;
  | @XmlElement(required = true, nillable = true)
  | protected ClassB classB; 
  | ...
  | 
  | 
then inheritance on classB breaks. 


Not sure why this is happening, but I thought this observation might help to 
track down the cause of this.




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056371#4056371

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056371
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread idylle
Here are my beans :

The entity bean (just the attributes) :

  | @Entity
  | @Table(name = collectivites, schema = public)
  | public class Collectivites implements java.io.Serializable {
  | 
  | private int colidt;
  | private Typcol typcol;
  | private Departements departements;
  | private String colnom;
  | private String coltel;
  | private String colfax;
  | private String coladr;
  | private String colcp;
  | private String colnmc;
  | private String coltlc;
  | private Integer colpop;
  | private String colaff;
  | private String colvil;
  | 
  | public Collectivites() {
  | }
  | 
  |  + getter and setter
  | ...
  | 

The query bean : 

  | @Name(collectivitesList)
  | public class CollectivitesList extends EntityQuery {
  | 
  | 
  | private static final String[] RESTRICTIONS = {
  | lower(collectivites.colnom) like 
concat('%',lower(#{collectivitesList.collectivites.colnom}),'%'),
  | lower(collectivites.coltel) like 
concat(lower(#{collectivitesList.collectivites.coltel}),'%'),
  | lower(collectivites.colfax) like 
concat(lower(#{collectivitesList.collectivites.colfax}),'%'),
  | lower(collectivites.coladr) like 
concat(lower(#{collectivitesList.collectivites.coladr}),'%'),
  | lower(collectivites.colcp) like 
concat(lower(#{collectivitesList.collectivites.colcp}),'%'),
  | lower(collectivites.colnmc) like 
concat(lower(#{collectivitesList.collectivites.colnmc}),'%'),
  | lower(collectivites.coltlc) like 
concat(lower(#{collectivitesList.collectivites.coltlc}),'%'),
  | lower(collectivites.colvil) like 
concat('%',lower(#{collectivitesList.collectivites.colvil}),'%'),
  | collectivites.colaff like 
concat(#{collectivitesList.collectivites.colaff},'%'),
  | collectivites.typcol like 
concat(#{collectivitesList.collectivites.typcol},'%'),};
  | 
  | private Collectivites collectivites = new Collectivites();
  | 
  | @Override
  | public String getEjbql() {
  | return select collectivites from Collectivites collectivites;
  | }
  | 
  | @Override
  | public Integer getMaxResults() {
  | return 25;
  | }
  | 
  | public Collectivites getCollectivites() {
  | return collectivites;
  | }
  | 
  | @Override
  | public ListString getRestrictions() {
  | return Arrays.asList(RESTRICTIONS);
  | }
  | 
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056372#4056372

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056372
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j vs valuechangelistener

2007-06-21 Thread [EMAIL PROTECTED]
Try reRendering the a:region rather than the ui:repeat.  This is really in the 
region of a4j and you can probably get more help on their forums :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056373#4056373

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056373
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Can not load MBeanServerBuilderImpl

2007-06-21 Thread a.skoog
I received the same error starting the minimal confiuguration of JBoss 4.2.0.GA 
using java 1.6.0 and then trying to use JConsole to access the process via JMX.

12:08:54,515 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 12:08:54,531 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: 
SVNTag=JBoss_4_2_0_GA date=200705111440)
  | 12:08:54,531 INFO  [Server] Home Dir: C:\opt\jboss-4.2.0.GA
  | 12:08:54,531 INFO  [Server] Home URL: file:/C:/opt/jboss-4.2.0.GA/
  | 12:08:54,531 INFO  [Server] Patch URL: null
  | 12:08:54,546 INFO  [Server] Server Name: minimal
  | 12:08:54,546 INFO  [Server] Server Home Dir: 
C:\opt\jboss-4.2.0.GA\server\minimal
  | 12:08:54,546 INFO  [Server] Server Home URL: 
file:/C:/opt/jboss-4.2.0.GA/server/minimal/
  | 12:08:54,546 INFO  [Server] Server Log Dir: 
C:\opt\jboss-4.2.0.GA\server\minimal\log
  | 12:08:54,562 INFO  [Server] Server Temp Dir: 
C:\opt\jboss-4.2.0.GA\server\minimal\tmp
  | 12:08:54,562 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 12:08:54,843 INFO  [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
  | 12:08:54,859 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.6.0_01-b06,Sun Microsystems Inc.
  | 12:08:54,859 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 12:08:55,109 INFO  [Server] Core system initialized
  | 12:08:55,562 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 12:08:55,843 INFO  [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: 
SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 1s:281ms
  | 12:09:06,500 ERROR [STDERR] javax.management.JMRuntimeException: Failed to 
load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: 
java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanS
  | 12:09:06,515 ERROR [STDERR] at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:480)
  | 12:09:06,515 ERROR [STDERR] at 
javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
  | 12:09:06,515 ERROR [STDERR] at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
  | 12:09:06,515 ERROR [STDERR] at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
  | 12:09:06,515 ERROR [STDERR] at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
  | 12:09:06,515 ERROR [STDERR] at 
sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
  | 12:09:06,515 ERROR [STDERR] at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
  | 12:09:06,515 ERROR [STDERR] at 
sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:412)
  | 12:09:06,515 ERROR [STDERR] at 
sun.management.Agent.startAgent(Agent.java:135)
  | 12:09:06,515 ERROR [STDERR] at 
sun.management.Agent.agentmain(Agent.java:95)
  | 12:09:06,515 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 12:09:06,531 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 12:09:06,531 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 12:09:06,531 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 12:09:06,531 ERROR [STDERR] at 
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:325)
  | 12:09:06,531 ERROR [STDERR] at 
sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
  | 12:09:06,531 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: 
org.jboss.mx.server.MBeanServerBuilderImpl
  | 12:09:06,531 ERROR [STDERR] at 
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | 12:09:06,531 ERROR [STDERR] at 
java.security.AccessController.doPrivileged(Native Method)
  | 12:09:06,531 ERROR [STDERR] at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 12:09:06,531 ERROR [STDERR] at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 12:09:06,531 ERROR [STDERR] at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
  | 12:09:06,531 ERROR [STDERR] at 
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 12:09:06,546 ERROR [STDERR] at 
javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
  | 12:09:06,546 ERROR [STDERR] at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
  | 12:09:06,546 ERROR [STDERR] ... 15 more
  | 12:09:06,546 ERROR [STDERR] Agenten orsakade ett undantag : 
javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class 
org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundExcep
  | Exception in thread Attach Listener 12:09:06,546 ERROR [STDERR] 

[jboss-user] [JBoss Seam] - s:validate(all) and #{entity[fieldName]}-style fields again

2007-06-21 Thread cba2
Validation fails for inputText fields where the value expression is of the 
form: #{entity[fieldName]}

This issue should have been fixed in Seam 1.3.0.ALPHA, but for me, this still 
doe not work as expected! Everything works smoothly as long as the data entered 
is valid. But if I enter invalid data, a hibernate validation exception is 
shown on a seam debug page instead of the form being rendered again with error 
message decorations. The effect is the same as if I had omitted the 
s:validate/ (resp. s:validateAll) tags.

The problem not only shows up in conjunction with #{entity[fieldName]} but also 
when you use a variable that has been assigned with the JSTL c:set tag before 
as shown in the snippet below.

{code}
c:set var=field value=#{fooHome.instance.name} /

s:decorate id=nameDecoration

s:label .../s:label

span class=value #{invalid?'errors':''}
s:validateAll
h:inputText id=name required=true
value=#{field}/
/s:validateAll


s:message styleClass=error errors/

/s:decorate
{code}

the exception:
Exception during request processing:
Caused by javax.servlet.ServletException with message: #{fooHome.persist}: 
org.hibernate.validator.InvalidStateException: validation failed for: 
ch.XX.ttrack.Foo



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056378#4056378

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056378
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread [EMAIL PROTECTED]
And you get no messages displayed in your h:message/h:messages?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056379#4056379

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j vs valuechangelistener

2007-06-21 Thread Sammy8306
I'll give it a try, meanwhile I found a:log / which warns me:

error[12:18:16,544]: New node for ID _id29:listt is not present in response

So there's definetely something up there. This message leads me to believe that 
all information for re-rendering must be in the Ajax response? I'd rather have 
the bindings re-evaluated automatically :-)

Anyway, I'll take it to the A4J forums indeed if I can't fix this.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056381#4056381

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Which view handler JBoss 4.2 needs for facelets ?

2007-06-21 Thread mailmustu
I replaced jars jsf-api.jar and jsf-impl.jar in jsf-libs folder of my Jboss 
server
with new jars of jsf-1.2-b20-FCS

I also commented out 
el-resolverorg.jboss.seam.jsf.SeamELResolver/el-resolver

still i get same exception !

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056382#4056382

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056382
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:validate(all) and #{entity[fieldName]}-style fields ag

2007-06-21 Thread [EMAIL PROTECTED]
The problem here is that Seam doesn't support using parameterized value 
bindings like that one - the EL expression on the page must be resolvable 
without any variables that are declared on the page.  We should be able to fix 
this with jboss-el, but not in the 1.3.0.GA timescale I expect.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056383#4056383

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
Well, it appears to work, but be very careful!

mskonda wrote :  Let me know if there's any obvious pitfalls.
  | 
  | 

This is what I said about you could have a transaction manager on the client 
side, which is what you have done.

This is probably a very dodgy thing to do, since you are unlikely to have a 
trusted or reliable file system on which the transaction is reliably logged.

So if the disk fails, or the user deletes the local objectstore after your tx 
has failed, you are hosed.

Also you have no recovery manager, so if the transaction fails mid way through 
it won't get recovered.

So, my advice is not to do this!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056384#4056384

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread idylle
no, the page is just redisplayed with the whole list of results, ignoring the 
tpcidt and the select box is back to Select... instead of having my choice 
selected.

If I put this :

  | h:commandButton id=search value=Chercher /
  | 
  |   | in my command button, it works but :
  |   | 1- I need the firstresult=0 param
  |   | 2- It won't work after if I try to use the next page link to navigate 
through results pages

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056385#4056385

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j vs valuechangelistener

2007-06-21 Thread Sammy8306
Indeed. Ok, after some more experimenting I have:


  | a:region
  | ui:repeat id=listt var=listvar 
value=#{NewBlogEntryComponent.blogEntry_be.tags}
  |   h:outputText value=#{listvar} /  
  |   a:commandButton value=Delete reRender=foo 
action=#{NewBlogEntryComponent.remove(listvar)}/
  |   br /
  | /a:repeat
  | br /
  |  s:decorate
  | h:selectOneMenu id=tags1 value=#{dev.nulll} 
valueChangeListener=#{NewBlogEntryComponent.listener}
  |  s:selectItems var=field label=#{field.toString} 
value=#{AllTag} noSelectionLabel=Please select :  /
  |  s:convertEntity/
  |  a:support event=onchange reRender=listt 
bypassUpdates=true /
  |/h:selectOneMenu
  |   /s:decorate 
  | /a:region
  | 

This actually works (as in: the list gets updated perfectly), but... my 
ui:repeat is not re-rendered. The page must be reloaded manually to reflect the 
new data. I tried switching it to an a:repeat which I found somewhere in the 
A4J docs, allegedly it should do the magic, but that didn't work. Am I missing 
something?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056369#4056369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Deployment descriptor alternative to @RemoteBinding.clientBi

2007-06-21 Thread itsme
Hi all,

not sure this is the right place for this question, but I really need urgent 
help with that topic.
We are having a swing client talking to ejb3s in a jboss behind a firewall. 
According to these demands I've setup the jboss as properly. Now I want to be 
able to remove the @RemoteBinding Annotation specifying the url the clients 
binds to talk with that ejb. My research so far led me to the conclusion that 
William DeCoste has done this issue for EJB3 RC9 FD (see 
http://jira.jboss.org/jira/browse/EJBTHREE-571).

No I wonder how this jboss.xml configuration part looks like. Could anybody 
give me a hand?

Regards Sandor

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056387#4056387

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056387
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: async pain

2007-06-21 Thread ax666
A quick test with both the join and fork set to async=false gave me ERRORS too.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056386#4056386

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056386
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread timfox
mskonda wrote : 
  | 
  | Important to note is - I'm looking a ConnectionFactory but casting it to 
JBossConnectionFactory to obtain a XAConnection/XASession and hence 
MessagingResource. 
  | 

Why are you doing that?

Why not just lookup the XAConnection factory (at /XAConnectionFactory)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056389#4056389

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: facelets 1.1.12 vs packaged with seam 1.3.0.A

2007-06-21 Thread mailmustu
Thank you for your reply.
I am using Seam 1.2.1 GA.

Please let me know what is missing.

Thanks,
Mustafa

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056388#4056388

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056388
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM IDE Source

2007-06-21 Thread pchaganti
That is precisely what I mentioned in my post. I have not been able to find the 
code in the SVN. Can you please give me a link to it?

thanks



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056390#4056390

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056390
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Consider extending of ModuleInstance with end(), suspend

2007-06-21 Thread kukeltje
ah now that is (to me, non-native english speaker) a much more clear 
explanation

What I do not understand why you need to configure runtime actions. Events are 
very flexible. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056391#4056391

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread [EMAIL PROTECTED]
Surely you want to call an action on the backing bean. Normally you have 
action=#{backingBean.foo}. You certainly can't append query string parameters 
to an action like that.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056392#4056392

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem deploying web service

2007-06-21 Thread griff7023
The re-writing of the web.xml file is normal but it usually only causes an 
issue if you deploy the web service as an exploded war (a directory). I haven't 
ever seen any issues when deploying the web service as a war file (a zip file).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056393#4056393

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056393
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
I had defined a pageflow.xml (Submit2.jpdl.xml)

And i m trying to find out the view-id in the java class and the corrosponding 
page name.
In Short i need the last,Current,and Next page with every page transition.
Then what is the procedure ?
Here i am not able to read the xml in the java file.

pageflow-definition xmlns=http://jboss.com/products/seam/pageflow;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-1.2.xsd;
name=submit2
   
   start-page name=page2 view-id=/page2.jspx 
 
  
 
 
   /start-page  
   
   page name=page3 view-id=/page3.jspx back=enabled  
 

  
   
   
 page name=page4 view-id=/page4.jspx back=enabled
 
  
 
   
   
   page view-id=/login.jspx name=start 
   
   
/pageflow-definition

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056394#4056394

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056394
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
trekker880 wrote : I had defined a pageflow.xml (Submit2.jpdl.xml)
  | 
  | And i m trying to find out the view-id in the java class and the 
corrosponding page name.
  | In Short i need the last,Current,and Next page with every page transition.
  | Then what is the procedure ?
  | Here i am not able to read the xml in the java file.
  | 
  | pageflow-definition xmlns=http://jboss.com/products/seam/pageflow;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/pageflow 
http://jboss.com/products/seam/pageflow-1.2.xsd;
  | name=submit2
  |
  |start-page name=page2 view-id=/page2.jspx 
  |  
  |   
  |  
  |  
  |/start-page  
  |
  |page name=page3 view-id=/page3.jspx back=enabled  
  |  
  | 
  |   
  |
  |
  |  page name=page4 view-id=/page4.jspx back=enabled
  |  
  |   
  |  
  |
  |
  |page view-id=/login.jspx name=start 
  |
  |
  | /pageflow-definition

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056398#4056398

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: async pain

2007-06-21 Thread kukeltje
same ones? if so, can you post a stacktrace? In the meantime I'll try to get 
the case running

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056396#4056396

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056396
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM IDE Source

2007-06-21 Thread pchaganti
Here is the SVN directory. 
http://anonsvn.jboss.org/repos/repository.jboss.org/jbpm/designer/jpdl/3.0.13.1/

There is NO source at this location. Just a zip file. I downloaded the zip 
file. It is the same as the one from jboss.org. If there is a src directory in 
the public svn repository for the jbpm designer, then could you please point us 
to it? 

thanks







View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056399#4056399

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Loosing information right out of my entity bean....

2007-06-21 Thread g00se24
Bug found:

Never try to to inject data out of non displayed h:selectOneMenu,
they are going to set the property to null.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056400#4056400

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056400
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM IDE Source

2007-06-21 Thread kukeltje
That is NOT what you mentioned 

Two things about the link you posted

- that is the lib repository
- it is svn, not cvs

http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmWiki

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056401#4056401

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056401
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - ERROR JDBCExceptionReporter : Table not found in statement

2007-06-21 Thread javi0704
Hi anyone,
i am trying to deploy a simple processDefinition by programmatically. But i got 
a problem.

My processDefinition looks like this.

?xml version=1.0 encoding=UTF-8?process-definition 
xmlns=urn:jbpm.org:jpdl-3.1 name=DecisionProcess

start-state name=start
   
/start-state
task-node name=Request
   
/task-node
task-node name=Checking
   
/task-node
end-state name=End/
/process-definition

And hier is my Java Code. package com.test;

import org.jbpm.JbpmConfiguration;
import org.jbpm.JbpmContext;
import org.jbpm.graph.def.ProcessDefinition;

public class DeployingTest {
public static void main(String[] args) {

JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
ProcessDefinition prd = 
ProcessDefinition.parseXmlResource(DecisionProcess/processdefinition.xml);
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try{
if(jbpmConfiguration!=null){
jbpmContext.deployProcessDefinition(prd);
System.out.println(!!!=== Is Deployed);
}else{
System.out.println(!!!===  Is not Deployed);
}
}catch (Exception e) {
// TODO: handle exception
System.err.println(Which error?:  +e);
}finally{
jbpmContext.close();
}

}
}
When i try this i got this Exceptions:

12:35:39,828 [main] DEBUG DbPersistenceService : beginning hibernate transaction
12:35:39,906 [main] WARN  JDBCExceptionReporter : SQL Error: -22, SQLState: 
S0002
12:35:39,906 [main] ERROR JDBCExceptionReporter : Table not found in statement 
[select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, 
processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as 
VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
org.hibernate.exception.SQLGrammarException: could not execute query

I proved the table in the Database aun it exist already

thanks in advance

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056403#4056403

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056403
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2007-06-21 Thread mr_belowski2
Ahh, now it makes sense. I guess i was trying something a little silly :)

Thanks for the info and the code - it's really helped to clarify things

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056404#4056404

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056404
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: issue with bridge while JBoss starting

2007-06-21 Thread timfox
http://jira.jboss.com/jira/browse/JBMESSAGING-999

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056405#4056405

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056405
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: two server cluster - consumer count 2

2007-06-21 Thread timfox
We could very easily make the connection factory randomise the first node it 
chooses, if you feel this is an issue.

http://jira.jboss.com/jira/browse/JBMESSAGING-1000

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056406#4056406

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056406
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: value of selectItems not posted in the form?

2007-06-21 Thread idylle
But I don't understand why the other elements in the form are Ok and just this 
one is a problem. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056408#4056408

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   4   >