[jboss-user] [JBoss AOP] - Re: AOPC compiler seems to run successfully without Aspectiz

2008-02-05 Thread mayureshk
Hi Flavia,

You are right, the src tag must point to the class files to be transformed. 
Although I had read the docs, I made an error in thinking of the src folder 
as the actual Java sources. 

I had to set the src tag as shown below to get the AOPC compiler to pickup 
the files correctly, it must point to the directory that holds the actual 
.class file not the top level folder where the classpath starts.

  | src 
path=${bin.dir}${file.separator}com${file.separator}wills${file.separator}db 
/
  | 

I have been able to apectize most of the classes barring a few that are giving 
exception such as 
[aopc] java.lang.RuntimeException: defrost():
  | com.wills.biz.SomeClass_1_MByMInvocation was pruned.
  | 
But I will try to figure out why only these classes errored out. Thankyou for 
your prompt response.

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

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


[jboss-user] [JBoss Seam] - AbstractEntityManagerImpl warning

2008-02-05 Thread atiwoto
I am using seam pojo and everytime i get the warning below

WARN [AbstractEntityManagerImpl] Cannot join transaction, not a 
JoinableCMTTransaction


I would be grateful if you assist
Below is my configuration
Thanks

?xml version=1.0 encoding=UTF-8?
components xmlns=http://jboss.com/products/seam/components;
xmlns:core=http://jboss.com/products/seam/core;
xmlns:drools=http://jboss.com/products/seam/drools;
xmlns:security=http://jboss.com/products/seam/security;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
http://jboss.com/products/seam/drools 
http://jboss.com/products/seam/drools-1.1.xsd
http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.1.xsd
http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd;

core:init debug=true jndi-pattern=@jndiPattern@/

core:manager concurrent-request-timeout=500
conversation-timeout=12
conversation-id-parameter=cid
conversation-is-long-running-parameter=clr/

core:managed-persistence-context name=entityManager
auto-create=true
entity-manager-factory=#{yayraEntityManagerFactory}/

core:entity-manager-factory name=yayraEntityManagerFactory
persistence-unit-name=yayra/




core:ejb installed=@embeddedEjb@/

drools:rule-base name=securityRules
drools:rule-files/security.drl/drools:rule-files
/drools:rule-base

security:identity authenticate-method=#{authenticator.authenticate}
security-rules=#{securityRules}
remember-me=true/








!-- For use with jBPM pageflow or process management --
!--
core:jbpm
core:process-definitions/core:process-definitions
core:pageflow-definitions/core:pageflow-definitions
/core:jbpm
--


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

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


[jboss-user] [JBoss Seam] - Re: h:SelectManyListbox, s:SelectItems and Many-to-Many mapp

2008-02-05 Thread ovistanciu
Pete, I tried your example posted here: 
http://jroller.com/pmuir/entry/using_sets_in_jsf.
userGroup.xhtml now looks like this:

  | h:selectManyListbox id=locationsListBox 
value=#{dc:asList(userGroupHome.instance.locations)}
  | disabled=#{not 
s:hasRole('admin')}
  | s:convertEntity /
  | s:selectItems 
value=#{locationList.resultList} var=location
  | 
label=#{location.locationName} noSelectionLabel=None /
  | /h:selectManyListbox
  | 
where 'asList' is the function described in the link above.
Now, when trying to create a userGroup I get:
model validation failed:/members/userGroup.xhtml @33,44 
value=#{dc:asList(userGroupHome.instance.locations)}: Illegal Syntax for Set 
Operation

What am I missing?


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

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


[jboss-user] [JBoss Seam] - Re: AbstractEntityManagerImpl warning

2008-02-05 Thread thejavafreak
Are you using EJB? Why aren't you setting your transaction component? Take a 
look at the JEE5 example on how to set it up.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Local Deployment using JSP Servlet

2008-02-05 Thread abondi
I'm developing an application that must deploy ears using jsp and servlet.

It's like an installer for j2ee applications: receives the request to deploy a 
package (war or ear) and ask the application server where it's hosted to deploy 
the specified package.

I think it can be done using jsp, servlets and, maybe, MBeans.

Thank you very much!

Andrea

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

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


[jboss-user] [JBoss Seam] - A lot of

2008-02-05 Thread [EMAIL PROTECTED]
Hi,
I can see a lot of starting up: org.jboss.seam.security.identity entries in 
my logs and wonder when this log entry is created?

Had a quick browse through FishEye and think I found the place in Context.java 
where this it is generated. But I don't quite understand why I see some many of 
these.

I thought that since the identity component is session scoped I would see one 
of these per started session, is that correct? (just greped and found 
thousands).


Using Seam 1.2.1.GA on JBoss 4.0.3SP1

Cheers,
 micke

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

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


[jboss-user] [JBoss Messaging] - Messaging Cluster issue

2008-02-05 Thread beve
Hi, 

we are using JBM 1.4.0.SP3 configured in a cluster. We have  a four node 
cluster and use custom correlation ids to correlate messages. 

Our messaging clients post a message to a queue and wait a specified amount of 
time for a message to appear on a response queue with the correlation id they 
expect. 

Now the problem we are experiencing is that when several concurrent calls are 
made sometimes we are not able to retrieve the message from the clustered 
queue. We have verified that the message is infact there, with the correct 
correlation id. 

We have tried to simulate this behaviour with the test class below. 


  | public class DestinationPeeker 
  | {
  | 
  | private static final String QUEUE_NAME = queue/clusteredQueue;
  | private static final String JNDI_SERVER = hostname:1100;
  | 
  | private static final String CORRELATION_ID = 12345;
  | 
  | private static String messageSelector = JMSCorrelationID = \' + 
CORRELATION_ID + \';
  | 
  | @Test
  | public void peek() throws NamingException, JMSException 
  | {
  | Context ctx = getContext();
  | Queue queue = (Queue) ctx.lookup( QUEUE_NAME );
  | QueueConnectionFactory factory = (QueueConnectionFactory) 
ctx.lookup( ConnectionFactory );
  | QueueConnection cnn = factory.createQueueConnection();
  | QueueSession session = cnn.createQueueSession( false, 
QueueSession.AUTO_ACKNOWLEDGE );  
  | 
  | QueueBrowser browser = session.createBrowser( queue, 
messageSelector );
  | String messageSelector = browser.getMessageSelector();
  | 
  | Enumeration enumeration = browser.getEnumeration();
  | while ( enumeration.hasMoreElements() ) {
  | Message jmsMsg = (Message) enumeration.nextElement();
  | System.out.print( JMSMessageID :  +  
jmsMsg.getJMSMessageID() );
  | System.out.print( , JMSCorrelelationID :  +  
jmsMsg.getJMSCorrelationID() );
  | System.out.print( , JMSExpiration :  +  
jmsMsg.getJMSExpiration() );
  | System.out.println();
  | }
  | browser.close();
  | session.close();
  | cnn.close();
  | }
  | 
  | @Test
  | @Ignore
  | public void putMessageOnQueue() throws NamingException, JMSException
  | {
  | Context ctx = getContext();
  | Queue queue = (Queue) ctx.lookup( QUEUE_NAME );
  | QueueConnectionFactory factory = ( QueueConnectionFactory ) 
ctx.lookup( /ClusteredConnectionFactory );
  | QueueConnection cnn = factory.createQueueConnection();
  | QueueSession session = cnn.createQueueSession( false, 
QueueSession.AUTO_ACKNOWLEDGE );  
  | MessageProducer producer = session.createProducer( queue );
  | TextMessage msg = session.createTextMessage();
  | msg.setJMSCorrelationID( CORRELATION_ID );
  | producer.send( msg );
  | producer.close();
  | session.close();
  | cnn.close();
  | ctx.close();
  | }
  | 
  | private Context getContext() throws NamingException
  | {
  | HashtableString, String env = new HashtableString, String();
  | env.put( Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory );
  | env.put( Context.URL_PKG_PREFIXES, org.jboss.naming );
  | env.put( Context.PROVIDER_URL, JNDI_SERVER );
  | return new InitialContext(env);
  | }
  | }
  | 
Note that we are using a QueueBrowser to peek a the queue. I've tried this by 
consuming from the queue and seen the same behaviour. 
When I run the above (having run once with only executing putMessageOnQueue()) 
I sometimes get a messages back and sometimes don't. It's not deterministic.

Is this a valid way to verfiy the functionality of clustering with message 
correlation id's?

Has anyone see this sort of behaviour before?

Any comments or suggestions are welcome.

Thanks,

/Daniel

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

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


[jboss-user] [JBoss jBPM] - Can not deploy process archive (par)

2008-02-05 Thread hlins
Hi to all,

I'm trying to deploy a process archive with an ant task. If I do it with the 
process designer it works fine. :-/
But when I call the ant task a 
ClassNotFoundException:org.jnp.interfaces.NamingContextFactory occurs.
I'm pretty sure that I've added the jbossall-client, which should contain this 
class to the classpath.

Here's my build.xml


  | target name=deploy.par description=deploys the jbpm processes 
depends=par
  | taskdef name=deploypar 
classname=org.jbpm.ant.DeployProcessTask 
  |  classpath refid=compile.classpath/
  | classpath
  | pathelement path=${process.resource.dir} /
  | /classpath
  | classpath
  | fileset dir=lib
  | include name=jbossall-client.jar/
  | /fileset
  | /classpath
  | /taskdef
  | deploypar process=${dist.dir}/dslorderprocess.par
  |jbpmCfg=${dist.dir}/jbpm.cfg.xml /deploypar
  | /target
  | 

And the part of the hibernate.cfg.xml, where I set the jndi parameters:


  | property name=hibernate.jndi.urljnp://127.0.1.1:1299/property
  | property 
name=hibernate.jndi.classorg.jnp.interfaces.NamingContextFactory/property
  | property 
name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property
  |   
  | 

And this happens:


  | [deploypar] javax.naming.NoInitialContextException: Cannot instantiate 
class: org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
  | [deploypar] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
  | [deploypar] at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
  | [deploypar] at 
javax.naming.InitialContext.init(InitialContext.java:223)
  | [deploypar] at 
javax.naming.InitialContext.init(InitialContext.java:197)
  | [deploypar] at 
org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28)
  | [deploypar] at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | [deploypar] at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | [deploypar] at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | [deploypar] at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:410)
  | [deploypar] at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
  | [deploypar] at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | [deploypar] at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | [deploypar] at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | [deploypar] at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
  | [deploypar] at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)
  | [deploypar] at 
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:341)
  | [deploypar] at 
org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
  | [deploypar] at 
org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
  | [deploypar] at 
org.jbpm.ant.DeployProcessTask.deploy(DeployProcessTask.java:93)
  | [deploypar] at 
org.jbpm.ant.DeployProcessTask.execute(DeployProcessTask.java:58)
  | [deploypar] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  | [deploypar] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown 
Source)
  | [deploypar] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | [deploypar] at java.lang.reflect.Method.invoke(Method.java:597)
  | [deploypar] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
  | [deploypar] at org.apache.tools.ant.Task.perform(Task.java:348)
  | [deploypar] at org.apache.tools.ant.Target.execute(Target.java:357)
  | [deploypar] at 
org.apache.tools.ant.Target.performTasks(Target.java:385)
  | [deploypar] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
  | [deploypar] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
  | [deploypar] at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  | [deploypar] at 
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
  | [deploypar] at 

[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread timfox
Can you explain your topology in more detail - i.e., where are the clients that 
put messages on the queue and where are the clients that remove messages from 
the queue? (It's important to know what node they're on).

Also can you post your message consumer code? Thanks

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

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


[jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.2 Spring Deployer + Spring 2.08

2008-02-05 Thread mlaporta
Hi alesj,
spring-int works with both spring-2.5 and spring-2.0.8.

Thanks

Michele

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging via .Net

2008-02-05 Thread timfox
Bear in mind I said 2.0 series. I.e. 2.0 probably won't have support for 
other language clients (depending on how much time we have) - more likely 2.1 :)

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

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


[jboss-user] [JBoss jBPM] - Re: Assigning Taks to the same user when sent back

2008-02-05 Thread bentins
A swimlane, as fas as I understand, will keep the same actor. If TASK B is for 
a different actor then a swimlane will not solve this. What we did was to 
extend the taskInstance with our own object that keeps the information on the 
former actors on the task (Tasks can also be reassigned so you need to keep as 
fas history as needed). Then we used a Task Assignement Handler that checks for 
a flag to restore the former actor.

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

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


[jboss-user] [Management, JMX/JBoss] - Jboss Remote Deploy using MBeans

2008-02-05 Thread abondi
I'm studying for remote deploying of ears using MBeans. I found the 
RemoteDeployer class.

Is there any example of remote deploy?

Thank you very much!

Andrea

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

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


[jboss-user] [JBossWS] - Re: Web Serivce Response Missing the XML Declaration

2008-02-05 Thread AJanz
Hello,

does your interceptor work now? 

greetings
sascha

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

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


[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread beve
Hi Tim,

thanks for your quick response!

The clients that put messages on the queue are Web Services that exist on two 
nodes in our messaging cluster. 
Their responsibility is to send the SOAP message to a queue that our ESB 
servers listen to. 
The ESB service performs it's actions, and one of these is to send a response 
message to a response queue.

It's a little difficult for me to post the actual code. But the test class in 
my previous post can simulate the behaviour. This can be done with at two node 
messaging cluster.

Are there any test in the messaging project that I could run against our 
configuration to verify that we have not incorrectly configured something. The 
system has been running in production for several month without any warnings or 
errors. We upgraded to 1.4.0.SP3 right before Christmas. 

Thanks,

Daniel 

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

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


[jboss-user] [JBoss Seam] - Re: WARN TwoPhaseCoordinator.afterCompletion

2008-02-05 Thread nhpvti
nwray wrote : Hi, I'm seeing the same issue with the recurring WARN message.  
I get the following warning from TwoPhaseCoordinator.afterCompletion with each 
iteration of an async task.  Nothing obvious is failing, the warning might be 
in error or could be due to some misconfiguration on my part.  It's been 
annoying during development but it would be nice to resolve it before 
deployment.
  | 
  | 10:45:24,468 WARN  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] 
TwoPhaseCoordinator.afterCo
  | mpletion - returned failure for [EMAIL PROTECTED]
  | 
  | I've added a comment to the open JIRA below with more details, please let 
me know if I can add anything else.
  | http://jira.jboss.com/jira/browse/EJBTHREE-898
  | 
I'm getting the same warning after each run of a scheduled job, although the 
job succeeds.
By the way, I've set EJBTimerService datasource in 
$JBOSS_HOME/server/default/deploy/ejb-deployer.xml to the same as my 
application is using in order to have better control over my batch jobs and to 
avoid multiple non-XA datasources, but the warning is still generated. 

My environment:
JBoss 4.2.2.GA
Seam 2.0.0.GA
JDK 1.5.0_14

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

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


[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread timfox
So you have a clustered response queue, and, say two consumers on it on 
different nodes

A response message gets posted to the queue. Clearly the response message is 
destined for a specific consumer, but if you have two consumers on the queue, 
you can' be sure it gets to the right consumer (how would JBM know what is 
the right consumer?).

Clustering will make sure it gets to one of the consumers, but not necessarily 
the one you expect. Am I missing something here, or misunderstanding what you 
are trying to achieve?

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

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


[jboss-user] [JBoss Seam] - gen-ui: order of fields in generated forms

2008-02-05 Thread sgrueter
When I generate the xhtml files from existing entities, then the entry fields 
will be displayed in alphabetical order of the entity properties and not in the 
order of declaration.

For rapid prototyping it would be desirable, if the fields would appear in the 
order of declaration.

Since the fields in the auto generated database table are in the the order of 
declaration, this should be possible for gen-ui as well.

Does anybody know a way to achieve this with seam 2.0.1?

Thanks for any hints

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

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


[jboss-user] [JBoss Seam] - Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread joerg.schneider
Hi,

first of all congratulations for the Seam 2.0.1GA release and thanks for the 
updated documentation, especially how to run Seam in appservers other than 
JBoss. 
As I read from the docs the varargs issue with Bea Weblogic still persists. As 
far as I understood, BEA claims this issue to be an ambiguity within the Java 
specs, since the same flag is used to mark fields transient as it is used to 
mark methods have variable arguments. I furthermore understood, that this issue 
is not necessarily related to EJB's only, but actually apply to any java code. 
The fact that the issue shows up with EJB's only is due to jrockits re-compiles 
the EJB's during deployment. 
As per my understanding, a compiler/interpreter should be in a position to 
handle the transient/vararg flag different for fields and methods (as Sun's 
implementation apparently does) so I actually see it BEA's responsibility to 
fix that issue.

Anyhow, according to my experience I'd not expect such a fix is being delivered 
by BEA within the next 12 months, if at all. Since the next 1 or 2 years 
certainly will be very important for the roll-out and further distribution of 
Seam, would it make sense to fix that (rather work around) within Seam in the 
meantime ? As far as I understood, the proposed work around is to use arrays 
instead of varargs in methods/constructors to avoid the issue. This seem to be 
an acceptable work around for me to overcome the issue for any of my 
projects/developments. The only problem remaining is : how many Seam internal 
EJB's are using varargs currently and if it makes sense to use arrays instead 
of varargs to have some kind of Weblogic/JRockit compatibility ? 
I mean I fully understand that using varargs is the proper implementation, but 
I'd consider using arrays as a valid work around and if it's only the 
TimerService ejb that currently causes the problem in JRockit/Weblogic, why 
not take a step back (=use arrays) and therefore have another major player 
(Weblogic) on board. I made much bigger comprises during my IT career so far :-)

If a fix for jrockit is provided that can naturally been reversed.

Any thoughts ? 


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

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


[jboss-user] [JBoss Seam] - Re: A lot of

2008-02-05 Thread nickarls
One wouldn't there should be that many of them. Can you see them if you try a 
fresh seam-gen project and add security to it?

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

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


[jboss-user] [JBoss jBPM] - Seam managed bean property not set by seam.properties

2008-02-05 Thread boocjelle
I hardly believe that the mechanism of the seam.properties does not work. So I 
made a project using Seam-Gen that can easily be reproduced. I would be 
grateful to know where I am going wrong.

The project was created using Seam-Gen with the project.type=ear (please note 
the build.properties below). 

The application can be run using the url .. 

http://localhost:8080/SeamPropertiesIssue/issue.seam

It shows that the seam.properties name-value-pair issuebean.value=Value has 
been set has no effect. The output is: Value has not been set. 

The sources are ..
1. src/action/de/issue/action/IssueBean.java
2. view/issue.xhtml
3. resources/seam.properties

Seam-gen build.properties:

#Generated by seam setup
#Mon Jan 07 09:25:19 CET 2008
hibernate.connection.password=
workspace.home=C\:/java/jboss-seam-2.0.0.GA/development/
model.package=de.issue.model
driver.jar=C\:/java/jboss-seam-2.0.0.GA/seam-gen/lib/hsqldb.jar
action.package=de.issue.action
test.package=de.issue.test
database.type=hsql
richfaces.skin=DEFAULT
hibernate.default_catalog.null=
hibernate.default_schema=PROTO
database.drop=y
project.name=SeamPropertiesIssue
hibernate.connection.username=sa
hibernate.connection.driver_class=org.hsqldb.jdbcDriver
hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
project.type=ear
icefaces.home=
database.exists=n
jboss.home=C\:/java/jboss-4.2.2.GA
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.connection.url=jdbc\:hsqldb\:.

Seam Managed Bean:

package de.issue.action;

import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.log.Log;

@Name(issuebean)
public class IssueBean {

@Logger
Log log;

String value=Value has not been set;

public String getValue() {
return value;
}

public void setValue(String value) {
this.value = value;
}

public String checkValue() {
log.info(the issue has the value #0, getValue());
return ;
}

}


View:

html xmlns=http://www.w3.org/1999/xhtml;
  xmlns:h=http://java.sun.com/jsf/html;
  xmlns:f=http://java.sun.com/jsf/core;

 
  meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
  Issue Concerning seam.properties
 

 
 
   h:form




h1Push the button and check if the properties will set the set the seam 
managed valuebean/h1



h:outputText value=#{issuebean.value}/h:outputText



h:commandButton type=submit value=Push 
action=#{issuebean.checkValue()}
/h:commandButton
   /h:form  

 



seam.properties:

issuebean.value=Value has been set


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

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


[jboss-user] [JBossWS] - Re: http://org.jboss.ws/http#chunksize

2008-02-05 Thread centecbertl
Ratoo wrote : 
  | [EMAIL PROTECTED] wrote : 
  |   | HTTP 1.0 Client Did you try that one?
  |   | 
  | 
  | Where is it? How can I configure it?
  | 
You can use the tomcat Connector configuration to achieve this. Example given 
for jboss 4.0.5 restricts .net 2.0 clients to use HTTP 1.0:


  | $ diff -U 5 server.xml~ server.xml
  | --- server.xml~ 2006-12-06 16:03:28.403259700 +0100
  | +++ server.xml  2006-12-16 10:18:38.265625000 +0100
  | @@ -11,16 +11,18 @@
  |!-- A HTTP/1.1 Connector on port 8080 --
  |Connector port=8080 address=${jboss.bind.address}
  |   maxThreads=250 strategy=ms maxHttpHeaderSize=8192
  |   emptySessionPath=true
  |   enableLookups=false redirectPort=8443 acceptCount=100
  | - connectionTimeout=2 disableUploadTimeout=true/
  | + connectionTimeout=2 disableUploadTimeout=true
  | +restrictedUserAgents=^.*MS Web Services Client Protocol.*$/
  |  
  |!-- Add this option to the connector to avoid problems with 
  |.NET clients that don't implement HTTP/1.1 correctly 
  |   restrictedUserAgents=^.*MS Web Services Client Protocol 
1.1.4322.*$
  |--
  | +
  | 
  |!-- A AJP 1.3 Connector on port 8009 --
  |Connector port=8009 address=${jboss.bind.address}
  |   emptySessionPath=true enableLookups=false redirectPort=8443 
  |   protocol=AJP/1.3/
  | @@ -29,11 +31,12 @@
  |Connector port=8443 address=${jboss.bind.address}
  | maxThreads=100 strategy=ms maxHttpHeaderSize=8192
  | emptySessionPath=true
  | scheme=https secure=true clientAuth=false 
  | keystoreFile=${jboss.server.home.dir}/conf/centec.keystore
  | -   keystorePass=centec sslProtocol = TLS /
  | +   keystorePass=centec sslProtocol = TLS 
  | +  restrictedUserAgents=^.*MS Web Services Client Protocol.*$/
  |!-- --
  |  
  |Engine name=jboss.web defaultHost=localhost
  |  
  |   !-- The JAAS based authentication and authorization realm 
implementation
  | 

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

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


[jboss-user] [JBossWS] - Re: http://org.jboss.ws/http#chunksize

2008-02-05 Thread Ratoo
centecbertl wrote : 
  | You can use the tomcat Connector configuration to achieve this. Example 
given for jboss 4.0.5 restricts .net 2.0 clients to use HTTP 1.0:
  | 

Maybe I do not understand something, but I am THE client here.
What you suggest is to disable chunking in RESPONSE to the buggy client (like  
MS one).

In my case I'm using a JAAS to send a message to the buggy server so I have to 
disable chunking somehow.

Maybe I'm wrong with the forum and should post it to JBoss Remoting instead?

Ratoo


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

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


[jboss-user] [JBoss Messaging] - Re: Messaging Cluster issue

2008-02-05 Thread beve
Yep, that is correct. The response queue is clustered and we have two consumers 
listening to that queue. 

I'm sorry but I forgot to mention that these consumers are using a message 
selector (like the example code below). They are using the correlation id to 
make sure that they only take response messages that correlate to the message 
they have sent.

I might have misunderstood this but I thought that if I publish a message to a 
clustered queue and then use a message selector to receive messages from the 
queue, I would get back the message regardless of where the message phisically 
exists in the cluster.

Does this make sense?

Regards,

Daniel

 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deleting work and tmp directories

2008-02-05 Thread snagar
Hi All

Just wanted to understand whether it is mandatory after uploading WAR, EAR etc 
to clear the work and tmp directories. I have been instructed by our 
development team to do this for taking the latest deployed WAR take effect. 
However, I was wondering whether is is actually required and if it is then why 
should tmp and work directories emptied everytime a WAR/EAR is deployed. 

I hope the question makes sense.

Regards
Shubham
InfoAxon Technologies

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread [EMAIL PROTECTED]
This is worth considering, or alternatively providing a version of the 
jboss-seam.jar that is compatible with jrockit.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 on Glassfish

2008-02-05 Thread [EMAIL PROTECTED]
What is the problem exactly?

Groovy on GlassFish is untested afaik.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread joerg.schneider
Hi,

I added some more comments to the existing BEA forum, so anyone being 
interested can read :

http://forums.bea.com/thread.jspa?messageID=36290

I very much appreciate Pete's comment and would naturally be happy either way 
it is done - using arrays/ArrayLists or having a separate jboss-seam.jar for 
weblogic is perfectly fine with me :-)

Thanks.

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

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


[jboss-user] [JBoss Seam] - How do we add List of Object item in Conversation scope?

2008-02-05 Thread thejavafreak
Dear all,

Has anyone succeed adding a List of Object in a Conversation scope component? 
Everytime I add an Object to a List, the list is added but the content is all 
the same according to the last item inserted. 

Is it possible to do this in Seam or is it a bug? 

The only scope that works is the PAGE scope, but I really want to be able to 
use it in Conversation scope because the form is exercised in a pageflow 
conversation. 

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - Re: A lot of

2008-02-05 Thread [EMAIL PROTECTED]
When running the application on localhost, I don't see those loggings.

Could the conversation timeout play a part in this? Currently have it set to 1 
minute for testing. (far fetched I know ;) )

But on our devprod deployment there are a lot of them. 


  | 2008/02/05 12:02:03,657 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,667 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,807 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,827 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,847 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,857 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,867 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,967 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:02:03,997 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:03,292 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:03,612 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:03,822 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:03,982 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,042 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,082 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,102 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,132 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,192 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,402 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,502 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,502 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,512 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,582 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,672 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:03:04,672 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:03,597 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:03,867 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:03,867 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:03,937 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:03,977 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,077 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,087 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,137 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,137 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,147 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,386 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,426 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,436 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,446 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,456 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,536 starting up: org.jboss.seam.security.identity
  | 2008/02/05 12:04:04,586 starting up: org.jboss.seam.security.identity
  | 

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

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


[jboss-user] [JBossWS] - Re: Attachments with SOAP

2008-02-05 Thread sidgod
I am getting following exception where building the webservice itself :
org.jboss.ws.WSException: Cannot determine namespace, Class had no package

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

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


[jboss-user] [JBoss Tools (users)] - Re: code completion not working

2008-02-05 Thread yilmaz_
couple days ago a bug has been fixed. can you try nightly builds?

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

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


[jboss-user] [JBoss jBPM] - How to run jBPM-BPEL and JBoss 5.0.0Beta3

2008-02-05 Thread vorax
Hi.

We are intresting in using upcomming JBoss 5 with jBPM-BPEL.

But when I try to deploy jbpm-bpel-1.1.GA on JBoss-5.0.0Beta3 as described in 
http://docs.jboss.com/jbpm/bpel/v1.1/userguide/getstarted.html, I have a 
deployment exception.

org.jboss.deployers.spi.DeploymentException: Exception determining structure: 
AbstractVFSDeployment(jbpm-bpel.ear)
...
...

On JBoss 4.2.2 all work fine.

Does jBPM-BPEL support JBoss 5?


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

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


[jboss-user] [Beginners Corner] - Jboss Tomcat Logging

2008-02-05 Thread damianco
Hi All

I am not sure if this is the right forum or not so bear with me. We have a 
webapp that runs in jboss tomcat and what i would like to be able to do is log 
all users who connect to our portal. At present i can failed attempts such as 
incorrect password or username but i would like to see all login attempts 
successful or not as we need to troubleshoot some issues with users. I want to 
log all these to the server.log. Can anyone help or push me in the right 
direction.
Damian.

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

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


[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

2008-02-05 Thread Pericles
Hi,

How you did that?

I have the same problem, I have Framework Seam 2.0.2 but when I use 
seam-generate-entities it generate *Home.java with this wrong code:

@Override
  | public boolean isIdDefined() {
  | if (Strings.isEmpty(getAccionsId().getIdDoc()))
  | return false;
  | if (Strings.isEmpty(getAccionsId().getIdTipus()))
  | return false;
  | if (Strings.isEmpty(getAccionsId().getIdUsuari()))
  | return false;
  | if (Strings.isEmpty(getAccionsId().getData()))
  | return false;
  | return true;
  | }

In isEmpty method I have that error:

The method isEmpty(String) in the type Strings is not applicable for the 
arguments (BigDecimal)

How can I resolve it?

Thanks very much.

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

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


[jboss-user] [EJB 3.0] - EJB not intialized on jboss 4.0.5

2008-02-05 Thread shoeb1981
Hi,

I've an ear containing EJB (a 3.0 implementation ) for my component. When I 
deploy the ear on JBoss 4.0.5, it doesn't deploy/start the EJB and hence I get 
ejbName not bound exception at the client side. No error is printed at the 
server console though.

However, when I deploy the same ear (without any changes) on jboss 4.2.2, it 
works perfectly fine. Do I need to add/change any value in some config files.

Any Idea ?

Thanks in Advance.



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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread joerg.schneider
Hi, 

since my company owns a support contract with BEA, I did open an official 
CASE with BEA - let's see what happens.

I will keep you informed.

Thanks.


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

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


[jboss-user] [Clustering/JBoss] - Re: Ejb clustered registering

2008-02-05 Thread tfranconville
OK, thank's for you reply.

So HA-JNDI is probably not a solution for my problem.
I am on atypic application.
My application is running all the time. I want to use the cluster architecture 
to dispatch memory and cpu use. But I need sometimes to communicate between 
node. I thought it was possible by Ejb clustered to call the ejb deployed on 
the node we want.
I think I will use directly RMI to make this kind of call. What do you think 
about that ?

The subsidiary question is, with jmx, is it possible to call a specific node ?
The application is the same on all nodes except that I want to parametrize the 
initialization on each node.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-2482

As a workaround, try reconstituting the jboss-seam.jar without the 
org.jboss.seam.async.TimerServiceDispatcher class

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

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


[jboss-user] [JBoss Seam] - Re: HTTPS redirection

2008-02-05 Thread werner23
matt.drees wrote : 
  | 
  | This is what we're planning to do.  I haven't tested it yet (don't have an 
ssl cert set up yet), but I think it should work.  I'll report back if it 
doesn't.
  | 
  | We use BIG-IP for loadbalancing and ssl decryption.  For ssl requests, 
we've configured it to add a specific request header.  I haven't tested this, 
but I think we only need to override Request.getScheme(), and not 
Request.getRequestURL().  
  | 
  | 
  |   | 
  |   | @Name(bigIpSslFilter)
  |   | @Scope(ScopeType.APPLICATION)
  |   | @BypassInterceptors
  |   | @org.jboss.seam.annotations.web.Filter
  |   | public class BigIpSslFilter implements Filter {
  |   | 
  |   | public void destroy() {
  |   | }
  |   | 
  |   | public void doFilter(ServletRequest request, ServletResponse 
response,
  |   | FilterChain filterChain) throws IOException, 
ServletException {
  |   | if (request instanceof HttpServletRequest) {
  |   | filterChain.doFilter(new 
BigIpSslRequest((HttpServletRequest) request), response);
  |   | } else {
  |   | filterChain.doFilter(request, response);
  |   | }
  |   | }
  |   | 
  |   | public void init(FilterConfig filterConfig) throws 
ServletException {
  |   | }
  |   | 
  |   | public static class BigIpSslRequest extends 
HttpServletRequestWrapper {
  |   | 
  |   | public BigIpSslRequest(HttpServletRequest request) {
  |   | super(request);
  |   | }
  |   | 
  |   | @Override
  |   | public String getScheme() {
  |   | String forwardedScheme = 
getRequest().getHeader(HTTP_X_FORWARDED_PROTO);
  |   | if (forwardedScheme != null  
forwardedScheme.equals(https)) {
  |   | return https;
  |   | }
  |   | return super.getScheme();
  |   | }
  |   | 
  |   | @Override
  |   | public HttpServletRequest getRequest() {
  |   | return (HttpServletRequest) super.getRequest();
  |   | }
  |   | }
  |   | }
  |   | 
  | 
  | (btw, it's the same header that rails looks for to determine proxied https 
requests, since we also have some rails apps)

Sorry Matt, but your filter doesn't actually work, because Seam doesn't use the 
getScheme() method of the ServletRequest. This one works:


  | @Name(forwardedHttpsDecoderFilter)
  | @Scope(ScopeType.APPLICATION)
  | @BypassInterceptors
  | @Filter
  | public class ForwardedHttpsDecoderFilter extends AbstractFilter {
  | 
  |   public static final String HEADER_HTTP_X_FORWARDED_PROTO = 
HTTP_X_FORWARDED_PROTO;
  | 
  |   public static class SslRequest extends HttpServletRequestWrapper {
  | 
  | public SslRequest(HttpServletRequest request) {
  |   super(request);
  | }
  | 
  | public HttpServletRequest getRequest() {
  |   return (HttpServletRequest) super.getRequest();
  | }
  | 
  | public StringBuffer getRequestURL() {
  |   StringBuffer requestURL = super.getRequestURL();
  |   if (requestURL.indexOf(http://;) == 0) {
  | requestURL.replace(0, 7, https://;);
  |   }
  |   return requestURL;
  | }
  |   }
  | 
  |   public void doFilter(ServletRequest request, ServletResponse response,
  |FilterChain filterChain) throws IOException, 
ServletException {
  | 
  | if (request instanceof HttpServletRequest) {
  |   String forwardedScheme = ((HttpServletRequest) 
request).getHeader(HEADER_HTTP_X_FORWARDED_PROTO);
  |   if (forwardedScheme != null  forwardedScheme.equals(https)) {
  | request = new SslRequest((HttpServletRequest) request);
  |   }
  | }
  | filterChain.doFilter(request, response);
  |   }
  | 
  |   public void destroy() {
  |   }
  | 
  |   public void init(FilterConfig filterConfig) throws ServletException {
  |   }
  | }
  | 

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

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


[jboss-user] [JBoss Portal] - A typical problem with dashboard and editdashboard in cluste

2008-02-05 Thread PVApparao
Hi

We are facing a typical issue with dashboard link and its funtionality in 
clustered version of jboss portal. 

We are using jboss-portal 2.6.1 and application server is Jboss 4.05 GA.
When we form a cluster of 3 nodes the dashboard link and its functionality is 
not happening properly. for example when i click on dashboard link it is 
immediatly throwing 500 error, after few refreshes it is displaying properly. 
Then when clicked on edit dashboard link and create a new page, it is not 
reflecting the new page name in the select box of edit page and after few 
refreshes it is listing, then when we select perticular instance for that page 
it is getting refreshed and showing default page. This is the behaviour that is 
happening.

But when a single node is there all the functionality is happening properly.

I expected this behaviour mainly due to the cache and updated my server jboss 
cache to  jboss-cache 1.4.1 SP1 and jgroups.jar that comes with the jboss-cache 
1.4.1 SP1 distribution. But the problem was not resolved.

What would be the problem? and what is the solution to rectify this problem?

What version of the cache that is required to use?
Once again i am listing my configurations

1) Jboss-portal 2.6.1 ha.sar
2) Jboss 4.05 GA
3) jboss-cache.jar and jgroups.jar from jboss-cache 1.4.1 SP1 distribution
4) 3 node cluster, data base is oracle 10 g
5) Rest of the other configurations like hibernate every thing are default that 
comes with the server jboss 4.05 GA
6) java 1.5 

Thanks in advance for any help.

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

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


[jboss-user] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/

2008-02-05 Thread modkota
Hi ,

  I am getting fallowing exception while making a service as webserice from 
JbossIDE. Can any one know what is the probelm actually. 
Thanks in advance

Exception in thread main java.lang.NullPointerException
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:578)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:273)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:132)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:127)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldParticle(SchemaTypeCreator.java:607)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:592)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:273)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:132)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:127)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldParticle(SchemaTypeCreator.java:607)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:592)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:273)
at 
org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:132)
at 
org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:109)
at 
org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:556)
at 
org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:141)
at 
org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:245)
at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:168)
at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:318)
at 
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)

 I hope this is not the problem with my code. Is there any configuration issues 
for this? This kind of exception I am getting for one service. But if I do a 
small service and making it as webservice from Jboss IDE I did not get any 
errors. Can anyone know what might the problem?



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

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


[jboss-user] [JBoss jBPM] - JBoss jBPM Graphical Process Designer Installation

2008-02-05 Thread minakari
I want to install  JBoss jBPM Graphical Process Designer  so I downloaded 
jbpm-gpd-site-3.0.12.zip I did these steps in Eclipse3.3 HelpSoftware 
Upadtesfind and install search for new features for installupdate site to 
visitNew Archive sSite then I selected  jbpm-gpd-site-3.0.12.zip from my 
harddrive but when I click finish this error occur:

No features found in the selected site(s) .choose a diffrent site or site 
category

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

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


[jboss-user] [JBoss Seam] - What about Web Beans?

2008-02-05 Thread lauerc
We've choosen JBoss Seam in hope to adopt an upcoming standard. Meanwhile it 
has been getting very silent around the Web Beans specification, even in 
Gavin's blogs. Is Web Beans a dying spec?



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't dynamically undeploy on Windows (JBoss 5 Beta3)

2008-02-05 Thread [EMAIL PROTECTED]
It's a bug, related to some URLClassloader locking the file on Windows

http://jira.jboss.com/jira/browse/JBAS-4310

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126545
___
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 simple example of @ManyToMany

2008-02-05 Thread tsirel84
JIRA-issue is closed. 
When I separated those entities (in one ear) - they worked fine.
Investigating further base project.

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

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


[jboss-user] [EJB 3.0] - Re: EJB not intialized on jboss 4.0.5

2008-02-05 Thread shoeb1981
Hi again,

Is there any way to call ejb3 from a jdk 1.4 client ?

Any help would be appreciated.

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Can not deploy process archive (par)

2008-02-05 Thread kukeltje
there currently is a difference between the ant task and the gpd in the way 
processes are deployed. gpd: servlet, ant task: database. There is an example 
ant task posted in the jira that also uses the servlet. Please have a look at 
that (since I think that should be the way to go)

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

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


[jboss-user] [JBoss Seam] - Re: Seam/Portlet Architecture and Deployment

2008-02-05 Thread gumreal
Hi wesleyhales,

Thanks for your work:-)

I want to know when the seam bridge will be released.

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NoInitialContextException

2008-02-05 Thread kgreene
Yes. I am using jboss-4.2.2.GA. From the links above, it seems this is an issue 
with this version?  
Is there any way to fix the issue with 4.2.2.GA or do I need to upgrade to 
JBossAS-4.2.3.GA?

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NoInitialContextException

2008-02-05 Thread kgreene
ok. I can't find JBossAS-4.2.3.GA. Does it exist?

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

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


[jboss-user] [JBossCache] - Is Fqn reuseable?

2008-02-05 Thread adamw
Hello,

I'm using JBoss Cache 1.4.1 (the one bundled with Seam) and have the following 
method:

  | public void testCache1() {
  |pojoCache.remove(/a);
  |pojoCache.put(/a/b, 1, 1);
  | }
  | 

In my test (which runs inside a Seam app), I start a transaction, invoke 
testCache1() and commit the transaction, and then repeat it once again. And it 
works without problems.

Now, I have another version of this method (which I though would be more 
efficient :) ):

  | private static Fqn fqn1 = new Fqn(a);
  | private static Fqn fqn2 = new Fqn(fqn1, b);
  | 
  | public void testCache2() {
  |pojoCache.remove(fqn1);
  |pojoCache.put(fqn2, 1, 1);
  | }
  | 

When I repeat the test with testCache2(), it hangs on the second invocation of 
the put(fqn2,...) method.

The only difference between the two is that once I use the private static 
fqn-s, and once not. So can I reuse Fqn's, and if not, why?

-- 
Regards,
Adam Warski

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Flushing the credential cache == InstanceNotFoundExcept

2008-02-05 Thread benoitx
Any suggestion? 

I am able to call the flushAuthenticationCache from the jmx-console web 
interface but the code fails every time on
server.invoke(jaasMgr, flushAuthenticationCache, params, signature); in the 
example on the Wiki page...

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

What am I doing wrong... even if it is trivial, I'd like to know...


  | 15:05:38,015 ERROR [UserPasswordSaver][RMI TCP Connection(125)-10.17.35.10] 
Cannot flush
  | javax.management.InstanceNotFoundException: 
jboss.security:service=JaasSecurityManager
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
  | at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
  | at 
net.XXX.savers.UserPasswordSaver.flushCache(UserPasswordSaver.java:144)

Thanks in advance

Benoit

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

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


[jboss-user] [JCA/JBoss] - Re: Destroying connection that could not be successfully mat

2008-02-05 Thread vickyk
daphna wrote : 
  | Can you please refer me to the exact FAQ? 
  | I haven't found the application-managed-security/ entry in our 
application. Where exactly is it added ?
  | 
Check this 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html
You have add this in the -ds.xml .

Use search on Jboss site you will get more details .



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

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


[jboss-user] [JBoss jBPM] - Re: Can not deploy process archive (par)

2008-02-05 Thread hlins
Thanks a lot, Ronald!

It works great.

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

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


[jboss-user] [JBoss jBPM] - handling bulk amounts of processinstances; transaction probl

2008-02-05 Thread macd
Can anybody give some advice?

I am trying to figure out if and how jBPM can handle large amounts of 
processinstances at once. 
The scenario is this: a collection of domain-objects (possible 100.000) has to 
be processed.
All elements may need the same update, but it may also be possible to deal with 
each element individually; 

The 1st approach i tried was to create 100.000 processinstances individually. 
This costs lots of time: almost 4 hours, which is not acceptible.

So i tried some different approaches:
1. use batches when closing a jbpmContext to create and signall instances
2. let a process create 10.000 subprocesses (foreachfork)
3. use foreachfork for each element of the collection
4. tried those last 2 with an asynchronous processstep
This last method ensured that each fork was scheduled as a job

One problem occurred every time: when upsizing the collection from 100 to 
10.000 instances, forks or subprocesses, i recieve an errormessage concerning a 
transaction:
- transaction not active, cannot open connection
- transaction closed, cannot commit

i searched the forums an found that this is probably caused by a 
transaction-timeout, which you happily can change.
http://wiki.jboss.org/wiki/Wiki.jsp?page=TransactionTimeout

i think this essentially doesn't fix my problems, cause i can't be upsizing my 
timeout to eternity. Besides it puzzles me that even the job-executor gets 
these exceptions.

So my guess is that i should change the config. I know there are some options 
left, but i don't know what is wise. Can anybody give me some advice? 

thanx, Marc 

my current config 

JBOSS 4.2.2 GA
JBPM 3.2.2
Oracle 9

jbpm-context
  | service name=persistence
  |   factory
  | bean class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  |   field name=isTransactionEnabledfalse //field
  |   field name=isCurrentSessionEnabledtrue //field
  | /bean
  |   /factory
  | /service   
  | service name=tx factory=org.jbpm.tx.TxServiceFactory /
  | service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory /
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | !--service name=logging 
factory=org.jbpm.logging.db.DbLoggingServiceFactory /-- 
  | service name=authentication 
factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory 
/
  | 
  | ...
  | 
  |   bean name=jbpm.job.executor class=org.jbpm.job.executor.JobExecutor
  | field name=jbpmConfigurationref bean=jbpmConfiguration //field
  | field name=namestring value=JbpmJobExector //field
  | field name=nbrOfThreadsint value=50 //field
  | field name=idleIntervalint value=5000 //field
  | field name=maxIdleIntervalint value=360 //field !-- 1 
hour --
  | field name=historyMaxSizeint value=20 //field
  | field name=maxLockTimeint value=60 //field !-- 10 
minutes --
  | field name=lockMonitorIntervalint value=6 //field !-- 1 
minute --
  | field name=lockBufferTimeint value=5000 //field !-- 5 
seconds --
  |   /bean
  | 
  | 
  |   /jbpm-context
  | 
  | hibernate-configuration
  |   session-factory
  | property 
name=hibernate.session_factory_nameJbpmHibernateSessionFactory/property  
  | property name=hibernate.connection.autocommitfalse/property
  | property 
name=hibernate.jndi.classorg.jnp.interfaces.NamingContextFactory/property  
  
  | property 
name=hibernate.dialectorg.hibernate.dialect.Oracle9iDialect/property
  | property name=hibernate.show_sqlfalse/property
  | property name=hibernate.format_sqlfalse/property
  | property name=hibernate.use_sql_commentsfalse/property
  | property 
name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property
 !-- org.hibernate.cache.EhCacheProvider -- 
  | property name=hibernate.connection.datasourcejava:/JbpmDS/property
  | property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/property

  | property 
name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property
  | property 
name=jta.UserTransactionjava:comp/UserTransaction/property
  | ...
  | ...
  | /hibernate-configuration
  | 
  | 
  | 



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

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


[jboss-user] [JBoss Seam] - Re: New Seam app in production - faulty behaviour

2008-02-05 Thread ffischer
This is an old bug within the facelets library bundled with seam 1.2. We have 
exchanged the jsf-facelets.jar with version 1.1.13a which fixes the bug. I 
think you can use facelets 1.1.14 (currently shipped with Seam 2.0.0).

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

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


[jboss-user] [JBoss Seam] - Re: New Seam app in production - faulty behaviour

2008-02-05 Thread [EMAIL PROTECTED]
Use a debugger.

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

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


[jboss-user] [JBoss Seam] - :( the huge log file.

2008-02-05 Thread gringalet
i am adding the fileupload function in seam example dvd store, now when i click 
the upload button, my pc will be so busy that it dosn;t have any response from 
my keybaord , and jboss log file will become bigger more and more. at finally, 
the log file will be more than 1G size.
who can give me a hand?

my components.xml
  ?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:bpm=http://jboss.com/products/seam/bpm;
  | xmlns:persistence=http://jboss.com/products/seam/persistence;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:framework=http://jboss.com/products/seam/framework;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-2.0.xsd 
  |  http://jboss.com/products/seam/bpm 
http://jboss.com/products/seam/bpm-2.0.xsd 
  |  http://jboss.com/products/seam/persistence 
http://jboss.com/products/seam/persistence-2.0.xsd 
  |  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-2.0.xsd
  |  http://jboss.com/products/seam/framework 
http://jboss.com/products/seam/framework-2.0.xsd
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-2.0.xsd;
  | 
  | core:init debug=true jndi-pattern=@jndiPattern@/
  | 
  | !-- 120 second conversation timeout --
  | core:manager conversation-timeout=12/
  | 
  | bpm:jbpm
  | bpm:process-definitions
  | valueordermanagement1.jpdl.xml/value
  | /bpm:process-definitions
  | bpm:pageflow-definitions
  | valuecheckout.jpdl.xml/value
  | valuenewuser.jpdl.xml/value
  | /bpm:pageflow-definitions
  | /bpm:jbpm
  | 
  | security:identity authenticate-method=#{authenticator.authenticate}/
  | 
  | persistence:managed-persistence-context name=entityManager
  |   auto-create=true
  |
persistence-unit-jndi-name=java:/dvdEntityManagerFactory /
  | 
  | factory name=order 
  |  value=#{orderHome.instance} 
  |  scope=stateless 
  |  auto-create=true/
  | framework:entity-home name=orderHome 
  |entity-class=com.jboss.dvd.seam.Order 
  |scope=conversation 
  |auto-create=true
  | framework:id#{orderId}/framework:id
  | /framework:entity-home
  |   
  | 
  | framework:entity-query name=allCategories
  | ejbql=select c from Category c
  | order=c.name
  | !--  waiting for hibernate issue EJB-277
  | framework:hints
  | keyorg.hibernate.cacheable/key
  | valuetrue/value
  | /framework:hints
  |  --
  | /framework:entity-query
  | 
  | 
  | factory name=topProducts 
  |  value=#{topQuery.resultList} /
  | framework:entity-query name=topQuery
  | ejbql=select p from Product p
  | order=p.inventory.sales desc 
  | max-results=8 /
  | component class=org.jboss.seam.web.MultipartFilter
  | property name=createTempFilesfalse/property
  | property name=maxRequestSize1/property
  |/component
  |
  | /components
  | 

my web.xml
?xml version=1.0 ?
  | 
  | web-app version=2.5
  |  xmlns=http://java.sun.com/xml/ns/javaee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
  |  
  | listener
  | listener-classorg.jboss.seam.servlet.SeamListener/listener-class
  | /listener
  | 
  | context-param
  | param-namefacelets.DEVELOPMENT/param-name
  | param-valuetrue/param-value
  | /context-param
  | 
  | context-param
  | param-namejavax.faces.DEFAULT_SUFFIX/param-name
  | param-value.xhtml/param-value
  | /context-param
  | 
  | filter
  | filter-nameSeam Filter/filter-name
  | filter-classorg.jboss.seam.servlet.SeamFilter/filter-class
  | /filter
  | 
  | filter-mapping
  | filter-nameSeam Filter/filter-name
  | url-pattern/*/url-pattern
  | /filter-mapping 
  | 
  | servlet
  | servlet-nameFaces Servlet/servlet-name
  | servlet-classjavax.faces.webapp.FacesServlet/servlet-class
  | load-on-startup1/load-on-startup
  |

[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread joerg.schneider
Hi,

I don't think that there will be a problem running JBoss with jrockit, since 
the part that decompiles the EJB's and creates the source code seem to be 
weblogic/appserver specific and has nothing to do with the plain underlying JVM.
Apparently, JBoss is working fine in this respect - anyhow, a simple test case 
could be to deploy the seam samples as they are in JBoss using a jrockit JVM. 
Since Seam contains the TimerServiceDispatcher EJB using varargs that should 
trigger the problem - or not :-)

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

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


[jboss-user] [Clustering/JBoss] - Re: Ejb clustered registering

2008-02-05 Thread [EMAIL PROTECTED]
You can call an EJB on another node, except if that EJB is deployed on the node 
making the call.  If the EJB is available locally, JBoss will detect that and 
optimize the call by routing it to the local bean. In that case your caller 
wouldn't be able to spread the calls to other nodes in the cluster.  If you 
need a workaround for that, see Why are calls between clustered session beans 
not load balanced even though load balancing policy is Round Robin? on 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ.

If your client needs to use HA-JNDI to find things on other nodes in the 
cluster, that's fine.  Just don't configure your context via a jndi.properties 
file.  Populate a Map with the key/value pairs you listed and call new 
InitialContext(Map).  You can even externalize the key/value pairs into a 
.properties file and programatically read in the properties.  Just don't name 
the file jndi.properties. If you put a file named jndi.properties on the 
classpath, it may be picked up by all sorts of other code and break their JNDI 
usage.

You can use JMX to invoke on specific nodes.  To make remote JMX calls, use the 
RMIAdaptor (http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingTheRMIAdaptor).  But 
you'd need to know the address/port JNDI is using on each node in order to find 
that node's RMIAdaptor.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Maven built jar gives NoClassDefError (4.0.2)

2008-02-05 Thread mrkmrk
Hi.

We are in the process of moving from ANT build scripts to Maven2.
As a first step we have migrated a jar containing common functionality to 
Maven2. 

This jar now contains a maven directory under /META-INF. This directory 
contains among other things a pom.xml.

When we start JBoss 4.0.2 with a configuration using this jar, we get the 
following error:

  | 2008-02-05 15:28:14,697 ERROR [org.jboss.deployment.MainDeployer] could not 
create deployment: 
file:/C:/jboss-4.0.2/server/auction/deploy/auction.ear/auction.sar/
  | org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.UndeclaredThrowableException)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:202)
  | 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:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  | 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:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:418)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at 

[jboss-user] [Security JAAS/JBoss] - Re: Use of EJBs within LoginModule

2008-02-05 Thread [EMAIL PROTECTED]
First ensure that your EJBs are working with the default JAAS configuration of 
other. Then bring in your login modules.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: LoginContext(init()) Null Pointer Exception

2008-02-05 Thread [EMAIL PROTECTED]
Can you show your JAAS configuration for the security domain from 
conf/login-config.xml?   Use the code button on the forum to post the xml bit...

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Hot deployment scanner deploys files which were meant to be

2008-02-05 Thread jaikiran
I have been trying out a few things with JBoss-5.0 Beta3. While doing this i 
observed that the hot deployment scanner 
org.jboss.system.server.profileservice.hotdeploy.HDScanner while scanning for 
any modified/removed/added applications, picks up files which are meant to be 
filtered out. Here's the scenario:

- Create a valid EAR file (ex: myApp.ear)
- Place this file in the deploy folder of the server and rename it to 
myApp.ear.bak (so that it is filtered out from deployment)
- Start the server.
- Server starts fine and as expected the myApp.ear.bak is not deployed as it is 
filtered out by the VFSDeploymentScannerImpl using the ExtensibleFilter.
- However, once the server has started and the next run of HDScanner starts,  
the HDScanner adds the myApp.ear.bak to a list of new applications to be 
deployed. Because of which the myApp.ear.bak gets deployed (which is not what 
we  wanted).

The reason appears to be because HDScanner isn't filter aware. As a result the 
getModifiedDeployments() method on the ProfileImpl adds this .bak file to the 
list of new applications to be deployed.

I looked at the JIRA to see if this is reported, but could not find any related 
issue. Has this been reported before?




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

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


[jboss-user] [JBoss Seam] - Re: :( the huge log file.

2008-02-05 Thread pepite
Why do you do the following:

byte[] filedata=null;
setFiledata(filedata);

The attribute fileData is never set then.

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NoInitialContextException

2008-02-05 Thread jaikiran
As per the description in the bug, this issue happens when you have a MDB in 
your application. Do you have a MDB in your application?

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

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


[jboss-user] [JBoss Seam] - New Seam app in production - faulty behaviour

2008-02-05 Thread JUnkie
I just went into production with a new Seam app and see a problem now:

After a few days of running perfectly only the first element of all Lists that 
I display with ui:repeat is shown. This behavior is seen application wide, 
for every List from every session bean, no matter if the List is outjected or 
accessed via getter, no matter if the sb is stateless or stateful or which 
scope the sb has. The List in the session bean still holds all the elements but 
only the first one is displayed in the ui:repeat.

Nothing in the server log file. Only an app restart helps.

I can reproduce this on my dev machine easily: I pick any page that makes use 
of any of the several session beans and press F5 for a minute to produce 
thousand calls or so.

I'm helpless and scared as I have no idea why that is and how to fix this. 
Using:

Seam 1.2
JBoss 4.2
Facelets

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

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


[jboss-user] [JCA/JBoss] - Re: Destroying connection that could not be successfully mat

2008-02-05 Thread daphna
adrian wrote:
anonymous wrote : 
  | Read the FAQ. In particualr, add application-managed-security/
  | 

Sorry for my delayed reply. 
Can you please refer me to the exact FAQ? 
I haven't found the application-managed-security/ entry in our application. 
Where exactly is it added ?


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

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


[jboss-user] [JBoss jBPM] - concurrency question

2008-02-05 Thread twiceknightly
Hi,

I want to write a plugin that I can call to persist my domain objects from 
within an action.  I want to build on the jbpm hibernate code so that my 
updating of domain objects happens within the same transaction/hibernate 
session as the jbpm stuff.  Will something like the following bit of code get 
me the hibernate session for the current thread?

JbpmConfiguration.getInstance().getCurrentJbpmContext().getPersistenceService().getSession()

Is there any concurrency concerns?  The reason I ask is the way the current 
code uses thread locals.  My understanding is that there is a jbpmContext per 
thread via a thread local in JbpmConfiguration.  

cheers!
 

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

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


[jboss-user] [JBoss Portal] - Re: Use Apache mod_proxy or mod_rewrite to redirect to jboss

2008-02-05 Thread je.a.le
I had the same issues weeks ago and i already got an answer from the forum :-)

jboos hidding on localhost behind apache.
Here one vhost config :

virtualhost 127.0.0.1
  ServerName s1

RewriteEngine on

RewriteRule .* - [E=DEFAULT_PORTAL:s1]
RewriteRule .* - [E=DEFAULT_PAGE:p1]

RewriteCond %{REQUEST_URI} ^/$
RewriteRule .* 
http://127.0.0.1:8080/portal/portal/%{ENV:DEFAULT_PORTAL}/%{ENV:DEFAULT_PAGE} 
[P]
RewriteCond %{REQUEST_URI} ^$
RewriteRule .* 
http://127.0.0.1:8080/portal/portal/%{ENV:DEFAULT_PORTAL}/%{ENV:DEFAULT_PAGE} 
[P]

RewriteCond %{REQUEST_URI} ^/TestServlet
RewriteRule ^/(.*)$ http://127.0.0.1:8080/$1 [P]

RewriteCond %{REQUEST_URI} ^/portal
RewriteRule ^/(.*)$ http://127.0.0.1:8080/$1 [P]



This redirect the url/domain s1 to portal s1. 
One issues is custon themes. We solve the problems by simple put all our themes 
directly on jbossportal themes dir (then restart). 
For others applications, like portlet, servlet, etc... that more tricky.
1) you create a vhost for each applications (!)
2) or like us, you add a rewritecond (ex testredirectportlet) each time. so 
http://s1/TestRedirectServlet/page.jsp translate to 
localhost:8080/TestRedirectServelt/page.jsp
(in your code, the url is /TestServlet/page.jsp )

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread supernovasoftware.com
Does this have any relevance when using JBoss 4.2.2 with jrockit?

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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2008-02-05 Thread nandhusriram
Hello
I  followed the instructions for websphere 61 and when I deployed the war , I 
am getting the following error , any ideas ?


[2/5/08 9:14:17:109 CST] 0020 WebAppE   Exception caught while 
initializing context 
java.lang.LinkageError: LinkageError while defining class: 
org.jboss.seam.example.jpa.AuthenticatorAction
Could not be defined due to: (org/jboss/seam/example/jpa/AuthenticatorAction) 
bad major version at offset=6
This is often caused by having a class defined at multiple
locations within the classloader hierarchy.  Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
== indicates defining classloader
==[0] 
[EMAIL PROTECTED]
   Local ClassPath: 
C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\classes;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\antlr.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\cglib.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\commons-beanutils.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\commons-collections.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\commons-digester.jar;C:\RAD7\SDP70\runtimes\base_v61\profil!
 
es\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\dom4j.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\el-api.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\el-ri.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\hibernate-annotations.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\hibernate-commons-annotations.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\hibernate-entitymanager.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB!
 -L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\l
ib\hibernate-validator.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\hibernate.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\javassist.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jboss-archive-browsing.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jboss-el.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jboss-seam-debug.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jboss-seam-ui.jar;C:\RAD7\SDP70\r!
 
untimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jboss-seam.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jsf-api.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jsf-facelets.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jsf-impl.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\jstl.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130Node02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\persistence-api.jar;C:\RAD7\SDP70\runtimes\base_v61\profiles\AppSrv01\installedApps\AEB-L3A9130No!
 de02Cell\jboss-seam-jpa_war.ear\jboss-seam-jpa.war\WEB-INF\lib\richfac

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Hot deployment scanner deploys files which were meant to

2008-02-05 Thread [EMAIL PROTECTED]
I think not.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Using Seam 2.0.1.CR1 with JBoss Tools 2.0.0.GA

2008-02-05 Thread Antoine Sabot-Durand
I've got a light issue migrating from seam 2.0.0 to 2.0.1 in JBDS (It should be 
the same with Jboss Tools)
My project is an EJB3 project targeting JBoss 4.2.2, when I replace 
jboss-seam.jar in the EAR project with version 2.0.1 I cannot open the J2EE 
dependencies panel in the EJB or War project properties. Here is my workspace 
log :



  | !ENTRY org.eclipse.wst.validation 4 0 2008-02-05 16:23:35.639
  | !MESSAGE 
  | *** ERROR ***: Tue Feb 05 16:23:35 CET 2008No IModelProvider exists for 
virtual component P/Zanzibar-ear Zanzibar-ear/EarContent/jboss-seam.jar of 
version: null
  | 
  | !ENTRY org.eclipse.jface 4 2 2008-02-05 16:23:35.641
  | !MESSAGE Problems occurred when invoking code from plug-in: 
org.eclipse.jface.
  | !STACK 0
  | java.lang.NullPointerException
  | at 
org.eclipse.jst.j2ee.application.internal.operations.ClassPathSelection.initializeElements(ClassPathSelection.java:544)
  | at 
org.eclipse.jst.j2ee.application.internal.operations.ClassPathSelection.init(ClassPathSelection.java:142)
  | at 
org.eclipse.jst.j2ee.internal.common.ClasspathModel.createClassPathSelection(ClasspathModel.java:260)
  | at 
org.eclipse.jst.j2ee.internal.common.ClasspathModel.initializeSelection(ClasspathModel.java:244)
  | at 
org.eclipse.jst.j2ee.internal.common.ClasspathModel.getClassPathSelection(ClasspathModel.java:286)
  | at 
org.eclipse.jst.j2ee.internal.ClasspathTableManager.initializeEJBClientDefaults(ClasspathTableManager.java:110)
  | at 
org.eclipse.jst.j2ee.internal.ClasspathTableManager.createRadioGroup(ClasspathTableManager.java:167)
  | at 
org.eclipse.jst.j2ee.internal.ClasspathTableManager.fillComposite(ClasspathTableManager.java:94)
  | at 
org.eclipse.jst.j2ee.internal.JARDependencyPropertiesPage.createTableComposite(JARDependencyPropertiesPage.java:415)
  | at 
org.eclipse.jst.j2ee.internal.JARDependencyPropertiesPage.createListGroup(JARDependencyPropertiesPage.java:372)
  | at 
org.eclipse.jst.j2ee.internal.JARDependencyPropertiesPage.createContents(JARDependencyPropertiesPage.java:282)
  | at 
org.eclipse.jst.j2ee.internal.J2EEDependenciesPage.createNonEARContent(J2EEDependenciesPage.java:138)
  | at 
org.eclipse.jst.j2ee.internal.J2EEDependenciesPage.createContents(J2EEDependenciesPage.java:75)
  | at 
org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233)
  | at 
org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1456)
  | at 
org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1213)
  | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  | at org.eclipse.core.runtime.Platform.run(Platform.java:857)
  | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
  | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
  | at 
org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1207)
  | at 
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:433)
  | at 
org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698)
  | at 
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
  | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  | at org.eclipse.core.runtime.Platform.run(Platform.java:857)
  | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
  | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
  | at 
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
  | at 
org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1642)
  | at 
org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1095)
  | at 
org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:1009)
  | at 
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:476)
  | at 
org.eclipse.jface.preference.PreferenceDialog$4.run(PreferenceDialog.java:369)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | at 
org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:365)
  | at org.eclipse.jface.window.Window.create(Window.java:426)
  | at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
  | at 
org.eclipse.ui.internal.dialogs.PropertyDialog.createDialogOn(PropertyDialog.java:81)
  | at 
org.eclipse.ui.dialogs.PropertyDialogAction.createDialog(PropertyDialogAction.java:175)
  | at 
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:154)
  | at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
  | at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
  | at 

[jboss-user] [Security JAAS/JBoss] - Re: Flushing the credential cache == InstanceNotFoundExcept

2008-02-05 Thread [EMAIL PROTECTED]
1) Try to invalidate the session when the user changes the password. (Why does 
it matter that the cache is still with the old password? The new password will 
anyway kick in on next login).

or

2) Get MBeanServerConnection as:
MBeanServerConnection server= (MBeanServerConnection)new 
InitialContext().lookup(jmx/rmi/RMIAdaptor);
  | 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-05 Thread jaikiran
Hmmm... Not what i expected. Let's try one other approach (again, i am not sure 
whether its going to pin-point the exact issue. But let's give it a try). Edit 
the run.bat (if you are using Windows) or run.conf (for Unix) to pass the 
-verbose:class JVM parameter to the server.

run.bat:

set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -verbose:class

run.conf:

if [ x$JAVA_OPTS = x ]; then
  |JAVA_OPTS=-server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -verbose:class
  | fi

Note: These parameters will have to be all in one line

This will print out to STDOUT the classes that are being loaded and the jar 
files from which they are being picked up. This dump will be huge and remember 
to redirect STDOUT to some file:


run.bat  classes.log

Restart JBoss after these changes. Then on, just follow the steps that you 
normally do, to run into this exception. Once this exception occurs (you will 
have to keep an watch on either server.log or classes.log to see whether the 
exception has occured), upload this classes.log to some place where we can 
access it (you wont be able to post that huge classes log in your post). If we 
are lucky, then we might figure out what the issue is from these logs. 


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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 on Glassfish

2008-02-05 Thread [EMAIL PROTECTED]
As Pete said I will be working this as soon as I can.  I hope to get to this in 
the next several weeks. 

The examples that we typically deploy as part of the reference guide do not 
include groovy.  Is this one of your requirements?  I may be able to look at it 
after I finish the main glassfish work.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: rough start with JBossPDP

2008-02-05 Thread [EMAIL PROTECTED]
javasutra wrote : I noticed that the GA version of JBoss XACML seems to have 
gone away and the AS 5.0 release uses Sun's XACML.  Does this mean that no 
further development of Sun's implementation is planned?  From what I can tell, 
it is stalled and does not fully support XACML 2.0.
  | 
  | Thanks.
  | 

I have not integrated JBossXACML in AS5 yet.  It is a minor exercise for me to 
do in a month or so.

Why do you have to worry about complete XACML v2.0 support if all you care is 
get your use cases working fine?


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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-05 Thread [EMAIL PROTECTED]
Thank you very much for adding your voice to this.  I find this unacceptable 
that BEA does not fix this.  It has been there for over a year.

joerg.schneider wrote : Hi, 
  | 
  | since my company owns a support contract with BEA, I did open an official 
CASE with BEA - let's see what happens.
  | 
  | I will keep you informed.
  | 
  | Thanks.
  | 

I will be looking at implementing an alternative jboss-seam jar that does not 
have the EJB timer in it.  For now this is the least intrusive approach.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Jboss Remote Deploy using MBeans

2008-02-05 Thread PeterJ
Let's continue this at you other post on this same topic: 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126488 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Local Deployment using JSP Servlet

2008-02-05 Thread PeterJ
See http://www.jboss.com/index.html?module=bbop=viewtopict=127272

Also, JSR-88 is a possibility, but the last time I used it, the application was 
no longer deployed after a restart. See http://jcp.org/en/jsr/detail?id=88.

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

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


[jboss-user] [JBoss Seam] - Re: :( the huge log file.

2008-02-05 Thread pepite
You have to tune your jboss-log4j.xml config in the conf directory. Try to set 
the PRIORITY to INFO for the org.jboss category (just uncomment the category I 
think).


Nicolas Leroux

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

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


[jboss-user] [JBoss Seam] - Re: :( the huge log file.

2008-02-05 Thread pepite
I think you don't need the setData in update2() because you already set the 
data in:

 anonymous wrote : s:fileUpload id=upload data=#{file.filedata}

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

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


[jboss-user] [Clustering/JBoss] - Re: change default partition name

2008-02-05 Thread chrlon
Hi, I'm trying to set the partition name in properties-service.xml instead of 
using the -g startup argument.  But it only works with the startup argument. 
Why I can't get it to work with the properties file?

I.E.

jboss.partition.name=myPartition

vs

./run.sh -g myPartition c- all

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

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


[jboss-user] [JBoss Tools (users)] - Re: Packaging support?

2008-02-05 Thread snarff
[EMAIL PROTECTED] wrote : Are you using the Project Archives view? 
  | 
  | This view can deploy in an exploded or packaged format, and perform 
incremental updates automatically without you having to select and deploy each 
and every time. 

Hadn't discovered it yet: thanks for the hint. What do you mean by 'deploy in 
an exploded or packaged format'?

Also, I wonder why I have to write the jboss.xml myself. Am I overlooking 
something else?

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

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


[jboss-user] [JBoss Seam] - Re: :( the huge log file.

2008-02-05 Thread gringalet
this is from the part of my log file, it  looks like repeat doing something. 
2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.file
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postSetVariable.file
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.this
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postSetVariable.org.jboss.seam.this
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.method
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postSetVariable.org.jboss.seam.method
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2008-02-05 22:37:39,765 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Hot deployment scanner deploys files which were meant to

2008-02-05 Thread jaikiran
Created a new one http://jira.jboss.com/jira/browse/JBAS-5209

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

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


[jboss-user] [JBossCache] - Re: Is Fqn reuseable?

2008-02-05 Thread adamw
Strangely, this mostly happens when transaction isolation level is set to NONE.

My cache setup:


  | ?xml version=1.0 encoding=UTF-8 ?
  | server
  | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar /
  | 
  | !--  
  --
  | !--  Defines TreeCache configuration   
--
  | !--  
  --
  | mbean code=org.jboss.cache.TreeCache 
name=jboss.cache:service=TreeCache
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | 
  | !-- Configure the TransactionManager --
  | attribute 
name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute
  | 
  | !--
  |   Node locking scheme :
  |   PESSIMISTIC (default)
  |   OPTIMISTIC
  |   --
  | attribute name=NodeLockingSchemePESSIMISTIC/attribute
  | 
  | !--
  | Node locking isolation level :
  |  SERIALIZABLE
  |  REPEATABLE_READ (default)
  |  READ_COMMITTED
  |  READ_UNCOMMITTED
  |  NONE
  | 
  | (ignored if NodeLockingScheme is OPTIMISTIC)
  | --
  | attribute name=IsolationLevelNONE/attribute
  | 
  | !-- Lock parent before doing node additions/removes --
  | attribute name=LockParentForChildInsertRemovetrue/attribute
  | 
  | !-- Valid modes are LOCAL
  |  REPL_ASYNC
  |  REPL_SYNC
  |  INVALIDATION_ASYNC
  |  INVALIDATION_SYNC
  | --
  | attribute name=CacheModeLOCAL/attribute
  | 
  | !--  Whether each interceptor should have an mbean
  | registered to capture and display its statistics.  --
  | attribute name=UseInterceptorMbeanstrue/attribute
  | 
  | !-- Name of cluster. Needs to be the same for all TreeCache nodes 
in a
  |  cluster, in order to find each other --
  | attribute name=ClusterNameJBoss-Feeds-Cluster/attribute
  | 
  | !-- Uncomment next three statements to enable JGroups multiplexer.
  | This configuration is dependent on the JGroups multiplexer being
  | registered in an MBean server such as JBossAS. --
  | !--
  | dependsjgroups.mux:name=Multiplexer/depends
  | attribute 
name=MultiplexerServicejgroups.mux:name=Multiplexer/attribute
  | attribute name=MultiplexerStackudp/attribute
  | --
  | 
  | !-- JGroups protocol stack properties. ClusterConfig isn't used if 
the
  |   multiplexer is enabled and successfully initialized. --
  | attribute name=ClusterConfig
  | config
  | !-- UDP: if you have a multihomed machine,
  | set the bind_addr attribute to the appropriate NIC 
IP address
  | --
  | !-- UDP: On Windows machines, because of the media sense 
feature
  |  being broken with multicast (even after disabling 
media sense)
  |  set the loopback attribute to true
  | --
  | UDP mcast_addr=228.1.2.3 mcast_port=45566 ip_ttl=64 
ip_mcast=true
  |  mcast_send_buf_size=15 
mcast_recv_buf_size=8 ucast_send_buf_size=15
  |  ucast_recv_buf_size=8 loopback=false /
  | PING timeout=2000 num_initial_members=3 
up_thread=false down_thread=false /
  | MERGE2 min_interval=1 max_interval=2 /
  | FD shun=true up_thread=true down_thread=true /
  | VERIFY_SUSPECT timeout=1500 up_thread=false 
down_thread=false /
  | pbcast.NAKACK gc_lag=50 max_xmit_size=8192 
retransmit_timeout=600,1200,2400,4800 up_thread=false
  |down_thread=false /
  | UNICAST timeout=600,1200,2400 window_size=100 
min_threshold=10 down_thread=false /
  | pbcast.STABLE desired_avg_gossip=2 up_thread=false 
down_thread=false /
  | FRAG frag_size=8192 down_thread=false 
up_thread=false /
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=true print_local_addr=true /
  | pbcast.STATE_TRANSFER up_thread=false 
down_thread=false /
  | /config
  | /attribute
  | 
  | !--The max amount of time (in milliseconds) we wait until the
  | initial state (ie. the contents of the cache) are retrieved 
from
  | existing 

[jboss-user] [Clustering/JBoss] - Re: change default partition name

2008-02-05 Thread [EMAIL PROTECTED]
Probably a dependency issue; i.e. the services that use jboss.partition.name 
have already deployed and read the value before properties-service.xml deploys.

Try adding 

dependsjboss:type=Service,name=SystemProperties/depends

to the ClusterPartition mbean in cluster-service.xml.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Maven built jar gives NoClassDefError (4.0.2)

2008-02-05 Thread PeterJ
The pom.xml is not a factor in this error - I use Maven2 for my builds and 
JBossAS has no problems with the addition Maven2 artifacts.

What could be a factor, though, is that you are using JDK 1.6 and JBossAS 4.0.2 
is not qualified to run in 1.6. Try running with JDK 1.5 instead.

Also, where is the jar file located? In the ear? If so, is it referenced in the 
application.xml file?

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

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


[jboss-user] [JBoss Portal] - Re: Anybody got seam 2.0 portlets working?

2008-02-05 Thread den74
hi mhinten,
i'm trying to manage a jsf/seam 2.0 portlet  as you on your same environment 
configuration but i stuck with a lot of errors.
From your answer i thought you already solved the most of them, except about 
richfaces (that i see will be supported on next richfaces version), could you 
give a short list of operations to correctly configure a portlet using jsf and 
seam?
I'm interested in configuring faces_config.xml, web.xml, component.xml and 
above of all what libraries (and their version) include in war portlet.

Thanks in advance

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

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


[jboss-user] [EJB/JBoss] - Re: increase passivate timeout of Entity Beans (RO)

2008-02-05 Thread Anna_Lut
I also try to increase/decrase the value of max-bean-age
But it seems,  this parameter is ignored.. Because there are no difference in 
passivation timeout, when 

max-bean-age10/max-bean-age

and 

max-bean-age600/max-bean-age

in both examples passivation timeout is 10 min.

I want to decrease this value for testing passivation behaviour... but I cannt.
How I can do this?

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

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


[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS

2008-02-05 Thread clandestino_bgd
Hi,
now:

  | cvs update followed by
  | ant get.dependencies
  | 
results with:

  | BUILD FAILED
  | /home/agaton/projects/jbpm.3/build/build.xml:197: 
java.net.MalformedURLException: no protocol: ${lib.jaxb.api.remote}
  | 
And there is no lib.jaxb.api.remote defined in build.properties indeed.
If I am not talking nonsense, can someone fix this and allow JBOM being built 
from CVS in general?

Thanks
Milan

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-05 Thread starkc
End of the post got cut off, but it should be what you are looking for.  I know 
its a ton to look through, thanks for doing that.  

One line that stands out immediately before the exception is the following:

[Loaded weblogic.jdbc.common.OracleBlob]

the weblogic.jar file was brought over to provide access to a specific logger 
that the code required.  This stands out after a cursory inspection,  but may 
be unrelated, I have no idea.  This weblogic Oracle definitely seems as if it 
should not be used here though.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-05 Thread jaikiran
Where is this weblogic.jar file placed? Also do you have the oracle driver 
related jar in %JBOSS_HOME%/server/xxx/lib folder (i guess yes)?  What happens 
if you don't have this weblogic.jar file (maybe your application will fail, but 
does this current usecase which is failing, go through?)

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

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


[jboss-user] [EJB/JBoss] - Re: increase passivate timeout of Entity Beans (RO)

2008-02-05 Thread Anna_Lut
I use /all  configuration.  JBOSS 3.2.1

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

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


[jboss-user] [JBoss Tools (users)] - Problem with s:conversationPropagation

2008-02-05 Thread graben
I try to use s:conversationPropagation to begin a nested conversation. Since 
this isn't a dymamic view item I can't define whether a conversation is running 
and I have to nest or if I have to start a new conversation. It seems the 
s:conversationPropagation doesn't manage problems like that. Am I right?

THX Benjamin

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

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


[jboss-user] [JBossCache] - Re: Buddy Replication on specific Region

2008-02-05 Thread mircea.markus
Buddy reapplication cannot be configured on a per region basis. You can use two 
several cache instances to achieve this (each being one region, e.g., the 
caches that replicate can share a common transport/multiplexer)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-05 Thread jaikiran
Also, do you have any classes belonging to javax.sql.* package in that 
weblogic.jar?

anonymous wrote : the weblogic.jar file was brought over to provide access to a 
specific logger that the code required.

Logging of what? Trying to understand whether this logging can be done without 
this jar file.


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

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


  1   2   3   >