[jboss-user] [JBoss Seam] - Re: Problem with Hibernate sessions post-Seam2 migration

2007-11-30 Thread tangdazhu
I got the same exception with datasource can't find problem. i don't think this 
is caused by wrong jdbc driver, because it can't be found in seam 1.2. this 
exception only happened in seam2. Have anyone fixed this problem?

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

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


[jboss-user] [JBoss Seam] - Re: Usage of @Restrict annotation with method parameters

2007-11-30 Thread rizzojo
Thank you guys !

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread nicdo77
Help?

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

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


[jboss-user] [JBossWS] - Re: Easiest Way to Consume Web Services from JBoss 4.0.5 EJB

2007-11-30 Thread [EMAIL PROTECTED]
Yes, you can use wsconsume with JBoss 4.0.5, however you have to upgrade the 
JBossWS it ships with the latest release.

This should cover all you need to know to use wsconsume: 
http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools
In particular, read the Client paragraph.

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

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


[jboss-user] [JBoss jBPM] - Re: deploying jbpm 3.2.2 process archive in jboss 4.2.x

2007-11-30 Thread mputz
you should just make sure that the hibernate.cfg.xml is in your classpath, eg. 
put it in a separate folder (like '/config') inside your project and pick this 
up in the classpath definition:
 path id=libraries
  | !-- path to the config files --
  | pathelement location=config/
  | !-- path to other libs --
  | fileset dir=${librarydir}
  | ...
  | /fileset
  |   /path
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Problems with links in pageflow pages based on templates

2007-11-30 Thread chawax
It still doesn't work ... The link is the same, the navigation configuration is 
the same, the only difference is that I use different components. So it must 
come from my navigation component. I added @BypassInterceptors annotation to 
my component (this is what is done with identity component, but it changes 
nothing. Which annotations did you put on your component class and on its 
methods ?

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

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


[jboss-user] [JBoss Messaging] - Re: long time to reload messages in fail over state

2007-11-30 Thread timfox
Put your logging on trace, rerun it and look for errors in your logs.

For some reason it looks like failover isn't completing on node 1.

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

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


[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

2007-11-30 Thread jhalliday
 Why the mbean XML?

Umm, because I want operations on it exposed via. JMX?  Just because we use MC 
internally in the app server, that does not mean JMX goes away. There are still 
likely to be 3rd party tools wanting to use JMX to manage the server, so I need 
some way to wire the service up as an mbean. This seemed like the easiest 
route. If you can suggest another approach I'll happily change. Assuming of 
course I don't have to cascade the change to everything that depends on the tx 
manager and expects it to be an mbean.

Thanks

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

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


[jboss-user] [JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1

2007-11-30 Thread Achillix
Max thanx a lot for your response and for the JIRA entry as well!
here is my .packaging

  | ?xml version=1.0 encoding=UTF-8?
  | configurations
  | archive destination= exploded=false name=SMA_SERVER_SIDE.jar 
used=true
  | folder excludes= 
includes=com/gatewaynet/misc/*.class,com/gatewaynet/web/util/TMSA_Utils.class,com/gatewaynet/web/util/GPSException.class,com/gatewaynet/web/util/GPSUtils.class,com/gatewaynet/web/util/CrewUtils.class
 location=bin name=bin prefix= project= projectLocation=bin 
used=true/
  | /archive
  | archive destination= exploded=false name=SMA_COMMON.jar used=true
  | folder excludes= includes=com/gatewaynet/graphs/*.class location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | file location=/usr/local/misc/packages/jcommon-0.6.4.jar 
name=jcommon-0.6.4.jar prefix= used=true/
  | file location=/usr/local/misc/packages/jfreechart-0.9.2.jar 
name=jfreechart-0.9.2.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/jfreechart-1.0.5/lib/jfreechart-1.0.5.jar 
name=jfreechart-1.0.5.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/jfreechart-1.0.5/lib/jcommon-1.0.9.jar 
name=jcommon-1.0.9.jar prefix= used=true/
  | /archive
  | archive destination= exploded=false name=SMA_EJBs.jar used=true
  | folder excludes= 
includes=com/gatewaynet/ejbs/*.class,com/gatewaynet/ifs/*.class 
location=bin name=bin prefix= project= projectLocation=bin 
used=true/
  | file location=src/META-INF/ejb-jar.xml name=ejb-jar.xml 
prefix=META-INF project= projectLocation=src/META-INF/ejb-jar.xml 
used=true/
  | file location=src/META-INF/jboss.xml name=jboss.xml prefix=META-INF 
project= projectLocation=src/META-INF/jboss.xml used=true/
  | file location=SMA_SERVER_SIDE.jar name=SMA_SERVER_SIDE.jar prefix= 
project= projectLocation=SMA_SERVER_SIDE.jar used=true/
  | file location=SMA_COMMON.jar name=SMA_COMMON.jar prefix= project= 
projectLocation=SMA_COMMON.jar used=true/
  | /archive
  | archive destination= exploded=false name=SMA_EJBs-Client.jar 
used=true
  | folder excludes= includes=com/gatewaynet/ifs/*.class location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | /archive
  | archive destination= exploded=false name=SMA_APPLETS.jar 
used=false
  | folder excludes= includes=com/gatewaynet/web/applets/* location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | /archive
  | archive destination= exploded=false name=SMA_WEB.war used=true
  | folder excludes= 
includes=com/gatewaynet/web/*.class,com/gatewaynet/web/util/*.class,com/gatewaynet/pdf/*.class,com/gatewaynet/web/util/xml/*.class
 location=bin name=bin prefix=WEB-INF/classes project= 
projectLocation=bin used=true/
  | file location=src/WEB-INF/jboss-web.xml name=jboss-web.xml 
prefix=WEB-INF project= projectLocation=src/WEB-INF/jboss-web.xml 
used=true/
  | file location=src/WEB-INF/web.xml name=web.xml prefix=WEB-INF 
project= projectLocation=src/WEB-INF/web.xml used=true/
  | file location=SMA_EJBs-Client.jar name=SMA_EJBs-Client.jar 
prefix=WEB-INF/lib project= projectLocation=SMA_EJBs-Client.jar 
used=true/
  | folder excludes= includes= location=docroot name=docroot prefix= 
project= projectLocation=docroot used=true/
  | folder excludes= includes= location=src/WEB-CONF/taglibs 
name=taglibs prefix=WEB-INF project= 
projectLocation=src/WEB-CONF/taglibs used=true/
  | folder excludes= includes= location=src/WEB-CONF/taglibs-jars 
name=taglibs-jars prefix=WEB-INF/lib project= 
projectLocation=src/WEB-CONF/taglibs-jars used=true/
  | file location=SMA_COMMON.jar name=SMA_COMMON.jar prefix=WEB-INF/lib 
project= projectLocation=SMA_COMMON.jar used=true/
  | file location=/usr/local/misc/packages/itext-1.3.jar 
name=itext-1.3.jar prefix=WEB-INF/lib used=true/
  | file location=/usr/local/misc/packages/jep212.jar name=jep212.jar 
prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/jakarta-poi-1.8.0-dev-20020919.jar 
name=jakarta-poi-1.8.0-dev-20020919.jar prefix=WEB-INF/lib used=true/
  | file location=SMA_APPLETS.jar name=SMA_APPLETS.jar prefix= 
project= projectLocation=SMA_APPLETS.jar used=true/
  | file 
location=/usr/local/misc/packages/commons-codec-1.3/commons-codec-1.3.jar 
name=commons-codec-1.3.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/commons-fileupload-1.1.1/commons-fileupload-1.1.1.jar
 name=commons-fileupload-1.1.1.jar prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/commons-logging-1.0.4/commons-logging.jar 
name=commons-logging.jar prefix= used=true/
  | file location=commons-httpclient-2.0.2.jar 
name=commons-httpclient-2.0.2.jar prefix= project= 
projectLocation=commons-httpclient-2.0.2.jar used=true/
  | file 
location=/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/dist/ajaxtags-1.2-beta2.jar
 name=ajaxtags-1.2-beta2.jar prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/lib/jstl-1.0.6.jar
 name=jstl-1.0.6.jar 

[jboss-user] [JBoss Seam] - Startup for factory methods in components.xml

2007-11-30 Thread sradford
Hi,

The schema and dtd for components.xml 2.0 states that the startup attribute is 
allowed for the factory element. However, it does not appear to work and 
looking at the code org.jboss.seam.init.Init does not read this attribute, nor 
does FactoryDescriptor have a startup property.

Is this an oversight in implementation, or an incorrect schema and that startup 
for factories in components.xml is incorrect?

Thanks and regards,

Sean

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

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


[jboss-user] [JBoss Tools (users)] - Bad experience with JBossAS tools

2007-11-30 Thread Juergen.Zimmermann
As described at http://jira.jboss.org/jira/browse/JBIDE-1377 by screenshots and 
log entries the deployment process with JBossAS Tools is a nightmare. I'm 
absolutely happy with Hibernate Tools, RichFaces VPE, and the Project Archives 
of JBossAS Tools. However, the fact that my Eclipse configuration gets 
corrupted on an almost regular base is a nightmare, especially when the whole 
workspace has to be deleted.

Regarding deployment I stepped back to the WTP plugin and hope that JBoss Tools 
2.0.1 will fix this annoying bug as indicated by the url above.

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

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


[jboss-user] [JBoss Seam] - Re: Trapping Seam Remoting AJAX errors.

2007-11-30 Thread samdoyle
Actually I think that JIRE is different I was looking for something like with 
Prototype Ajax.Request where you can specify on404 and onFailure handlers when 
submitting your request.

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

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


[jboss-user] [JBoss and NetBeans] - Re: Netbeans 6, Java Persistence API, Web Service using Anno

2007-11-30 Thread jsolderitsch
phejl wrote : I some did more investigation with jboss 4.2.2 and jboss 5 
beta2, here is what I observed (don't take it as an unchangeable fact).
  | With jboss 4 it seems to me that PersistentContext in servlet or webservice 
is ignored completely (jboss 4 is not ee 5 certified - provides ejb3 and ee5 
web apps, however not sure if wired properly).
  | When using jboss 5 server noticed the annotation however wasn't able to 
load the proper context (maybe really problem with wiring jpa and web, since it 
is still beta).
  | 
  | Maybe somebody from jboss could tell you more...
  | P.

Thanks for doing some checking.

I have been trying some of the Seam 2.0.0 demos (deploying to my 4.2.2 JBoss) 
and tutorials and ran seam-gen using my database.

I got this to work. And in the set of generated files I see a persistence.xml 
and a components.xml.

I think I see some interesting bits:

In the generated persistence.xml I see:

   persistence-unit name=AfmsttModernizationSeam
  |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   
jta-data-sourcejava:/AfmsttModernizationSeamDatasource/jta-data-source
  |   properties
  |  property name=hibernate.dialect 
value=org.hibernate.dialect.MySQLDialect/
  |  property name=hibernate.hbm2ddl.auto value=validate/
  |  property name=hibernate.show_sql value=true/
  |  property name=hibernate.format_sql value=true/
  |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/AfmsttModernizationSeamEntityManagerFactory/
  |   /properties
  |/persistence-unit

and in components.xml I see:

   persistence:managed-persistence-context name=entityManager
  |  auto-create=true
  |   
persistence-unit-jndi-name=java:/AfmsttModernizationSeamEntityManagerFactory/
  | 

These seem like config options that may help the wiring to complete the circuit 
if I add them in the right place in my war file.



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

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


[jboss-user] [JBoss AOP] - Re: AspectJ handler pointcut designator ??

2007-11-30 Thread [EMAIL PROTECTED]
Hi,

As of this date we don't have a handler pointcut designator.

We have added after-thrown advices to JBoss AOP, though, that are called after 
an exception is thrown. Unfortunately, I'm afraid this is quite different from 
what you need.

I have added a Jira issue to implement this functionality in the future:
http://jira.jboss.com/jira/browse/JBAOP-491

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

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


[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster

2007-11-30 Thread vickyk
anonymous wrote : 2007-11-30 10:35:22,513 WARN  
[org.jboss.mq.sm.jdbc.JDBCStateManager] Error initialising state manag
  | er db
The log contain the DEBUG/WARN messages and not the the ERROR one so these 
might be ignored :)


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

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


[jboss-user] [JBoss Seam] - Re: Security Design Question

2007-11-30 Thread damianharvey
Set up a navigation rule that directs the user to your reactivation page from 
login (eg. based on some status):

  | navigation from-action=#{identity.login}
  | rule if=#{identity.loggedIn  user.status == 'ACTIVE'}
  | redirect view-id=/normalHomePage.xhtml/
  | /rule
  | rule if=#{identity.loggedIn  user.status == 'INACTIVE'}
  | redirect view-id=/activationPage.xhtml/
  | /rule
  | /navigation
  | 
You would set the status in the authenticator class and outject the User bean 
(or wherever you want to store the status).

Cheers,

Damian.

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

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


[jboss-user] [JBoss and NetBeans] - Re: Netbeans 6, Java Persistence API, Web Service using Anno

2007-11-30 Thread phejl
I some did more investigation with jboss 4.2.2 and jboss 5 beta2, here is what 
I observed (don't take it as an unchangeable fact).
With jboss 4 it seems to me that PersistentContext in servlet or webservice is 
ignored completely (jboss 4 is not ee 5 certified - provides ejb3 and ee5 web 
apps, however not sure if wired properly).
When using jboss 5 server noticed the annotation however wasn't able to load 
the proper context (maybe really problem with wiring jpa and web, since it is 
still beta).

Maybe somebody from jboss could tell you more...
P.

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

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


[jboss-user] [JBoss Portal] - Re: Problem installing JBoss Portal

2007-11-30 Thread jamesmrush
mfb said his install was hangind on:

[ProducerInfo] Refreshed registration information for consumer with id 'self' 

I am seeing the same thing.  Main (only) difference appears to be that when he 
tried to access localhost:8080 he actually got something.

I am running the jboss-portal-2.6.2.GA bundle (AS plus portal).

I cannot access http://:8080 or /portal or /jmx-console

I am just running the run.sh as-is, have made no modifications.

No stack traces visible, it actually looks pretty clean.

Should I re-submit as a fresh forum note?

thanks

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

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


[jboss-user] [JBoss Portal] - Re: When do you need to create additional instances of a por

2007-11-30 Thread afichtner
Thank you.  Here is my portlet-instances.xml:

?xml version=1.0 standalone=yes?
  | !DOCTYPE deployments PUBLIC
  |-//JBoss Portal//DTD Portlet Instances 2.6//EN
  |http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd;
  | deployments
  |deployment
  |   if-existsoverwrite/if-exists
  |   instance
  |  instance-idGooglePortletBridgeInstance/instance-id
  |  
portlet-reforg.portletbridge.portlet.PortletBridgePortlet/portlet-ref
  |   /instance
  |   preferences
  | preference
  |   nameinitUrl/name
  |   valuehttp://www.google.com/value
  | /preference
  |   /preferences
  |/deployment
  | /deployments

I don't think my *-object.xml is an issue becuase the above doesn't work.  
Instead, here is my jboss-app.xml:

jboss-app
  |app-nameehealth/app-name
  | /jboss-app

When I deploy, I get the following error:
anonymous wrote : 17:24:17,203 WARN  [PortletAppDeployment] Failed to create 
instance GooglePortletBridgeInstance of portlet 
ehealth.org.portletbridge.portlet.PortletBridgePortlet because portlet 
ehealth.org.portletbridge.portlet.PortletBridgePortlet is not available
  | 

As you can see, it appended my app name (ehealth) to the portletbridge 
package name, so now it can't find it.

Do you know how I can stop it from appending my application's name to the front 
so that it can find the portlet?

Thanks!
Abby

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

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


[jboss-user] [JBoss Portal] - Re: When do you need to create additional instances of a por

2007-11-30 Thread afichtner
Huh, interesting.  Although, unfortunately it's not finding the PortletBridge 
even with the correct package in portlet.xml:

  portlet
  | portlet-nameeHealthPortletBridge/portlet-name
  | 
portlet-classorg.portletbridge.portlet.PortletBridgePortlet/portlet-class
  |   /portlet

Gave me this error:
anonymous wrote : 18:07:53,906 ERROR [STDERR] 
org.jboss.portal.portlet.container.PortletInitializationException: Portlet 
class not found org.portletbridge.portlet.PortletBridgePortlet

I tried a number of permutations, but with no better luck.  Any other ideas?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-11-30 Thread alllle
Forgot to mention that I was using SEAM. And I compared all the configuration 
files with one of the SEAM examples, didn't see any differences other than name 
references.

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

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


[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor

2007-11-30 Thread [EMAIL PROTECTED]
Ryan,

Let me know if you think that excluding the problematic classes would be a 
solution, or do you need to intercept them?

Allowing to use patterns on the exclude property might be possible and fast (it 
may be a temporary solution, but at least you would be able of running your 
code without problems by now).

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

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


[jboss-user] [JBoss Seam] - problem with exception handling

2007-11-30 Thread X490812
I put the following in pages.xml to test exception handling:

  | .
  | .exception
  |   end-conversation/
  |   redirect view-id=/genericErrorPage.xhtml
  |  
  |   /redirect
  |/exception
  |  
  | /pages
  | 

Here is genericErrorPage.xhtml

  | body
  | h:messages
  | styleClass=message
  | id=globalMessages /
  | /body
  | 

Here is where the exception is thrown in the backing bean:

  | .
  | .
  | @Factory(caseList)
  | public ListTblcase getCaseList() throws Exception {
  | if (true) 
  | {
  | facesMessages.add(TeSTMESSAGE1);
  | throw new Exception(test);
  | }
  | 
facesMessages was @In injected into this statefull session bean
The genericErroPage.xhtml does not come up, instead I get this

  | SEVERE: Error Rendering View[/caselist.xhtml]
  | java.lang.RuntimeException: exception invoking: getCaseList
  | at or
  | .
  | .
  | 
  | 
  | 
Why no erro page?

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

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


[jboss-user] [EJB 3.0] - Re: Table per class with different ID generators

2007-11-30 Thread alexg79
You can't have associations to the root class if it's just a MappedSuperClass 
-- it has to be an entity.

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

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


[jboss-user] [JBoss Seam] - Re: External Client and Seam Security

2007-11-30 Thread agnadello
http://jira.jboss.org/jira/browse/JBSEAM-2332

Cheers!

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

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


[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor

2007-11-30 Thread [EMAIL PROTECTED]
Please,

Ignore my previous post, exclude property allows you to define only the 
beginning of the class names you want to exclude... not a pattern. So, this 
wouldn't solve your problem. I'm trying to figure out a solution, or at least a 
temporary fast fix.

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

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


[jboss-user] [JBoss Seam] - Re: No session context for @WebMethod-call

2007-11-30 Thread jsolderitsch
gena777 wrote : Sorry, configured, but didn't deploy.
  | 
  | Thank you for the hint!
  | 
  | Gena

I just ran into the same problem but it appears that this file is deployed to 
my JBoss install.

And I am seeing the error you reported still.

Running with Seam 2.0.0GA and Jboss 4.2.2.

What do I need to deploy? How to make the deployment?



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

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


[jboss-user] [JBoss Seam] - Re: can't find datasource problem when mirgrate from seam1.2

2007-11-30 Thread tangdazhu
Well,I have put my -ds.xml file under WEB-INF and WEB-INF\classes and even 
META_INF of my application directory, but it all doesn't work! I don't 
understand why it is so hard for configuration. 

But if i put the -ds.xml under the {tomcat}/lib/deploy directory , it at least 
can find the datasoure when tomcat is started.

INFO  01-12 09:34:11,416 
(ConnectionFactoryBindingService.java:bindConnectionFactory:148)  -Bound 
ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=CPI_SqlserverDatasource' to JNDI name 
'java:CPI_SqlserverDatasource'

but i just don't know why my hibernate can't find this datasource under this 
kind of situation.

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

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


[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor

2007-11-30 Thread [EMAIL PROTECTED]
Ryan, 

Help is always welcome :)

We are going to need to reproduce the error, so we can test our fix. Is it 
enough trying to intercept a simple example of hibernate? Or is there any 
aditional step we must follow to reproduce it?

Second, in the mean time, wouldn't it be enough to use the jboss.aop.exclude 
system property? This property allows you to specify one or more class patterns 
(separated by commas, without wildcards). Every class that matches one of the 
exclude patterns won't be instrumented by JBoss AOP, thus avoiding the error.

An example would be jboss.aop.exclude=$$_javassist

If you are using JBoss AS, you can set the exclude property by editing 
jboss-aop-jdk50.deployer/META-INF/jboss-service.xml. If your app is standalone, 
just define this property as you do with any java system property.

Let me know if this solves your problem until we fix the bug.

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

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


[jboss-user] [JBoss Seam] - Can Seam Remoting use JSON over XML?

2007-11-30 Thread samdoyle
There is quite a bit of overhead data returned in its present state.

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

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


[jboss-user] [JBoss Seam] - Re: Trapping Seam Remoting AJAX errors.

2007-11-30 Thread samdoyle
Yes/No ?

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

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


[jboss-user] [JBoss Seam] - pages.xml restrict rule does not work in 2.0 GA

2007-11-30 Thread samdoyle
I had this rule by mistake in my pages.xml:


  | page view-id=/notificationAdmin.xhtml login-required=true
  |   restrict#{s:hasRole('ultra-user')}/restrict
  |  /page
  | 

There is no ultra-user role yet I can still access the notificationAdmin. An 
exception is thrown but I still can access the page.


  | org.jboss.seam.security.AuthorizationException: Authorization check failed 
for expression [#{s:hasRole('ultra-user')}]
  | at 
org.jboss.seam.security.Identity.checkRestriction(Identity.java:227)
  | at org.jboss.seam.navigation.Page.checkPermission(Page.java:218)
  | at org.jboss.seam.navigation.Page.preRender(Page.java:238)
  | at org.jboss.seam.navigation.Pages.preRender(Pages.java:309)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  | at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  | at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  | at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
  | at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
  | at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)

[jboss-user] [EJB/JBoss] - Re: Using J2SE App. as the Server for an EJB3-based App.

2007-11-30 Thread waynebaylor
does your client have access to all the classes your sending on its classpath?

as another alternative you could try using JCA to communicate with the j2se app.

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

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


[jboss-user] [JBoss Tools (users)] - how to attach Javadocs to JBoss Runtime

2007-11-30 Thread vanyatka
Hi,

I need to attach javadoc urls to the jar in the JBoss Runtime, however when I 
click on a jar (inside Package Explorer tab) in the Javadoc section I see this 
message anonymous wrote : The current class path entry belongs to container 
'All JBoss Libraries [JBoss 4.2 Runtime]' which does not allow user 
modifications to Javadoc locations on its entries.

How do you guys look up javadoc API in Eclipse, say persistence API docs for 
entitymanager? 

Sorry for yet another eclipse question, please let me know if I should post 
it on the eclipse forum (funny though, it seems there is no such thing as 
official eclipse forum)

Thanks for your advice,


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

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


[jboss-user] [JBoss Tools (users)] - Re: Bad experience with JBossAS tools

2007-11-30 Thread [EMAIL PROTECTED]
did you try the latest nightly build ?

we have not been able to reproduce your issue...

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

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


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

2007-11-30 Thread jdsignature
in the following stackTrace: what does this mean? 
[org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null


Thanks,


07-11-30 16:36:18,128 TRACE 
[org.jboss.web.tomcat.security.SecurityAssociationValve] Begin invoke, 
callernull
2007-11-30 16:36:18,128 TRACE [org.jboss.security.SecurityAssociation] 
pushRunAsIdentity, runAs=null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,128 TRACE [org.jboss.security.SecurityAssociation] 
popRunAsIdentity, runAs=null
2007-11-30 16:36:18,128 TRACE 
[org.jboss.web.tomcat.security.SecurityAssociationValve] End invoke, callernull
2007-11-30 16:36:18,128 TRACE [org.jboss.security.SecurityAssociation] clear, 
server=true
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.connector.CoyoteAdapter]  
Requested cookie session id is 71E7535CC7D5FA940BF0EC8946FB708B
2007-11-30 16:36:18,128 DEBUG 
[org.apache.catalina.authenticator.AuthenticatorBase] Security checking request 
GET /Shields-UI/images/topBtn_search_on.gif
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.realm.RealmBase]   Checking 
constraint 'SecurityConstraint[SecurePages]' against GET 
/images/topBtn_search_on.gif -- false
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.realm.RealmBase]   Checking 
constraint 'SecurityConstraint[SecurePages]' against GET 
/images/topBtn_search_on.gif -- false
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.realm.RealmBase]   Checking 
constraint 'SecurityConstraint[SecurePages]' against GET 
/images/topBtn_search_on.gif -- false
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.realm.RealmBase]   Checking 
constraint 'SecurityConstraint[SecurePages]' against GET 
/images/topBtn_search_on.gif -- false
2007-11-30 16:36:18,128 DEBUG [org.apache.catalina.realm.RealmBase]   No 
applicable constraint located
2007-11-30 16:36:18,128 DEBUG 
[org.apache.catalina.authenticator.AuthenticatorBase]  Not subject to any 
constraint
2007-11-30 16:36:18,128 TRACE 
[org.jboss.web.tomcat.security.SecurityAssociationValve] Begin invoke, 
callernull
2007-11-30 16:36:18,128 TRACE [org.jboss.security.SecurityAssociation] 
pushRunAsIdentity, runAs=null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,128 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,143 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,143 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
default, runAs: null
2007-11-30 16:36:18,143 TRACE [org.jboss.security.SecurityAssociation] 
popRunAsIdentity, runAs=null
2007-11-30 16:36:18,143 TRACE 
[org.jboss.web.tomcat.security.SecurityAssociationValve] End invoke, callernull
2007-11-30 16:36:18,143 TRACE [org.jboss.security.SecurityAssociation] clear, 
server=true
2007-11-30 16:36:18,190 DEBUG [org.apache.catalina.connector.CoyoteAdapter]  
Requested cookie session id is 71E7535CC7D5FA940BF0EC8946FB708B
2007-11-30 16:36:18,190 DEBUG 
[org.apache.catalina.authenticator.AuthenticatorBase] Security checking request 
POST /Shields-UI/ExecuteSearchService
2007-11-30 16:36:18,190 DEBUG [org.apache.catalina.realm.RealmBase]   Checking 
constraint 'SecurityConstraint[SecurePages]' against POST /ExecuteSearchService 
-- true
2007-11-30 16:36:18,190 DEBUG 
[org.apache.catalina.authenticator.AuthenticatorBase]  Calling 
hasUserDataPermission()
2007-11-30 16:36:18,190 DEBUG [org.apache.catalina.realm.RealmBase]   User data 
constraint has no restrictions
2007-11-30 16:36:18,190 DEBUG 
[org.apache.catalina.authenticator.AuthenticatorBase]  Calling authenticate()
2007-11-30 16:36:18,190 TRACE 
[org.jboss.web.tomcat.security.SecurityFlushSessionListener] Session Created 
with id=71E7535CC7D5FA940BF0EC8946FB708B
2007-11-30 16:36:18,190 DEBUG 
[org.apache.catalina.authenticator.FormAuthenticator] Save request in session 
'71E7535CC7D5FA940BF0EC8946FB708B'
2007-11-30 16:36:18,221 DEBUG [org.apache.catalina.core.ApplicationDispatcher] 
servletPath=/login.jsp, pathInfo=null, queryString=null, name=null
2007-11-30 16:36:18,221 DEBUG [org.apache.catalina.core.ApplicationDispatcher]  
Path Based Forward
2007-11-30 16:36:18,221 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
jsp, runAs: null
2007-11-30 16:36:18,221 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
jsp, runAs: null
2007-11-30 16:36:18,221 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
jsp, runAs: null
2007-11-30 16:36:18,221 TRACE [org.jboss.web.tomcat.security.RunAsListener] 
jsp, runAs: null
2007-11-30 16:36:18,221 DEBUG [org.apache.catalina.core.ApplicationDispatcher]  
Disabling the response for 

[jboss-user] [JBoss Portal] - Re: When do you need to create additional instances of a por

2007-11-30 Thread PeterJ
Yes, you need to create 2 new instances. In your portlet-instances.xml file is 
the correct place to do this, then you refer to the instances in your 
*-object.xml file. That has always worked fine for me.

Could you post the declarations of the instances and the windows from your 
portlet-instances and *-object.xml files? Don't foget to bracket the entries 
with the [ code ]...[ /code ] tags (without spaces).

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

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


[jboss-user] [JBoss Portal] - When do you need to create additional instances of a portlet

2007-11-30 Thread afichtner
I'm using JBoss 2.6.2 and I want to include the same portlet  in a couple of 
different places in my portal.  However, in each place, it would clip a 
different web page.  In other words, each time I use the PortletBridge portlet, 
I'd want to set different preferences for it.

Let's say I in one place it displays google, in the 2nd it displays yahoo.

By default, PortletBridge (which is deployed seperately from my application on 
JBoss) has already created a single PortletBridgeInstance.

Do I need to create 2 new instances of PortletBridge, so that I can set one 
instance's URL pref to google, the other's to yahoo?

(and if so, where do I create them?  I tried creating  them in my own portal's 
portlet-instances.xml but it failed because it appended my portal's name to the 
path and so couldn't find 
myportal.org.portletbridge.portlet.PortletBridgePortlet)

Or can I just have both places use the single PortletBridgeInstance that 
already exists?

(and, if so, where would I specify the preferences in each place?  Note that I 
need this to all be done inside of the WAR, not through the web UI)


Thanks!
Abby

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

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


[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster

2007-11-30 Thread ratrask
If I delete the table it will recreate it without an error, but the next time 
that it starts up it will throw the same exception again. The point of a 
persistant queue is tjhat the state is stored in it. :) 

So I guess the question now is more a matter of what is the state of the system 
has it recovered from this error? 

 - nested throwable: (javax.transaction.RollbackException: 
[com.arjuna.ats.internal.jta.transaction.
  | arjunacore.commitwhenaborted] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted]
  |  Can't commit because the transaction is in aborted state)

When it talks about a transaction here, is it MSSQL transaction, or the XA 
monitor that JBoss is maintaining, or are they the same thing?

Rather than write a test.jsp I have some code that I can exercise the 
datasource with. Is there anything in particular that I should be testing?

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

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


[jboss-user] [JBoss Portal] - Re: Problem installing JBoss Portal

2007-11-30 Thread PeterJ
jamesmrush, you should have started a new topic, not appended to an existing 
one, especially since your problem is not related to the original problem 
posted.

Are you able to access the home page or the jmx console? Try 
http://localhost:8080 and http://localhost:8080/jmx-console.

Are you starting the app server with a -b option (such as run -b 0.0.0.0)?

Which version of the Portal are you running? Are you running the app server + 
portal bundle, or did you install the app server and portal separately? If you 
are not using the bundle, what database are you using?

Are there any stack traces in the terminal window? (You might have to increase 
the history/buffer size to scroll all the way back to where you started the app 
server.)

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

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


[jboss-user] [JBoss Seam] - Custom Validator? How?

2007-11-30 Thread dparanhos
I could not make my custom validator work. It has an attribute and the 
attribute is always being null when the validate method is being called. Am I 
missing something?


My faces-config.xml

  | validator
  |   validator-idLevelValidator/validator-id
  |   
validator-classbr.gov.exercito.silog.validator.LevelValidator/validator-class
  |   property
  | property-nameminimum/property-name
  | property-classjava.math.BigDecimal/property-class
  |   /property
  | /validator

My facelet-taglib is:

  | tag
  |   tag-namelevelValidator/tag-name
  |   validator
  |  validator-idLevelValidator/validator-id
  |   /validator
  | /tag

My xhtml code is:

  | h:inputText id=nbMaxLevel 
  |   value=#{levelHome.instance.nbMaxLevel}
  |   size=20 maxlength=13
  | fpf:levelValidator limit=5/
  | /h:inputText
  | 

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

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


[jboss-user] [JBoss and NetBeans] - Re: Netbeans + Seam Plugin = Success !!

2007-11-30 Thread ericcart

Netbeans 6.0 is at RC2.

I´m using Netbeans 5.5 with:

Seam Gen plugin
https://nbfaceletssupport.dev.java.net/servlets/ProjectDocumentList?folderID=7280expandFolder=7280folderID=6012

Bye,
Eric

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

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

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


[jboss-user] [JBoss AOP] - Re: Possible to advise EJB3 EntityBeans?

2007-11-30 Thread ryanrlamothe
We are currently having the exact same issue with JBoss AS 4.2.1 and JBoss AS 
4.2.2.  Having to define each and every EntityBean in our entire development 
and production environment in an AOP XML file is out of the question.

This is a showstopper for us.  Does anyone have a solution or a fix?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-11-30 Thread alllle
I wonder if anyone has encountered the same problem described here? 

I am having the same problem. My EAR contains a module app.jar, which contains 
the persistence.xml file:

  | persistence
  | persistence-unit name=myDB
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejava:appDS/jta-data-source
  | /persistence-unit
  | /persistence
  | 
Where the appDS is deployed with a xxx-ds.xml file with no problem. However, I 
am getting the same NoInitialContextException. 

I tried to deploy the app.jar under module/java as well as module/ejb but same 
problem. I also tried to add:
properties
  | property name=java.naming.factory.initial 
value=org.jnp.interfaces.NamingContextFactory /
  | property name=java.naming.factory.url.pkgs 
value=org.jboss.naming:org.jnp.interfaces /
  | /properties
  | 
to the persistence.xml file and same error.

I have no clue what is wrong. It's deployed to the server so no jndi.properties 
file should be needed. If so, why this error occurs?

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

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


[jboss-user] [Security JAAS/JBoss] - Propagating identity from Swing application

2007-11-30 Thread oleg_p
 Hello,

 Is there a way to propagate identity from Swing client to EJB Tier?
 On the side of EJB Tier I'm using simple J2EE container-managed security.

 Thanks in advance,
 Oleg


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

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


[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue

2007-11-30 Thread gonzalad
Created a separated issue from 1493  : 
http://jira.jboss.org/jira/browse/JBSEAM-2330

Thank you atao and pete !

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

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


[jboss-user] [JBoss Portal] - Re: Page security not working in 2.6.2GA?

2007-11-30 Thread nollie
Yes.  The parent of the Weather page is the portal itself.  

The portal has given Role Unchecked view and viewrecursive permissions so 
that unauthenticated users can navigate the portal - all pages inherit those 
security settings so I don't have to set them again and again.

What I want to do is restrict access to the Weather page so that only admins 
can see it.  Surely this is possible, right?  Your answer seems to imply that I 
would have to remove view/view recursive from the portal and instead set that 
for every page other than the weather page?

I appreciate your help in understanding this.

 nollie

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

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


[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster

2007-11-30 Thread ratrask
I realized after I submitted the post, that I did not have the portion of the 
server.log that overlaps the time when the exception is logged.

2007-11-30 10:35:20,138 DEBUG 
[org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Started 
jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 2007-11-30 10:35:20,138 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss.jca:service=DataSourceBinding,name=DefaultDS 
dependent components: [ObjectName: 
jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: CREATED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | , ObjectName: jboss:service=juddi
  |   State: CREATED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | , ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
  |   State: CREATED
  |   I Depend On:
  | jboss:service=TransactionManager
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | , ObjectName: jboss.mq:service=StateManager
  |   State: CREATED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   Depends On Me:
  | jboss.mq:service=DestinationManager
  | , ObjectName: jboss.mq:service=PersistenceManager
  |   State: CREATED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   Depends On Me:
  | jboss.mq:service=DestinationManager
  | ]
  | 2007-11-30 10:35:20,138 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | 2007-11-30 10:35:20,138 DEBUG 
[org.jboss.ejb.txtimer.DatabasePersistencePolicy] Starting 
jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | 2007-11-30 10:35:20,185 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: 
registering pool with interval 90 old interval: 9223372036854775807
  | 2007-11-30 10:35:20,185 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about 
to notify thread: old next: 1196444570185, new next: 1196444570185
  | 2007-11-30 10:35:22,169 DEBUG 
[org.jboss.ejb.txtimer.DatabasePersistencePolicy] Started 
jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | 2007-11-30 10:35:22,169 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: 
jboss.ejb:service=EJBTimerService,persistencePolicy=database dependent 
components: []
  | 2007-11-30 10:35:22,169 DEBUG [org.jboss.system.ServiceController] starting 
service jboss:service=juddi
  | 2007-11-30 10:35:22,185 DEBUG [org.jboss.jaxr.juddi.JUDDIService] Starting 
jboss:service=juddi
  | 2007-11-30 10:35:22,185 DEBUG [org.jboss.jaxr.juddi.JUDDIService] 
JUDDIService: Inside startService with dropOnStart=false createOnStart=false
  | 2007-11-30 10:35:22,185 DEBUG [org.jboss.jaxr.juddi.JUDDIService] Started 
jboss:service=juddi
  | 2007-11-30 10:35:22,185 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss:service=juddi dependent components: []
  | 2007-11-30 10:35:22,185 DEBUG [org.jboss.system.ServiceController] starting 
service jboss:service=KeyGeneratorFactory,type=HiLo
  | 2007-11-30 10:35:22,185 DEBUG 
[org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Starting 
jboss:service=KeyGeneratorFactory,type=HiLo
  | 2007-11-30 10:35:22,200 TRACE [org.jboss.tm.TransactionManagerLocator] Got 
a transaction manager from jndi [EMAIL PROTECTED]
  | 2007-11-30 10:35:22,200 DEBUG 
[org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Executing 
SQL: select HIGHVALUES from HILOSEQUENCES where SEQUENCENAME='general'
  | 2007-11-30 10:35:22,356 DEBUG 
[org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Started 
jboss:service=KeyGeneratorFactory,type=HiLo
  | 2007-11-30 10:35:22,356 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss:service=KeyGeneratorFactory,type=HiLo dependent 
components: []
  | 2007-11-30 10:35:22,356 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.mq:service=StateManager
  | 2007-11-30 10:35:22,356 DEBUG [org.jboss.mq.sm.jdbc.JDBCStateManager] 
Starting jboss.mq:service=StateManager
  | 2007-11-30 10:35:22,513 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
  | 2007-11-30 10:35:22,513 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
  | 2007-11-30 10:35:22,513 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
  | 2007-11-30 10:35:22,513 WARN  [org.jboss.mq.sm.jdbc.JDBCStateManager] Error 
initialising state manager db
  | org.jboss.mq.SpyJMSException: Could not commit/rollback a transaction with 
the transaction manager.; - nested throwable: 
(javax.transaction.RollbackException: 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] 

[jboss-user] [JBoss Seam] - Re: Intergration with Maven2? And Seam Generating Test Cas

2007-11-30 Thread vcordaro12
1),  yes entities are gnerated from a datasource, however I want to be able to 
execute generate-entities from my pom.  So that in my nightly build process I 
can generate my entities. 


2) so in our nightly build process my entities are created from our automated 
build process, continuum.

3). There are several tools, revgen, salto-db which will create test cases to 
test the entities and DAO's.



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

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


[jboss-user] [JBoss jBPM] - How hard to create visual representation of the relationship

2007-11-30 Thread [EMAIL PROTECTED]
Management is all about pretty pictures and that's one of the reasons they like 
the BPM.  (They may not understand the details of the pictures but it gives us 
a place to start when discussing application behavior)  The JBoss designer does 
a good job of letting us creating pretty pictures for individual flows but we'd 
like to have a master picture of how the flows are wired together.  (60+ flows 
in a 4 deep graph)  So, what would be the best way to try and build this 
picture?  I can think of a couple options.


1)  Draw it manually in Visio using the .jpg files.

2)  Create a small program that loads the process definitions, calculates the 
defined relationships and generates an XML file that describes the 
relationships with references to the .jpg files. Then we use some other code or 
tools to convert the XML into an object graph.

3) Create a medium size program that loads the process definitions and creates 
a single unified process instance including some new transition type between 
the different process definitions.  This could use the standard API to 
construct a new definition. What API would write out a process Instance as a 
definition that could be then loaded into the builder.

4)  Try and modify the Eclipse plugin to support the loading of a whole 
directory of process definitions so that it could create a temporary unified 
graph.  I don't know how much work this is.  Is there any readily available API 
in the builder to do this?

5)  Use something that already exists that we haven't found through our 
investigaton.

6)  Some other, hopefully simpler approach than any of the above.

We're open to any suggestions

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

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


[jboss-user] [JBoss Seam] - Re: Seam security / identity.logout

2007-11-30 Thread b.reeve
I think I put it the wrong way.
What I meant to say is i have mapped 

  | security:identity authenticate-method=#{loginBean.login}/
  | 

and the loginBean.login method is something like

  | public boolean login(){
  | boolean succeeded = loginAction.login();
  | return succeeded;
  | }
  | 

so this method is called twice when succeeded = false and is called just once 
when suceeded = true

so when i debugged i see that Identity class's authenticate method is getting 
called twice. Why is trying to call loginBean.login again???


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

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


[jboss-user] [JBoss Seam] - Re: Pageflow 3rd Party Site

2007-11-30 Thread IGx89
Something like the following might work:

yoursite/checkout_page
-
yoursite/paypal_payment_page
- (using JavaScript or META redirect)
paypal.com
- (using GET or POST with the conversation ID; not sure which would work 
better)
yoursite/paypal_payment_page
-
yoursite/checkout_complete_page

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

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


[jboss-user] [JBoss Seam] - Re: IllegalStateException: could not acquire lock on @Synchr

2007-11-30 Thread asookazian
when I removed *only* the breakpoint for the Seam remoting method, it works 
fine.  Code for Seam remoting method below...

public void setNoteData(Integer rowIndex, String colName, String 
siteId, String employeeNumber, Boolean icomsAccountApproved, Boolean 
securityLevelApproved, Boolean adjustmentLimitApproved){
  |  
  | log.info(in setNoteData: rowIndex =  + rowIndex);
  | log.info(in setNoteData: colName =  + colName);
  | log.info(in setNoteData: siteId =  + siteId);
  | log.info(in setNoteData: employeeNumber =  + employeeNumber);
  | log.info(in setNoteData: icomsAccountApproved =  + 
icomsAccountApproved);
  | log.info(in setNoteData: securityLevelApproved =  + 
securityLevelApproved);
  | log.info(in setNoteData: adjustmentLimitApproved  + 
adjustmentLimitApproved);
  | 
  | setRowIndex(rowIndex);
  | setColName(colName);
  | setSiteId(siteId);
  | setEmployeeNumber(employeeNumber);
  | setIcomsAccountApproved(icomsAccountApproved);
  | setSecurityLevelApproved(securityLevelApproved);
  | setAdjustmentLimitApproved(adjustmentLimitApproved);
  | 
  | }

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

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


[jboss-user] [JBoss Portal] - Re: Get page name during layout rendering

2007-11-30 Thread nollie
This might not be the elegant solution you were hoping for, but you can use 
request.getPathInfo(); and parse your page name out of it.  That's what I'm 
doing in my menu.jsp, which is included in the layout.jsp.

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

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


[jboss-user] [JBoss Seam] - Re: IllegalStateException: could not acquire lock on @Synchr

2007-11-30 Thread asookazian
Ok I was able to reproduce it.  I had two debug breakpoints in Eclipse.  One in 
the submit() method of the session-scope SFSB and one in a @WebRemote 
demarcated method in the same SFSB for Seam remoting use from a function in a 
.js file.  Both methods were being called in this use case.

When I cleared the two breakpoints and restarted JBoss (no code changes) and 
ran the use case again, the exception did not happen.

Is this normal behavior or a bug?  thx.

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

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


[jboss-user] [JBoss Seam] - IllegalStateException: could not acquire lock on @Synchroniz

2007-11-30 Thread asookazian
Don't know how to reproduce this one but it's happening on noteAction which is 
a session-scoped SFSB which is injected into a conversation-scoped SFSB.  I 
have seen it a few times now even after I restart Jboss 4.2.2.  What does this 
exception mean (i.e. why can't it acquire a lock?)


  | Exception during request processing: 
  | Caused by javax.servlet.ServletException with message: 
javax.el.ELException: /adminSecurityAudit.xhtml @92,108 
rendered=#{noteAction.getRenderNoteGraphic(myAuditList.getRowIndex(), 
'accountApproved')}: java.lang.IllegalStateException: could not acquire lock 
on @Synchronized component: noteAction 
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:118)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | java.lang.Thread.run(Unknown Source)Caused by javax.faces.FacesException 
with message: javax.el.ELException: /adminSecurityAudit.xhtml @92,108 
rendered=#{noteAction.getRenderNoteGraphic(myAuditList.getRowIndex(), 
'accountApproved')}: java.lang.IllegalStateException: could not acquire lock 
on @Synchronized component: noteAction 
  | javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
  | javax.faces.component.UIData.iterate(UIData.java:1202)
  | javax.faces.component.UIData.processDecodes(UIData.java:936)
  | javax.faces.component.UIForm.processDecodes(UIForm.java:203)
  | 
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
  | 
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
  | javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
  | org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:57)
  | 

[jboss-user] [JNDI/Naming/Network] - Re: getInitialContext with Stateful session bean throws exce

2007-11-30 Thread JoeArmstrong
Thanks for the information, I installed Java 1.5 and it works fine.

Joe

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

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


[jboss-user] [JBoss Seam] - Security Design Question

2007-11-30 Thread javalover75
I am developing a subscription based site.  When authenticating users I would 
like to be able to do the following.  If the user has valid credentials, but 
the account is not active (through cancelation, credit card failure, etc.) I 
would like to redirect the user to a page that allows them to reactivate the 
account by entering new credit card information.  In this case the login has a 
different outcome than just failed or successful.  

I have not seen an obvious way to accomplish this task with Seam Security.  
Does anyone have any suggestions?  

Thanks in advance.

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

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


[jboss-user] [JBossCache] - Re: org.jboss.cache.lock.TimeoutException: write lock for /

2007-11-30 Thread [EMAIL PROTECTED]
Hi Brian,

This is actually for Intuit, whom I believe you're familiar with. I am only 
here for another couple of hours. I've used the support portal quite a few 
times before, and have unfortunately concluded that it will not help me when 
time is limited... so the forum post was a shot in the dar. I will ask Bill 
DeCoste to follow up if the client is interested in further pursuing this.

I tested this with JBoss 4.2.0, with JBoss Cache 1.4.1 SP3 and hiibernate 
3.2.3GA. I even tried dropping in the latest SP for JBC, but nothing changed.

Regards, Babak

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

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


[jboss-user] [JBoss jBPM] - Branching, merging and version management.

2007-11-30 Thread [EMAIL PROTECTED]
We follow the normal software model where we branch our source code and all 
related artifacts for each release.  We also do this when we have a special 
project.  This means that awlays have two or more active development branches.  
We keep all of our process definition XML files in our repository and bundle 
them with our application in the ear/war file.  We're trying to figure out how 
we are going to diff and merge the BPM files between the various branches. 

We have 60+ BPM flows each of which consists of 3 components.  We really need a 
way to merge the processdefinition.xml file. One problem there is that the 
designer often dies if you manually edit an xml file and any type of merge 
would be an xml file.  The builder needs to be more robust about displaying 
what it can when it gets confused, even if it tosses the rest of the data. It 
would seem that we would really like to merge the layouts also but I'm not sure 
what that means.  image.jpg files should probably be tossed and completely 
regenerated. 

In an ideal world, we'd do this with a graphical tool.  Maybe where the two 
merging diagrams both show up in the builder in some color coded fashion.

How do others handle version management of BPM files?


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: different order between sending and receiving(FIFO)

2007-11-30 Thread garneke
One last point.  In addition to using a 2 second timeout on the receive call, I 
also pause for .25 seconds before calling receive again if I do timeout.  I was 
hoping to avoid that race condition that I have read is possible ( or was 
possible ). 

However, remember that messages are moving at around 200 ms intervals.  I 
should never timeout.  The only evidence that I have is that the logs on the 
sending side do not show any signs that writing to the Queue was delayed during 
any of the out of order periods.  The logging on the receiving side is 
limited to just the bad messages.

Thanks In Advance, for your help!

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

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


[jboss-user] [JBoss AOP] - AspectJ handler pointcut designator ??

2007-11-30 Thread jtonic
AspectJ supports handling an exception via a catch block.

Handler Pointcut Designator synopsis is:

handler(TypePattern)

So the following pointcut permits do something every time an exception is 
caught:

pointcut handlingAnException(): handler(*);

Is JBoss AOP supporting exception handling in catch block?

Best regards, jtonic 

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

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


[jboss-user] [JBoss Messaging] - Re: Configure Queue Max Depth

2007-11-30 Thread ejb3workshop
But this configuration option says that messages beyound the set value will be 
dropped. Ideally I would like the JMS client to block and wait until there is 
space in the Queue again.

anonymous wrote : 6.6.3.1.10. MaxSize
  | 
  | A maximum size (in number of messages) can be specified for a topic 
subscription. Any messages that arrive beyond this point will be dropped. The 
default is -1 which is unbounded.

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

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


[jboss-user] [EJB 3.0] - Re: Table per class with different ID generators

2007-11-30 Thread waynebaylor
have you tried using @MappedSuperclass then?

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

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


[jboss-user] [JBoss Seam] - Re: Security Design Question

2007-11-30 Thread javalover75
Damian,

Thanks for the quick reply.  It is appreciated.  This helped me get past my 
mind block and solve my problem.

Thanks Again.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue

2007-11-30 Thread atao
Sorry i wrote too quickly. Indeed it should have been

anonymous wrote : The JBSEAM-1493 Seam-gen: allow return to original page 
should take this case into account.

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

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


[jboss-user] [JBoss AOP] - Re: Catching LazyInitialization exception within an Intercep

2007-11-30 Thread jtonic
anonymous wrote : However in the general case where I have no knowledge of my 
object's getters/setters methods name, it is getting a bit more complicated.

You are very right. I'm working also for a LIE solution, but I use some 
hibernate stuff. I have also the same problem that U've mentioned. IMHO 
reflection is the solution.

The following are the hibernate methods that help me doing  the LIE interceptor:

Hibernate.isInitialized(object);
Hibernate.initialize(object);
session.lock(object, LockType);

Regards, jtonic

mlouna wrote : You're absolutely right. 
  | 
  | I can cast the following to a set of Objects
  | 
  | SetObject mySet = 
(SetObject)methodInvocation.getCalledMethod().invoke(methodInvocation.getTargetObject(),
 methodInvocation.getArguments());
  |   | 
  | and then loop through it with
  | 
  | Iterator iter = mySet.iterator();
  | 
  | In the particular cases where I know my object type I can call
  | parent.getChildren().getChildName() and indeed catch the thrown Lazy Init 
Exception
  | 
  | However in the general case where I have no knowledge of my object's 
getters/setters methods name, it is getting a bit more complicated.
  | 
  | Will have to think of method refelction solution. 
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Get page name during layout rendering

2007-11-30 Thread syllant
Yes, this would work for breadcrumbs, even though you have to make assumptions 
to stop at portal root when reading parent path.

But this would not work when building navigation menu beacause you need more 
information than page name. I use 'navigation' region to display top pages, and 
I build a tree-menu of nested pages inside layout. I only could build this menu 
inside 'navigation' region and display it elsewhere in the page because I've 
implemented it with Javascript.

I find layout management too rigid, hope it will be more flexible with next 
releases.



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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Error while starting JBoss

2007-11-30 Thread rahulprashar
Thanks Peter for the advice and yes we are using ORACLE.

As per your advice, I'll check in the system and reply back to you.

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

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


[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin

2007-11-30 Thread svadu
You don't need to replace the hqldb-sa.xml. 
You can create an oracle data source, give it a unique name and let your 
application refer to the new data source. 
JBoss has examples of oracle data sources at ${JBOSS_HOME}/docs/examples/jca 
you only need to copy it to the deploy folder and reconfigure to match your 
settings

If you're doing out-of-container testing you probably only need to reconfigure 
your persistence.xml to point directly at your database.

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

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


[jboss-user] [JBoss jBPM] - Re: Web based process designer

2007-11-30 Thread kukeltje
The goal of the GPD is that the combination of tech and businesspeople can work 
on the same model and together design a fully working process. 

We'd appreciate it if, insteadof going for a webbased designer, you guys could 
provide info on what you miss in the GPD and why you think non-tech people 
cannot use it (but keep in mind that with 'perspectives' the sometimes tech 
look of the gpd can be tuned. And besides that. If there are no special 
requirements, why would a webbased gpd be any different than the current  GPD. 

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

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


[jboss-user] [JBoss Seam] - Re: Intergration with Maven2? And Seam Generating Test Cas

2007-11-30 Thread svadu
vcordaro12 wrote : 1),  yes entities are gnerated from a datasource, however 
I want to be able to execute generate-entities from my pom.  So that in my 
nightly build process I can generate my entities. 

Not sure why you want your db schema lead your design. But you can make your 
entities generate and fill your db schema on every build :) Would that do what 
you want?

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

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


[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor

2007-11-30 Thread [EMAIL PROTECTED]
Sorry for the delay in getting back to you. 

This is a compatibility bug. I have created a Jira task for fixing it:

http://jira.jboss.com/jira/browse/JBAOP-492

There is no timeline for the resolution of this bug, but your feedback is 
important for us to define the right priority for it.

Please, guys, vote on the solution for this bug on Jira, since this is the best 
way for us to knowing which bugs should be solved first.

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

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


[jboss-user] [JBoss Seam] - Re: Activation of SFSB and removal of it by Seam question

2007-11-30 Thread asookazian
[EMAIL PROTECTED] wrote : asookazian wrote : Is it safe to assume, then, 
that @In(create=true) will only instantiate a session-scoped SFSB once per 
session from a conversation-scoped SFSB as long as it is not destroyed somehow 
or nulled after the first instantiation?
  | 
  | Yes.
  | 
  | Post the *whole* source of the SecurityAuditAction, I think there must be 
something funny about your use of Seam logging.

A couple weeks back I tried removing all references to the Seam logger in both 
SFSB's (there are no other POJO's other than entity beans) and the exception 
still occurred...  I have no clue what it is but maybe it's the instance 
variable objects that can't be serialized b/c they're not marked transient and 
do not implement Serializable??

I posted a question on the java sun EJB3 forum asking what happens if the ejb 
container tries to passivate/serialize a SFSB with instance variables that are 
not marked transient and are not serializable and no response...

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

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


[jboss-user] [JBossWS] - Re: JBoss WSSecurity and .Net Client

2007-11-30 Thread method_ben
I have the same problem, do you find a solution ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: How to run the test cases?

2007-11-30 Thread [EMAIL PROTECTED]
yup - bug in the embedded jboss bundled with Seam 2 prevents us from doing this 
at the moment.

See/follow http://jira.jboss.com/jira/browse/JBIDE-1129

Only Seam 2 ear testing is affected by this.

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

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


[jboss-user] [JBoss Tools (users)] - How to run the test cases?

2007-11-30 Thread SunFire
When I create a Seam EAR project there is also a ProjectName-test created. I 
also have created a sample action and the matching tests stubs have been 
created as well including the test-ng definition. How I am supposed to run the 
test now? I tried to just do a Run as... TestNG Suite after installing the 
Test-NG plugin but that did not work.

  | org.jboss.deployers.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** DEPLOYMENTS IN ERROR: Name - Error
  | 
  | vfsfile:/C:/java/workspaces/test/Example-ejb/build/classes/ - 
java.lang.IllegalStateException: [EMAIL PROTECTED] 
context=file:/C:/java/workspaces/test/Example-ejb/build/classes/ 
real=file:/C:/java/workspaces/test/Example-ejb/build/classes/] has no parent.
  | 
  | 
  | at 
org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.java:151)
  | at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129)
  | at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:307)
  | at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:14)
  | at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
  | at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
  | at 
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:166)
  | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  | at org.testng.TestRunner.runWorkers(TestRunner.java:689)
  | at org.testng.TestRunner.privateRun(TestRunner.java:566)
  | at org.testng.TestRunner.run(TestRunner.java:466)
  | at org.testng.SuiteRunner.runTest(SuiteRunner.java:301)
  | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:296)
  | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:276)
  | at org.testng.SuiteRunner.run(SuiteRunner.java:191)
  | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:808)
  | at org.testng.TestNG.runSuitesLocally(TestNG.java:776)
  | at org.testng.TestNG.run(TestNG.java:701)
  | at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
  | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
  | 
  | 

So what is the suggested way to run the tests out of the box?

Thanks, Thorsten

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

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


[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster

2007-11-30 Thread vickyk
anonymous wrote : Could not create table
  |  with SQL: CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, 
DESTINATION VARCHAR(150) NOT NULL,
  |  TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB IMAGE)
  | com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object 
named 'JMS_MESSAGES' in 
  | the database.
Looks like the table has already been created earlier , can you check this form 
the Jboss messaging forums ?
BTW , you can delete the tables manually from the MSSQL and then try restarting 
the Jboss ... that might work .

anonymous wrote : Is there something that I am doing wrong? 
You should understand that with Jboss4.2 version the older TM has been replaced 
with new Arjuna TM that supports RecoveryManager feature which was missing in 
earlier old TM .
So TM related logging should be done on com.arjuna.ats.internal.jta .

Ronald , why don't you test a simple jsp and get it verified first that 
datasource is configured properly , the DS seems to be configured properly .
I don't see the issue here with Jboss JCA , the configurations seems to be ok 
... let us get it verified from the test jsp .
Alternatively you can use  in the ds configuration and see from the logs if it 
doesn't show errors .





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

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


[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2007-11-30 Thread nnnnn
From your description, it sounds like you might want to use LOCAL cache mode 
and a TCPCacheLoader.  Have you looked into that?

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

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


[jboss-user] [JBoss Messaging] - Configure Queue Max Depth

2007-11-30 Thread ejb3workshop
In Jboss MQ there was an option to configure the max depth of a queue as well 
as various others, such as InMemory.

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


Is there similar options available on JBoss Messaging and where can I find 
them. I already searched the manual for the depth configuration, but it seems 
that this feature has been replaced with the new paging mechanism.

Thanks
Alex


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

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


[jboss-user] [JBoss Portal] - Re: Custom Layout that forces Quirks Mode

2007-11-30 Thread mping
If anyone cares, I created a custom layout that renders the base portlets ok 
and is in quirks mode. This enables some DOM/Javascript features that are 
disabled in XHMTL or strict mode.

This was done in Jboss Portal 2.6.2 AS 4.2.1.

The only relevant changes are:
- removing the doctype declaration from the layout jsp
- forcing the header content on the layout jsp to have  a height of 1px or so.

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

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


[jboss-user] [JBossWS] - Jboss web service and Websphere Client Access

2007-11-30 Thread [EMAIL PROTECTED]
Hi,

I am using a webservice provided by a client of ours running in jboss 
4.2.1(Recently migrated from JBoss 4.2). 

Before the migration I was able to access the webservice from my client 
generated by IBM WSDL2Java tool in RAD 7.0.  But now when I access the 
webservice, I am getting a nullpointer error in my client side where they get 
soapbody out of the message.

When I analysed, I found RAD sends the soap message without spaces and line 
breaks between tags.
Eg:

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:urn=urn:com:abc.system:ping:request:v1soapenv:Header/soapenv:Bodyurn:pingRequesturn:Header
 traceLevel=DEBUG/urn:Context employeeId=empid employeePassword=pass 
languageCode=EN/urn:EchoMessage 
text=BOO//urn:pingRequest/soapenv:Body/soapenv:Envelope


This fails. But if the same message is sent with spaces between tags, it works 
fine.(Tested using SoapUI)

Is there any setting we have to put in JBoss to avoid this error.

Thanks
Kalai

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

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


[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster

2007-11-30 Thread ratrask
Last things first:

anonymous wrote : Do you mean to say that every time you restart the MSSQL 
server it listens on different ports? There should be some way to configure the 
fixed port , I wanted to try this but I have fedora installed on my laptop .
  | 
  | Ronald , I don't believe that the MS doesn't provide a way to configure the 
fixed port to listen :) , google to know more configuration

No that is not what I mean to say. The default port the SQL Server listens on 
is 1433. But it must have an algorithm  for picking a different port if it 
discovers that that port is in use, because on my laptop it came up on port 
1961. This caused me some delay in trackinig down what happened, because there 
was no indication that it had changed from 1433 other than a connection refused 
message. After Googling around I bit I found a hint that I needed to check at 
the place I described in the post to find out what port it was listening on. 

You can also set the port that it listens on at the same location. I have not 
researched it enough to know why / when it changes, but I suspect it only 
occurs the first time that the TCP/IP connectivity is enabled.

Sorry for any confusion that this may have caused. My intent was good. I was 
just trying to help anyone who was following in my tracks.

Now to the real point of the post. Perhaps I am doing this wrong, but I have 
not seen any difference after enabeling trace The same information goes to the 
console, and there is no error displayed in the server log, or any indicative 
information in the server.log

This is how I am enabeling trace.
In the conf directory of my server, I edit the file jboss-log4j.xml. i.e. 
(jboss-4.2.1.GA/server/fast2market/conf/jboss-log4j.xml

I add the following:

   category name=org.jboss.tm
  |  priority value=TRACE class=org.jboss.logging.XLevel/
  |/category
  |category name=org.jboss.jdbc
  |  priority value=TRACE class=org.jboss.logging.XLevel/
  |/category
  |category name=org.jboss.mq.sm.jdbc.JDBCStateManar
  |  priority value=TRACE class=org.jboss.logging.XLevel/
  |/category

Is there something that I am doing wrong?

This is the information in the service.log:
2007-11-30 10:35:00,778 DEBUG [org.jboss.deployment.MainDeployer] Done with 
create step of deploying jbossmq-httpil.sar
  | 2007-11-30 10:35:00,778 DEBUG [org.jboss.deployment.MainDeployer] create 
step for deployment 
file:/C:/JBoss/jboss-4.2.1.GA/server/fast2market/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
  | 2007-11-30 10:35:00,778 DEBUG [org.jboss.deployment.SARDeployer] Deploying 
SAR, create step: url 
file:/C:/JBoss/jboss-4.2.1.GA/server/fast2market/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml
  | 2007-11-30 10:35:00,778 DEBUG [org.jboss.system.ServiceCreator] About to 
create bean: jboss.mq:service=StateManager with code: 
org.jboss.mq.sm.jdbc.JDBCStateManager
  | 2007-11-30 10:35:00,841 DEBUG [org.jboss.system.ServiceCreator] Created 
bean: jboss.mq:service=StateManager
  | 2007-11-30 10:35:00,856 DEBUG [org.jboss.system.ServiceController] 
recording that jboss.mq:service=StateManager depends on 
jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 2007-11-30 10:35:00,856 DEBUG [org.jboss.system.ServiceConfigurator] 
considering ConnectionManager with object name 
jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 2007-11-30 10:35:00,856 DEBUG [org.jboss.system.ServiceConfigurator] 
SqlProperties set to CREATE_TABLES_ON_STARTUP = TRUE
  |   CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT 
NULL, PASSWD VARCHAR(32) NOT NULL, \
  |  CLIENTID VARCHAR(128) 
NULL, PRIMARY KEY(USERID))
  |   CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT 
NULL, USERID VARCHAR(32) NOT NULL, \
  |  PRIMARY KEY(USERID, 
ROLEID))
  |   CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID 
VARCHAR(128) NOT NULL, \
  |  SUBNAME VARCHAR(128) NOT 
NULL, TOPIC VARCHAR(255) NOT NULL, \
  |  SELECTOR VARCHAR(255) 
NULL, PRIMARY KEY(CLIENTID, SUBNAME))
  |   GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |   LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS 
WHERE CLIENTID=? AND SUBNAME=?
  |   GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM 
JMS_SUBSCRIPTIONS WHERE TOPIC=?
  |   INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, 
SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
  |   UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, 
SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
  |   REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? 
AND SUBNAME=?
  |   GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS 
WHERE 

[jboss-user] [JBoss jBPM] - Re: Problems

2007-11-30 Thread kaledev
My xhtml pages are generated, and the forms.xml seems in order. Blank pages are 
all that I get.

Unfortunately as I have said since my original post, the tutorial does not 
cover all the basics and I have never used the product. Therefore assuming that 
any person, or at least a smart one as you put it, can look at the tutorial and 
learn everything is wrong. I am here because I want to learn the basics and the 
tutorial only taught me how to, sort of, manipulate an existing example. This 
existing example shows me nothing about form creation, very little about 
varibles, a vague mentioning of swimlanes, actors, nothing about assigning 
them. I am left with a brick wall I cannot get through.

After two pages no one has answered my original simple question of is there 
another step-by-step tutorial that may help me get ahold of the basics. I can 
ask every question I have here but I don't want to fill up your forum with 
questions, causing everyone to be angry with me. Like I said I am only here to 
learn, and am opening asking for help. I have exhausted every means I have of 
finding something myself and I am sure people here have a better idea than I of 
where to find these things.

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

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


[jboss-user] [JBoss Seam] - Re: Converter Issue

2007-11-30 Thread IGx89
very soon likely being ~4 weeks, based on the rate of bugfixing since 
2.0.0.GA a month ago :)

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

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


[jboss-user] [EJB 3.0] - hibernate and inheritance

2007-11-30 Thread p.chevillon
Hello,

I've a problem with requests on sublasses of a class tree (Entity beans). I got 
a org.hibernate.WrongClassException when trying to access data with a oneToMany 
relation.

My architecture is:

A  B  C


  | @Entity
  | @Table(name = A)
  | @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name = DTYPE, discriminatorType = 
DiscriminatorType.STRING)
  | @DiscriminatorValue(A_TYPE)
  | public class A implements java.io.Serializable {
  | 
  | private Long id;
  | ...
  | }
  | 
  | @Entity
  | @DiscriminatorValue(B_TYPE)
  | public class B extends A {
  | 
  | // Associations
  | private CollectionObj objSet = new ArrayListObj();
  | 
  | @OneToMany(mappedBy = A)
  | public CollectionReview getObjSet() {
  | return objSet;
  | }
  | 
  | public void setObjSet(CollectionObj objSet) {
  | this.objSet = objSet;
  | }
  | }
  | 
  | @Entity
  | @DiscriminatorValue(C_TYPE)
  | public class C extends B {
  |...
  | }
  | 
  | 

And Obj is defined like:


  | @Entity
  | @Table(name = OBJ)
  | public class Obj {
  | private B value;
  | 
  | @ManyToOne
  | @JoinColumn(name=A_ID)
  | public AppPOI getValue() {
  | return value;
  | }
  | 
  | public void setValue(B value) {
  | this.value = value;
  | }
  | 
  | }
  | 

When I create a new Obj and associate it to a B Entity it works. (correctly 
added to the DB, good ID pointing from OBJ to a A like entry)

Now when I try to access using this request:
SELECT obj FROM Obj obj WHERE obj.value.id=44549450

It gives me that error message:

  | org.hibernate.WrongClassException: Object with id: 44549450 was not of the 
specified subclass: C (Discriminator: B_TYPE)
  | 

I'm using using jboss 4.0.5 with seam and hibernate updated to version 3.2.5ga

Thanks for your help, I couldn't find an answer to my problem with the search 
function of this forum, I've passed so many times reading it at this point...

Paulin



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

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


[jboss-user] [JBoss Tools (users)] - Re: JBossTools Visual Editor under Debian

2007-11-30 Thread [EMAIL PROTECTED]
Never mind. The problem goes away with the new CR1 release. Thanks

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

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


[jboss-user] [JBossWS] - Re: how to set headers in JAX-WS

2007-11-30 Thread camateusno
Hi friend,
i have the same problem and i think that the jbossws do it a bad parse to some 
documents WSDL.

If you know something thereon, i thank you very much, for several days working 
on it...

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: nothing is displayed when formatting with a pattern of

2007-11-30 Thread meurisse
I messed up my tests :-(
More testing showed that the problem is not related to tomcat. I reposted to 
the right forum (I hope). 
Sorry for the trouble! (But nobody seems to bother about this topic anyway)
see http://www.jboss.com/index.html?module=bbop=viewtopicp=4109341


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

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


[jboss-user] [JNDI/Naming/Network] - Re: HELP! Can't connect to 1099?

2007-11-30 Thread McJava1967
I'll give it a try.  It's sunny and I'm officially on vacation today, so it may 
be tomorrow before I respond again.  But again, thanks...

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

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


[jboss-user] [JBoss jBPM] - Re: Problems

2007-11-30 Thread anuragpaliwal
Hi All,

I am also currently exploring the jBPM and have got the same issues regarding 
xHTML. 

I can see the generated xHTML file and those files have got entry in forms.xml 
as well.
Inspite of that I always get blank page. 

Moreover, I never managed to give custom names to variables while creating task 
form using 'Generate Task Form'  dialog box. I am just wondering if anyboby has 
got this  problem as well.  

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

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


[jboss-user] [JBossWS] - Re: Jboss web service and Websphere Client Access

2007-11-30 Thread [EMAIL PROTECTED]
Richard, 

It happens when when you get soapbody out of the message in the application 
code in the server side. In the client side I get

env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
   env:Header/
   env:Body
  env:Fault
 env:Server
 java.lang.NullPointerException
  /env:Fault
   /env:Body
/env:Envelope

Thanks
Kalai

[EMAIL PROTECTED] wrote : Hi,
  | 
  |is there a stacktrace you could post (so we could analyze it)?
  | 
  | Richard

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: different order between sending and receiving(FIFO)

2007-11-30 Thread garneke
I am seeing basically the same issue as the original poster - however, I can 
find no solution.  

-I am using multiple Solaris 8 platforms with older hardware.  
-I have experienced the problem on both jboss v4.0.5GA and v4.2.2GA.  
-I am using a default jboss configuration with the one exception that I have 
altered it to use an mysql backend.

In my situation I have multiple servers involved in the messages lifespan but I 
do not use any clustering and I have only one poster/consumer on any one Queue 
at any time.

Senerio:
1. Each message contains a unique (sequential) serial number in its body.
2. Messages are written to a JMS Queue A on server #1 at around 200 
millisecond intervals.
3. Messages are read from the Queue A manipulated and sent thru other servers 
using ordinary TCP sockets.  The destination server writes the resulting 
message back to a new JMS Queue B on server #5. 
4. Final application is sitting in an infinite loop reading messages as fast as 
it can from Queue B with CLIENT_ACKNOWLEDGE set and using 'receive(2000)' - 
Note: 2 second timeout.  Each message that is read is acknowledged then the 
unique serial number is parsed from the message contents and compared to 
previously received messages.  I always receive about a half a dozen messages 
out of order in a 300-350 thousand message set.  The unique serial number stays 
consistently in sync with the JMS Message ID that is stored in the message 
header.  This implies that the messages are written to the JMS Queue B in the 
correct order.  It is only when I read them back that  they become out of 
order.  Normally, an out of order message will only be off by one message.  
However, I have had examples where a message is actually retrieved 5 messages 
late ( roughly a second late ). 

Between the unique serial number in the message body and the JMS Message ID and 
logging that I perform on the sending side I am confident that the messages are 
being written in order.

I have to be able to say(guarantee) that we can deliver message in a FIFO 
order.  

I can not find any comments or postings suggestion that anyone has a fix for 
this.

I know current development is geared toward Jboss v5 and Jboss Messaging versus 
JbossMQ, but I need to find a fix for this!

What can I do?  Do you have any suggestions?


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

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


[jboss-user] [JBoss Seam] - Re: @Startup and Seam interceptor

2007-11-30 Thread xinhua
[EMAIL PROTECTED] wrote : So how does it not work? Does the interceptor run? 
Does it run and not set the values?

nothing happened. @Startup is ignored also. Interceptor does not run. 

i put a @Create in this @Startup seam component, if my annotation @Kleber is 
there, @Create function doesnt run, the compoent wont be created by deployment. 

I donot know how to debug a @Startup Seam component :(


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

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


[jboss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2007-11-30 Thread [EMAIL PROTECTED]
Yes. Start a new topic with your issue.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using @Id and @Enumerated in the same column does not work

2007-11-30 Thread alexg79
Hibernate creates a primary key column of type bytea instead of integer if 
I use @Id and @Enumerated together in the same field. I guess I should file a 
JIRA issue?
Oh yeah, I'm using Postgresql 8.2.5.

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

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


[jboss-user] [JBoss Seam] - ejb3/seam-gwt-remoting/gwt security integration

2007-11-30 Thread hartfordd
Jboss 4.2.1
Seam 2.0.0.GA

Security with JAAS as layed out here in GWT web app components.xml file:
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/security.html#d0e7008

*Seam GWT-remoting
*GWT Web Application (i.e. browser/javascript only web client).



JIRA to be opened to attach sample project

Seam @WebService method with @Restrict throws error:

10:26:50,616 ERROR [[/sample-ejb3-gwt-client]] Exception while dispatching incom
ing RPC call
org.jboss.seam.security.NotLoggedInException
at org.jboss.seam.security.Identity.checkRestriction(Identity.java:222)
at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInte
rceptor.java:38)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
106)
at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInter
ceptor.java:54)
at org.javassist.tmp.java.lang.Object_$$_javassist_0.gwtTestSecurity(Obj
ect_$$_javassist_0.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTT
oSeamAdapter.java:100)
at org.jboss.seam.remoting.gwt.GWTService.processCall(GWTService.java:24
6)
at org.jboss.seam.remoting.gwt.GWTService$1.process(GWTService.java:146)

at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHtt
pServletRequest.java:53)
at org.jboss.seam.remoting.gwt.GWTService.getResource(GWTService.java:13
0)
at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.
java:69)
at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet
.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
onnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:619)

===

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

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


[jboss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2007-11-30 Thread [EMAIL PROTECTED]
has this been fixed?  I am noticing the same issue using Seam 2.0 GA with Jboss 
4.2

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

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


[jboss-user] [JBoss Messaging] - Load Balancing Policy

2007-11-30 Thread ejb3workshop
I am trying to get an application deployed on a cluster of 3 machines of 
different configuration. Once of the machines is a QuadCore and the others a 
P4's. When I submit a large number of messages to the cluster both P4 are 
running at 100% CPU utilisation which the QuadCode is merely sitting at 25% 
utilisation. It seems that every node in the cluster is allocated the same 
number of messages on a Round Robin basis. 

In Chapter 8 on the 1.3 documentation there are several configuration options  
available.
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/c_configuration.html

However in 1.4 none of these options are included in the documentation. 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP1/html/configuration.html#conf.connectionfactory.attributes.loadbalancingfactory

What is the best method to configure a load balanceing policy for clusters like 
the one I am working on.

thanks in advance
Alex

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Configuring persistence unit and accessing EntityManager

2007-11-30 Thread jaikiran
anonymous wrote : @WebService()
  | @PersistenceContext(name = persistence/LogicalName, unitName = 
MissionStatusProjectPU2)
  | public class MissionStatusService {
  | 
  | EntityManager em;
  | 
  | public MissionStatusService() {
  | 
  | try {
  | Context ctx = (Context) new 
javax.naming.InitialContext().lookup(java:comp/env);
  | em = (EntityManager) ctx.lookup(persistence/LogicalName);
  | } catch (NamingException ex) {
  | ex.printStackTrace();
  | }
  | 
  | } 

How about this:


  | @WebService()
  | public class MissionStatusService {
  | 
  | @PersistenceContext
  | EntityManager em;
  | 
  | public MissionStatusService() {
  |  //do nothing
  | 
  | } 
  | .
  | }


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

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


  1   2   3   >