[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to run facelets numberguess example in JBoss 5

2008-04-10 Thread saasira
Hi!
Anne,

Did you find any solution for that problem?
we are facing the same here and wish if you can share your experiences on this.
I posted a thread yesterday on the following thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=133341
, but seems no one has any solution or work around to this-- I did not get any 
reply.

Thanking you in advance,
Samba

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

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


[jboss-user] [JBoss Portal] - Re: assign portal to role

2008-04-10 Thread capic
up
it's not possible ??

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

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


[jboss-user] [Clustering/JBoss] - Deploying ear in a clustered environment (farm deployment)

2008-04-10 Thread AmrutaT
I have set up a cluster in JBoss5.0.0 Beta2. In JBoss4.2 GA there was an option 
to deploy the ear in the farm directory which acted as centralized deployment 
across all nodes of the cluster. In JBoss5.0.0 Beta2 I do not see the farm 
directory. How is farm deployment done in JBoss5.0.0 Beta2?

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

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


[jboss-user] [JBoss Portal] - special properties names documentation

2008-04-10 Thread erezharari
hi,
i have come accross some special properties such as theme.dyna.dnd_enabled and 
others.

is there a place where all these properties documented (portal, page and window 
levels)?

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

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


[jboss-user] [EJB/JBoss] - Re: Finder exception after upgrade from 4.0.5 to 4.2.2

2008-04-10 Thread jaikiran
Daoud,

You have not posted the exception stacktrace, so i can't say whether its the 
same error. From what aazaroff posted, here's what i can see:

anonymous wrote : 2008-03-18 09:55:02,836 WARN  
[com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.t
  | ransaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.las
  | tResource.disallow] Adding multiple last resources is disallowed. Current 
resource is org.jboss.reso
  | [EMAIL PROTECTED]

See this http://wiki.jboss.org/wiki/Multiple1PC

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread [EMAIL PROTECTED]
If you don't want it to control the server then use the Deploy Only 
Server/runtime.

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

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


[jboss-user] [JBoss Messaging] - Authentication issues. (User null is NOT authenticated)

2008-04-10 Thread lhunath
I've been working on migrating from JBossMQ to JBossMessaging with JBoss AS 
4.2.2.GA. I'm using JBossMessaging 1.4.0.SP3. 

Our JBoss AS is completely configured through Maven. We put the JBoss AS as a 
zip artifact in a local repository; extract it from there using the 
maven-depenency-plugin and do some assembling to get the correct libraries in 
the correct locations with the maven-assembly-plugin. Configuration is done 
through maven filtering the JBoss XML configuration files. All this worked 
perfectly before I started the migration to JBossMessaging from JBossMQ. 

Seeing as so much has been customized about our JBoss AS, I went about this 
manually rather than using the script. 

Unfortunately when actually launching our application in the AS, JMS starts 
complaining about the fact that it cannot authenticate the user null.  I'm 
assuming I somewhere forgot to mention what user it's supposed to be defaulting 
to?  However, such a default user had not been configured for JBossMQ either, 
as far as I know.

  | *  The exception: http://www.lhunath.lyndir.com/stuff/jboss.log
  | *  Trace messages on org.jboss.jms  org.jboss.ejb.plugins.jms: 
http://www.lhunath.lyndir.com/stuff/trace.log
  | 
Here's an overview of what exactly I did to replace JBossMQ by JBossMessaging:

  | *  I removed the jbossmq.jar from server/default/lib.
  | *  I moved jms-ds.xml and jms-ra.rar from server/default/deploy/jms into 
server/default/deploy and removed the server/default/deploy/jms directory. 
  | *  In server/default/conf/standardjboss.xml I toggled 
CreateJBossMQDestination to false . 
  | *  In server/default/conf/login-config.xml I commented the JBossMQ 
application-policy and added one for JBossMessaging: 
http://www.lhunath.lyndir.com/stuff/login-config.xml 
  | *  In server/default/conf/jboss-service.xml I removed 
jboss.mq:service=DestinationManager 
  | *  Removed 
server/default/deploy/jboss-messaging.sar/hsqldb-persistence-service.xml and 
replaced it with the mysql-persistence-service.xml from the examples directory. 
Modifications made to the mysql-persistence-service.xml include changing of 
DefaultDS to the DS we use and removed all POPULATE.TABLES.X instances except 
for the guest ones. See 
http://www.lhunath.lyndir.com/stuff/mysql-persistence-service.xml.
  | 

Any files not mentioned are kept at their defaults. 

Additionally, the SAR that configures our MDBs has the following done to 
META-INF/jboss-service.xml: 

  | *  Added the following to the top of the file:
  | loader-repositoryjboss.messaging:loader=ScopedLoaderRepository
  |   | 
loader-repository-configjava2ParentDelegation=false/loader-repository-config
  |   | /loader-repository
  | *  Diff of our queue configuration: 
  |   | -   mbean code=org.jboss.mq.server.jmx.Queue
  |   | -   name=safeonline:service=Queue,name=outgoing-email
  |   | -   attribute 
name=JNDINamequeue/outgoing-email/attribute
  |   | -   depends optional-attribute-name=DestinationManager
  |   | -   jboss.mq:service=DestinationManager
  |   | -   /depends
  |   | +   mbean code=org.jboss.jms.server.destination.QueueService
  |   | +name=safeonline:service=Queue,name=outgoing-email
  |   | +xmbean-dd = xmdesc/Queue-xmbean.xml
  |   | +   attribute 
name=JNDINamequeue/outgoing-email/attribute
  |   | +depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   | +dependsjboss.messaging:service=PostOffice/depends
  |   | /mbean
  |   | -   mbean code=org.jboss.mq.server.jmx.Queue
  |   | -   name=safeonline:service=Queue,name=auditBackend
  |   | -   attribute 
name=JNDINamequeue/auditBackend/attribute
  |   | -   depends optional-attribute-name=DestinationManager
  |   | -   jboss.mq:service=DestinationManager
  |   | -   /depends
  |   | +   mbean code=org.jboss.jms.server.destination.QueueService
  |   | +   name=safeonline:service=Queue,name=auditBackend
  |   | +xmbean-dd = xmdesc/Queue-xmbean.xml
  |   | +   attribute 
name=JNDINamequeue/auditBackend/attribute
  |   | +depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   | +dependsjboss.messaging:service=PostOffice/depends
  |   | /mbean
  |   | 
  | 
  | Do request any further information required to diagnose the problem.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: installing and running jboss on linux -- 4957 Bus error

2008-04-10 Thread FrankTheTank
Do you really need to be root and/or have it in that dir?

I had once installed JBoss from the repos as well and it only gave me tons of 
problems.

After I moved it to my home dir, it worked fine and never had a problem.

So if you do not need to have it there, I'd say you've got to move it, move it. 
:)

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

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


[jboss-user] [Beginners Corner] - JBoss Web server - port change

2008-04-10 Thread scenage
Hi guys,

I have JBoss running as a web server at the moment in conjunction with 
HP/Mercury Quality Center. Currently, I am trying to change the port that HP 
Mercury Quality Center is running on. I have contacted HP/Mercury but they 
won't touch the request and have advised not to fiddle with the current 
settings thats why I'm here :P
I am wanting to know what config files I would need to change (from the JBoss 
perspective) so that the current JBoss web server will work with a different 
port number. I am unsure as to if there is one configuration file that lists a 
port configuration setting or if there are many different files I will have to 
change. 

My current configuration is as follows:
JBoss Version: 4.0.2(build: CVSTag=JBoss_4_0_2 date=200505022023)
JBoss Version Name: Zion
JVM Version: 1.4.2-b28 (Sun Microsystems Inc.)
JVM Name: Java HotSpot(TM) Server VM

Any help will be greatly appreciated.
Cheers,
Pat

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

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


[jboss-user] [JBoss jBPM] - Re: Cannot deploy BPEL version of HelloWorld

2008-04-10 Thread raman99
This problem comes if you have Java-1.6. Please downgrade to java 1.5.

Regards
Raman

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

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


[jboss-user] [JBoss Tools (users)] - WTP 3.0 ?

2008-04-10 Thread Juergen.Zimmermann
Is there a rough estimation when Eclipse 3.4 with WTP 3.0 will be supported by 
JBoss Tools?

I just tried the latest milestone releases. However, when I try to open the 
JBoss Server View I get this exception:

java.lang.ClassNotFoundException: 
org.eclipse.wst.server.ui.internal.view.servers.ServerAction

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Web server - port change

2008-04-10 Thread jaikiran
You can configure the ports by editing the jboss-service.xml file in the conf 
folder. See this documentation for more details:

http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Additional_Services-Services_Binding_Management.html

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to run facelets numberguess example in JBoss 5

2008-04-10 Thread Annegret
Hi Samba,

we found a workaround:

1. We extracted the taglibs from the facelets jar files and put them into our 
war file in WEB-INF/tags
2. We added a reference to this files in web.xml:

  | context-param
  |   param-namefacelets.LIBRARIES/param-name
  |   param-value
  | /WEB-INF/tags/jsf-ui.taglib.xml;/WEB-INF/tags/jsf-core.taglib.xml;
  | 
/WEB-INF/tags/jsf-html.taglib.xml;/WEB-INF/tags/tr.taglib.xml;/WEB-INF/tags/tomahawk.taglib.xml;
/WEB-INF/tags/rich.taglib.xml;/WEB-INF/tags/avaya.components.taglib.xml;
  |   /param-value
  | /context-param
  | 

That's the way how you would proceed with self written taglibs.

Annegret

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

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


[jboss-user] [JBoss Messaging] - Re: Message redistibution between 2 MDB's

2008-04-10 Thread timfox
To elaborate on what Clebert has already said - also I think this has been 
covered before on other threads.

JBoss Messaging has connection load balancing - this means that if you use a 
connection factory with the attribute supportsLoadBalancing set to true, then 
subsequent create connection attempts will be made on different nodes of the 
cluster in a round robin fashion, the first node is chosen randomly.

This gives an even distribution of connections across the cluster.

If you have a clustered queue deployed on all nodes of the cluster, and a MDB 
consuming on all nodes from that queue, and you send a message via one of the 
connections you created to one of the nodes, then, if the local MDB exists and 
is not busy , JBM will always *favour* the local MDB. There is no point in the 
message being processed on another node if it can be happily processed on the 
local node (it's a waste of network hops).

Here's the bit Clebert did not mention: If the local MDB does not exist or is 
busy, and another MDB on another node for the same queue is idle then the 
remote MDB can pull messages from other nodes - this is called message 
redistribution.

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-10 Thread ataylor
since you are using DatabaseServerLoginModule for users and roles, check in th 
edatabase that the guest roles actually exist. alternatively use the file based 
login module i.e.
application-policy name=messaging
  |   authentication
  | 
  | login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule 
flag=required
  | module-option name=unauthenticatedIdentityguest/module-option
  | module-option 
name=usersPropertiesprops/messaging-users.properties/module-option
  | module-option 
name=rolesPropertiesprops/messaging-roles.properties/module-option
  | /login-module
  | /authentication
  |   /application-policy
  | 

and creat the following files under conf/props:

messaging-roles.properties which should contain
guest=guest
and messaging-users.properties which should contain
guest=guest

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

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


[jboss-user] [Clustering/JBoss] - Re: topic not bound in HAJMS

2008-04-10 Thread akalsy
Hey i am also running into a similar issue. Is there any solution for this?

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

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


[jboss-user] [Remoting] - Re: No jboss-remoting.jar in 2.2.2SP_4 and 2.2.2SP_7

2008-04-10 Thread [EMAIL PROTECTED]
I'll have to recreate the zip files.  In the meantime, you can always get the 
various versions of jboss-remoting.jar from 
http://repository.jboss.com/jboss/remoting/.

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

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


[jboss-user] [JBoss jBPM] - Re: About assignement

2008-04-10 Thread gstasica
yeah, i have the same problem so i want to make some changes to jbpm-console. 
unfortunately i've not jsf experience and at the moment have a problem running 
console as an eclipse project. 

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

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


[jboss-user] [JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS

2008-04-10 Thread shankarkhanna
I created a new portal called TestPortal and created a new page called MyPage. 
I made the TestPortal as default Portal.

In CMS, I created a new folder 'TestPortal' and added two htm files in it 
page1.htm and page2.htm

In WYSIWYG Editor, Following is the code in page1.htm in code view

pa href=/portal/content/TestPortal/page2.htmPage 2/a/p

From pagelayout of 'MyPage' page i added the CMS content in center region.

When i accessed the portal using http://localhost:8080/portal, it showed me the 
TestPortal which is now the default portal.  It also showed me MyPage tab 
having page1.htm content.

In the address bar, this is the url 
http://localhost:8080/portal/auth/portal/TestPortal/mypage

But when i click on the link, i got 404 error in browser saying The requested 
resource () is not available.

In the address bar, this is the url 
http://localhost:8080/portal/content/TestPortal/page2.htm; (after clicking on 
the link)


Is there anything wrong i am doing here.

Also, if i access the default JBoss Portal -default page and click on the link 
JBoss Portal project, it shows content of next page on the same portlet 
window and address bar shows the following url
http://localhost:8080/portal/auth/portal/default/default/CMSPortletWindow_5?action=2uri=%2Fdefault%2Fproject.html

we can see that it added CMSPortletWindow_5. 

But in my case, it did not add the window name while accessing the link from 
page1.htm file.

And even if i create the same file as index.htm file in  default page of 
default portal, it is not working.

Please Help

Shankar Khanna

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: UDP Front-End for JBoss?

2008-04-10 Thread erasmomarciano
Hi
notarysojac
this is  not possible due to http protocol working on tcp


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

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


[jboss-user] [EJB 3.0] - Can ejb3 be used with generics?

2008-04-10 Thread teknokrat
I am trying to do the following:

I have my local business interface defines with a type parameter and all my 
bean classes implement it specifying a concrete class for the type parameter. 
e.g. public class MyClass implements MyInterface

However, the dependency injection is now getting confused as it can't seem to 
differentiate between the beans e.g.


  | @EJB MyInterfaceInteger test1;
  | @EJB MyInterfaceString test2;
  | 

The above fails. Does anyone know whether what i am trying to do can work?

cheers

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.Beta released

2008-04-10 Thread baz
All the Links in this post are not working:-(
HTTP404

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

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


[jboss-user] [JBoss Messaging] - Re: Authentication issues. (User null is NOT authenticated)

2008-04-10 Thread apwalker
It's looks like a security config issue on the JMS Sender side.

Can you post the code you are using to send the message. Also what 
ConnectionFactory are you using. If you everything is running in the same JVM 
you should be usng java:/ConnectionFactory instead of ConnectionFactory when 
looking them up in JNDI. I say that because from the logs I'm seeing the  
bi-socket in the remoting layer. So I'm pretty sure your doing the lookup using 
... initialContext.lookup(ConnectionFactory)  ...

Are you using something like 

  |  ... connectionFactory.createConnection(username,password)
  | 
  | or
  | ...  connectionFactory.createConnection()
  | 
  | 

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

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


[jboss-user] [EJB/JBoss] - EJB 2.0 and JBoss 4.05 - object key not previously generated

2008-04-10 Thread lkltouk
Hi,

During retrieving remote EJB stub sometimes I get an error: 

--END server-side stack trace--  vmcid: 0x0  minor code: 0  
completed: No
  |at 
com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:199)
  |at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
  |at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:150)
  |at 
pl.touk.jainslee.jee2slee.bean.slee._SleeBeanRemote_Stub.sendResponse(Unknown 
Source)
  |at 
pl.touk.jainslee.jee2slee.sbb.Jee2SleeSbb.onJ2SResponseEvent(Jee2SleeSbb.java:249)
  |at 
com.opencloud.rhino.deployed.sbb.TouK.Jee2Slee_SBB_1_0.SbbEJBBean.sbbDeliverEvent(SbbEJBBean.java:378)
  |at 
com.opencloud.deployed.Service_Jee2Slee_Service_1_0__TouK__1321.SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.sbbDeliverEvent(SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.java:961)
  |at com.opencloud.ob.RhinoSDK.apy.b(5134)
  |at com.opencloud.ob.RhinoSDK.apy.a(5134)
  |at com.opencloud.ob.RhinoSDK.apy.a(5134)
  |at com.opencloud.ob.RhinoSDK.aps.b(5134)
  |at com.opencloud.ob.RhinoSDK.aps.a(5134)
  |at com.opencloud.ob.RhinoSDK.u0.a(5134)
  |at com.opencloud.ob.RhinoSDK.uz.a(5134)
  |at com.opencloud.ob.RhinoSDK.nl.b(5134)
  |at com.opencloud.ob.RhinoSDK.nl.run(5134)
  | Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: --BEGIN server-side 
stack trace--
  | unknown oid
  | --END server-side stack trace--  vmcid: 0x0  minor code: 0  
completed: No
  |at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  |at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  |at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  |at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  |at 
com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
  |at 
com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
  |at 
com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
  |at 
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
  |at 
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
  |at 
com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
  |at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
  |at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:125)
  |... 13 more

And at JBOSS side:

anonymous wrote : 
  | 13:45:22,625 WARN [poa] POA EJBObject%SleeBeanHome rid: 5 opname: 
sendResponse _invoke: object key not previously generated! 

The strange thing is that this error occurs rarely. Most of the time everything 
works fine, so configuration is OK.

Thanks in advance,
Luke

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Transfer-encoding chunked

2008-04-10 Thread gbuys
Hi All,

I'm having an issue calling a webservice on MS IIS from JBoss 4.2.2 with Apache 
CXF 2.0.4 client deployed in a Spring application.

The deployed service doesn't seem to support client calls from JBoss with 
Transfer-encoding chunked in the request header.  Sometimes the service system 
gives a response but most of the time it hangs or returns an error message.  
I've deployed exactly the same client code (generated with soapUI using CXF 
2.0.4.-incubator) in a stand alone program in Eclipse.  This program sends 
requests to the service with a content-length specified in the request header.  
This works perfectly well, the IIS server quickly responds and remains stable.

So it appears to me that JBoss is actually responsible for putting the 
'Transfer-encoding chunked' in the header.  How can I reconfigure my JBoss to 
send requests with fixed content length.  As a matter of fact, I think I should 
configure that only the web service requests have content-length specified.  
All other requests/responses should remain chunked.

Or do I have to configure CXF or change my service client code to force the 
requests having a content-length header?  I did some experiments with a 
cxf-servlet.xml in my WEB-INF without succes (ip address replaced with x's):

  | beans xmlns=http://www.springframework.org/schema/beans;
  |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |xmlns:http-conf=http://cxf.apache.org/transports/http/configuration;
  |
xsi:schemaLocation=http://cxf.apache.org/transports/http/configuration
  |http://cxf.apache.org/schemas/configuration/http-conf.xsd
  |http://www.springframework.org/schema/beans
  |http://www.springframework.org/schema/beans/spring-beans.xsd;
  | 
  |   http-conf:conduit 
  |
name={http://xx.xx.xx.xx/Webservice_Server/}Webservice_Server.http-conduit;   
  |   http-conf:client AllowChunking=false/
  |   /http-conf:conduit
  | /beans
  | 

Any help is greatly appreciated! 
(Of course, the guys on the web service side should find out why their IIS 
becomes unstable, but i'd like to find out what i can change on the client side 
as well...)



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

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


[jboss-user] [Remoting] - Re: ClassNotFoundException while calling remote ejb3 across

2008-04-10 Thread avogt_sundn
Ok, i found that the reason actually was my using isolated ears with dedicated 
loader repositores, enabled in the jboss-app.xml

!DOCTYPE jboss-app
  |   PUBLIC -//JBoss//DTD J2EE Application 1.4//EN
  |   http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd;
  | jboss-app
  | loader-repository
  | palmyra-bsp-bestandsdaten-1.0:loader=bsp-bestandsdaten-1.0.EAR
  | loader-repository-config
  | java2ParentDelegation=true
  | /loader-repository-config
  | /loader-repository
  | /jboss-app

Once I empty the jboss-app.xml, everything works fine.

Is there a way to have my isolated ear serve its classes for remote class 
loading? 

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

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


[jboss-user] [JBoss Portal] - Re: Admin Portlet: Strange Behavior with Oracle-DB

2008-04-10 Thread ssolfaroli
Same problem here.
Trying to add a property to a page i get nothing on first time, if I retry I 
get this error:

  | 2008-04-10 10:44:38,300 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 1, SQLState: 23000
  | 2008-04-10 10:44:38,300 ERROR [org.hibernate.util.JDBCExceptionReporter] 
ORA-1: unique constraint (JBPORTAL.SYS_C0016340) violated
  | 
  | 2008-04-10 10:44:38,300 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 1, SQLState: 23000
  | 2008-04-10 10:44:38,300 ERROR [org.hibernate.util.JDBCExceptionReporter] 
ORA-1: unique constraint (JBPORTAL.SYS_C0016340) violated
  | 
  | 2008-04-10 10:44:38,300 ERROR 
[org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.exception.ConstraintViolationException: Could not execute 
JDBC batch update
  | 

My environment:
* Version: jboss-portal-2.6.4
* Download Version
* JBoss AS Version: 4.2.2.GA 
* Database: Oracle Database 10g Release 2
* JDBC Connector and Version: ojdb14.jar shipped with database
* OS Platform: Red Hat Enterprise Linux AS release 4 
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)

Searching in Hibernate FAQ i tried to disable batch update
property name=hibernate.jdbc.batch_versioned_datafalse/property
  | property name=hibernate.jdbc.batch_size0/property
  | , nothing has changed.

Tried specifing hibernate dialect also, with:

  | property name=dialectorg.hibernate.dialect.Oracle10gDialect/property
  | 

Someone has an idea of what is happening?
Please help me.

Thanks


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

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


[jboss-user] [EJB 3.0] - Re: how to enable RMI class loading

2008-04-10 Thread avogt_sundn
Ok, i enabled trace logging (described here: 
http://www.jboss.com/index.html?module=bbop=viewtopict=126382 ).

I'm using a standalone client application. The log says:


  | 12:03:06,794 DEBUG [SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=1222,localport=4873].12a5dd1] 
closing
  | 12:03:11,422 TRACE [JavaSerializationManager] Creating ObjectOutputStream
  | 12:03:11,438 TRACE [JavaSerializationManager] Creating 
ObjectInputStreamWithClassLoader
  | 12:03:11,453 DEBUG [ClientSocketWrapper] reset timeout: 32
  | 12:03:11,485 TRACE [JavaSerializationManager] Creating ObjectOutputStream
  | 12:03:11,485 TRACE [JavaSerializationManager] Creating 
ObjectInputStreamWithClassLoader
  | 12:03:11,500 DEBUG [ClientSocketWrapper] reset timeout: 32
  | 12:03:11,500 DEBUG [MarshallerLoaderHandler] MarshallerLoaderHandler 
received invocation with param of load_class and data type of
  |  null
  | 12:03:14,221 TRACE [ClassUtil] trying to load class: 
palmyra.baustein.bestandsdaten.partner.PartnerSelektierenVBean from path: pal
  | myra/baustein/bestandsdaten/partner/PartnerSelektierenVBean.class
  | 12:03:14,221 TRACE [ClassByteClassLoader] getResourceAsStream 
=palmyra.baustein.bestandsdaten.partner.PartnerSelektierenVBean = n
  | ull
  | 12:03:14,346 DEBUG [MarshallerLoaderHandler] MarshallerLoaderHandler 
received invocation with param of load_class and data type of
  |  null
  | 12:03:14,940 TRACE [ClassUtil] trying to load class: 
palmyra.baustein.bestandsdaten.partner.PartnerSelektierenVBean from path: pal
  | myra/baustein/bestandsdaten/partner/PartnerSelektierenVBean.class
  | 12:03:14,940 TRACE [ClassByteClassLoader] getResourceAsStream 
=palmyra.baustein.bestandsdaten.partner.PartnerSelektierenVBean = n
  | ull
  | 12:03:14,971 DEBUG [ServerThread] WorkerThread#0[127.0.0.1:1227] closing 
socketWrapper: ServerSocketWrapper[Socket[addr=/127.0.0.1
  | ,port=1227,localport=3873].1be032b]
  | 12:03:14,971 DEBUG [ServerSocketWrapper] wrote CLOSING
  | 12:03:14,971 DEBUG [ServerThread] WorkerThread#1[127.0.0.1:1228] closing 
socketWrapper: ServerSocketWrapper[Socket[addr=/127.0.0.1
  | ,port=1228,localport=4873].1c1fcf1]
  | 12:03:14,987 DEBUG [SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=1227,localport=3873].1be032b] 
closing
  | 12:03:14,987 DEBUG [ServerSocketWrapper] wrote CLOSING
  | 12:03:15,018 DEBUG [SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=1228,localport=4873].1c1fcf1] 
closing
  | 12:03:19,958 TRACE [MicroRemoteClientInvoker] [EMAIL PROTECTED] 
disconnecting ...
  | 12:03:19,958 TRACE [MicroRemoteClientInvoker] [EMAIL PROTECTED] is not 
connected!
  | 

What it says is: the ClassByteClassLoader (in the jboss) cannot find the class. 
In the debugger I found in line
org.jboss.remoting.loading.ClassUtil.getClassBytes:190
the ClassByteClassLoader is virtually empty with only a reference to its parent 
class loader being some 
[EMAIL PROTECTED] url=null ,addedOrder=2}

I have deployed the ejb3 in question in an ear file with this jboss-app.xml:

  | !DOCTYPE jboss-app
  |   PUBLIC -//JBoss//DTD J2EE Application 1.4//EN
  |   http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd;
  | jboss-app
  | loader-repository
  | palmyra-bsp-bestandsdaten-1.0:loader=bsp-bestandsdaten-1.0.EAR
  | loader-repository-config
  | java2ParentDelegation=true
  | /loader-repository-config
  | /loader-repository
  | /jboss-app
  | 
and I want to stay with separate loader repositories per ear file.

Is that the problem?

What I didn't understand is: which classes are server for remote class loading 
from the jboss? Do I have to make my ear file known to the server invoker?


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

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


[jboss-user] [EJB 3.0] - Re: how to enable RMI class loading

2008-04-10 Thread avogt_sundn
Ok, that is the problem:

once i emptied the jboss-app.xml, the example works.

Please, somebody tell me, that it is somehow possible to have isolated loader 
repositories per ear and still allow for remote class loading...



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

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


[jboss-user] [JBoss Tools (users)] - Re: WTP 3.0 ?

2008-04-10 Thread [EMAIL PROTECTED]
Rough estimation ? Sometime.

Anyone who really want this should try and come in and help us adjust for the 
API changes they did.

Btw. I'm getting very mixed signals about what works and what does not work on 
Eclipse 3.4 and WTP 3last week someone said it worked fine for them...

Which also was surprising since I know it won't compile against eclipse 3.4.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.Beta released

2008-04-10 Thread baz
that's why i like seamframework.org:-)

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Could not enlist in transaction on entering meta-aware objec

2008-04-10 Thread jeff_porter
Hello all,

I'm really really stuck on a persistence issue and would like some help please.

jboss-4.2.2.GA
Hibernate 3
MySQL 5.0

I have an EJB that is a SessionBean  TimedObject.

It wakes up every 200 ms to check a directory for any files to process.
(XML files)

I'm using a local-tx-datasource.
I've tried using no-tx-datasource, but not all the data gets saved to the DB 
(no error messages).

The EJB has no static member varibles.
The EJB makes a call to another EJB to do the actual persistence.

This is the statck trace I get...



  | 11:34:26,468 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple last resources is disallowed. Current resource is [EMAIL 
PROTECTED]
  | 11:34:26,515 ERROR [LogInterceptor] EJBException in method: public abstract 
void javax.ejb.TimedObject.ejbTimeout(javax.ejb.Timer), causedBy
  | :
  | java.lang.IllegalStateException: Unable to persist timer
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:124)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy29.insertTimer(Unknown Source)
  | at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:256)
  | at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:171)
  | at 
org.jboss.ejb.StatelessSessionEnterpriseContext$TimerServiceWrapper.createTimer(StatelessSessionEnterpriseContext.java:280)
  | at 
com.kbtflawt.server.ejb.DirectoryPoller.ejbTimeout(DirectoryPoller.java:247)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
  | at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
  | at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
  | at org.jboss.ejb.Container.invoke(Container.java:960)
  | at 
org.jboss.ejb.txtimer.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:99)
  | at 
org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | Caused by: org.jboss.util.NestedSQLException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction:
  |  -3f57fffe:884:47fdecfb:3566 status: ActionStatus.ABORT_ONLY ); - nested 
throwable: (org.jboss.resource.JBossResourceException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
  |  enlist resource, 

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.Beta released

2008-04-10 Thread [EMAIL PROTECTED]
baz - I should just stop trying to use fancy features of the wiki syntax.

I updated the post to be more simple, uglier but now with working links.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Unable to run the war file deployed in All mode of server

2008-04-10 Thread praveenas
 Hi.,  As I am running the portal war file and it require the clustering 
support, I want to run the jboss in all mode in jboss-4.2.2.GA version. But I 
was unable to do that, when, I ve run the same war file my making necessary 
changes related to path, in the configuration files, I could run that when 
deployed in default mode. 

I ve run with the command, ./run.sh  -b 10.20.220.15


Please let me know where I might have gone wrong with. 

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

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


[jboss-user] [JBoss Portal] - Integrate an external jbpm to jbpm portal

2008-04-10 Thread ice_casa
we had developed a a workflow with jbpm, and we like to migrate it to jbpm 
jbpotrtal.
how can i produce to do it?
thx's a lot


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

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


[jboss-user] [JBoss Tools (users)] - JBoss Tools 2.1.0.Beta released

2008-04-10 Thread [EMAIL PROTECTED]
JBossTools 2.1.0.Beta has been released.

Important: Use Eclipse Europe Winter / WTP 2.0.1 around deployment. We will 
have that fixed or worked around for 2.1.GA.

The links:
Update site

Download

Blog with more details




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

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


[jboss-user] [JBoss jBPM] - process log

2008-04-10 Thread kiazza

I have a problem with process logs.
I need a list of all transitions and state name of my process; i try with 
LoggingInstance but it doesn't work (or I don't know how to make them work!).

Thanks.

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

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


[jboss-user] [JBossWS] - WebService client problem (JBoss 4.0.5 + jbossws-2.0.3): JBo

2008-04-10 Thread gekis
Hello.
I've next AS configuration: JBoss 4.0.5.GA + jbossws-native-2.0.3.GA 
(deploy-jboss405-no-ejb3)
During startup JBoss loads war and in my code there is a web service call (by 
JAX-WS):

  Service.create(new URL(wsdlLocation), new QName(namespaceURI, serviceName));

In 90% of cases I have next exception:

[EMAIL PROTECTED] threw 'org.jboss.ws.metadata.wsdl.WSDLException' exception.

javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: 
Problem instantiating factory implementation.: 
java.lang.ClassNotFoundException: org.jboss.ws.tools.wsdl.JBossWSDLFactoryImpl

detailMessage = [EMAIL PROTECTED]Problem instantiating factory implementation.
cause = [EMAIL PROTECTED]java.lang.ClassNotFoundException: 
org.jboss.ws.tools.wsdl.JBossWSDLFactoryImpl

JBossWSDLFactoryImpl located at \deploy\jbossws.sar\jbossws-core.jar, in the 
same place as WSDLDefinitionsFactory, where from the exception was thrown:

stackTrace = [EMAIL PROTECTED]
[0] = [EMAIL 
PROTECTED]org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
[1] = [EMAIL 
PROTECTED]org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
[2] = [EMAIL 
PROTECTED]org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:86)
[3] = [EMAIL 
PROTECTED]org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:133)
[4] = [EMAIL 
PROTECTED]org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:63)
[5] = [EMAIL PROTECTED]javax.xml.ws.Service.(Service.java:82)
[6] = [EMAIL 
PROTECTED]com.enkata.lombardibridge.LoginRegistrationBrigde$LoginRegistrationWSClient.(LoginRegistrationBrigde.java:124)
[7] = [EMAIL 
PROTECTED]com.enkata.lombardibridge.LoginRegistrationBrigde.initialize(LoginRegistrationBrigde.java:56)
[8] = [EMAIL 
PROTECTED]com.enkata.lombardibridge.EnkataLoginModule.initialize(EnkataLoginModule.java:44)
[9] = [EMAIL PROTECTED]sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
[10] = [EMAIL 
PROTECTED]sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[11] = [EMAIL 
PROTECTED]sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[12] = [EMAIL PROTECTED]java.lang.reflect.Method.invoke(Method.java:585)
[13] = [EMAIL 
PROTECTED]javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
[14] = [EMAIL 
PROTECTED]javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
[15] = [EMAIL 
PROTECTED]javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
[16] = [EMAIL PROTECTED]java.security.AccessController.doPrivileged(Native 
Method)
[17] = [EMAIL 
PROTECTED]javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
[18] = [EMAIL 
PROTECTED]javax.security.auth.login.LoginContext.login(LoginContext.java:579)
[19] = [EMAIL 
PROTECTED]org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
[20] = [EMAIL 
PROTECTED]org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
[21] = [EMAIL 
PROTECTED]org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
[22] = [EMAIL 
PROTECTED]org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
[23] = [EMAIL 
PROTECTED]org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
[24] = [EMAIL 
PROTECTED]org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
[25] = [EMAIL 
PROTECTED]org.jboss.ejb.plugins.CleanShutdownInterceptor.invokeHome(CleanShutdownInterceptor.java:212)
[26] = [EMAIL 
PROTECTED]org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
[27] = [EMAIL 
PROTECTED]org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
[28] = [EMAIL PROTECTED]org.jboss.ejb.Container.invoke(Container.java:975)
[29] = [EMAIL PROTECTED]sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
[30] = [EMAIL 
PROTECTED]sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[31] = [EMAIL 
PROTECTED]sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[32] = [EMAIL PROTECTED]java.lang.reflect.Method.invoke(Method.java:585)
[33] = [EMAIL 
PROTECTED]org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
[34] = [EMAIL 
PROTECTED]org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
[35] = [EMAIL 
PROTECTED]org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
[36] = [EMAIL 
PROTECTED]org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
[37] = [EMAIL 
PROTECTED]org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
[38] = [EMAIL 
PROTECTED]org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
[39] = [EMAIL 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Transfer-encoding chunked

2008-04-10 Thread gbuys
Little mistake in the above post:

'cxf-servlet.xml in WEB-INF' should be:
'cxf.xml' in classpath

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

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


[jboss-user] [JBoss Portal] - Problem when deploying portlet

2008-04-10 Thread skeletonkey
I'm deploying a Spring portlet mvc with Jboss Portal. My portlet is 
preventions. However, while deploying, it has an error:16:22:06,218 WARN  
[PortletAppDeployment] Failed to create instance PreventionsInstance of portlet 
/PreventionPortlet.preven
tions because portlet /PreventionPortlet.preventions is not available.
Can anyone tell me what's wrong?
I think maybe my configuration has some problems.

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

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


[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment

2008-04-10 Thread maralcbr
Brian,

It worked fine now.

Thank you very much for the help.

I want to get more knowledge on the JBoss AOP configurations. Should I search 
the JBoss AOP project for that? I could not find much lately.

Marcelo

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

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


[jboss-user] [Clustering/JBoss] - DefaultQuartzScheduler_$_NON_CLUSTERED

2008-04-10 Thread maralcbr
Hi,

I have two nodes of JBoss 4.2.2 in a cluster.

When it loads, I receive the following message:

2008-04-09 17:20:00,878 INFO  [org.quartz.core.QuartzScheduler] Scheduler 
DefaultQuartzScheduler_$_NON_CLUSTERED started.

My doubt is why it is giving the NON_CLUSTERED message. I have a scheduler 
service in the deploy-hasingleton folder.

There is a configuration for the JBoss scheduler to enable it to be Clustered?

Any light on this?

Thanks in advance for any help.

Marcelo

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not enlist in transaction on entering meta-aware o

2008-04-10 Thread jaikiran
anonymous wrote : 11:34:26,468 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.dis
  | allow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple last resources is disallowed.

See this http://wiki.jboss.org/wiki/Multiple1PC

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-10 Thread bodrin
Ok, this sounds logical, but the problem is that there is nothing killed and no 
connection is lost. Except if someone else tries to consume messages from my 
queue, but always rejects them and then I receive them. 
Because I always receive the message I sent, but once it is immediate and other 
time is with a delay.

Is there a way to track which client is with

  | client 4sg1e4f-7tkxjl-feskzgma-1-feskzh69-d, 
jmsClientID=a-8tgzksef-1-amgzksef-ljxkt7-f4e1gs4
  | 

.. to extract this info somehow from the connection object or some jboss 
specific way at the client side ?

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-10 Thread bodrin
If I send 10 messages for example they are always received immediately.
But when I send one message - the delay/not delay behaviour described.

Now I have checked the tcp connections. My consumer has established the 
following connections to the JBoss:

  | java.exe:2712   TCP bobrin:3835510.58.100.162:2412  
ESTABLISHED 
  | java.exe:2712   TCP bobrin:3835710.58.100.162:2412  
ESTABLISHED 
  | java.exe:2712   TCP bobrin:3835810.58.100.162:2412  
ESTABLISHED 
  | 
  | java.exe:2712   TCP bobrin:3835410.58.100.162:4557  
ESTABLISHED 
  | java.exe:2712   TCP bobrin:3835610.58.100.162:4557  
ESTABLISHED 
  | 
...and this one:

  | java.exe:2712   TCP bobrin:3843810.58.100.162:1201  
ESTABLISHED 
  | 
It (:1201) appears just when the consumer succeeds to receive the message, and 
then disapears again:

  | [System Process]:0  TCP bobrin:3843810.58.100.162:1201  
TIME_WAIT   
  | 

Note that I'm running in cluster with two nodes, one of them is started only.

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

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


[jboss-user] [Clustering/JBoss] - Re: JBOSS 4.0.4.GA clustering in Linux

2008-04-10 Thread erasmomarciano
You send me the  run.sh?







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

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


[jboss-user] [JBoss Messaging] - Re: JBM clustered connection factory and load balancing

2008-04-10 Thread jmesnil
Meyers79 wrote : We have been struggling with this for some time and I am 
hoping that someone can help shed some light. 
  | 
  | ...
  | 
  | Currently using the clustered connection factory (load balancing set true) 
to get a connection and post messages to the messaging nodes, we were expecting 
to see the messages sent to the queue from the UI nodes to be evenly 
distributed across both JBM nodes in a round robin fashion. 
  | 

The load balancing is not a true round robin: the local node is always favored 
if it can consume messages.
This avoids unnecessary network hops to send the message to another node if it 
can be consumed locally:

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

hope it helps,
jeff

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

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


[jboss-user] [Beginners Corner] - Re: Another war file deployment error :)

2008-04-10 Thread leonidMir
Please someone :(

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Referenced datasource not found with JBoss 5.0 (Beta4)

2008-04-10 Thread depryf
Here is the full stack trace. This happens after the EJB deployment (which is 
fine), then Tomcat deploys the WAR and our Servlet entry point is being 
executed; it tries to access our database (Oralce) and the exception happens:


  | javax.ejb.EJBException: 
com.imsweb.seerdms.shared.exception.SeerInvalidStateException: Unable to get 
connection.
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:193)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:64)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:166)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:249)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:86)
  | at $Proxy109.getDbColumnInfo(Unknown Source)
  | at 
com.imsweb.seerdms.shared.util.PropertyMappingsUtils.initialize(PropertyMappingsUtils.java:139)
  | at 
com.imsweb.seerdms.shared.util.PropertyMappingsUtils.initialize(PropertyMappingsUtils.java:111)
  | at 
com.imsweb.seerdms.web.shared.configuration.ConfigurationServlet.init(ConfigurationServlet.java:158)
  | at javax.servlet.GenericServlet.init(GenericServlet.java:212)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4072)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5357)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:347)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Transfer-encoding chunked

2008-04-10 Thread gbuys
OK, using wildcard 

*.http-conduit 

as the conduit name did the trick.  

I still don't see why the specified name doesn't work though... 

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

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


[jboss-user] [Beginners Corner] - Re: Another war file deployment error :)

2008-04-10 Thread jaikiran
I dont see any obvious reason why it should fail with the same error after 
adding the import statement. Can you try this - rename the jsp to say xyz.jsp 
and try accessing it. See if it works. Lets just try to eliminate the 
possibility that a different(old) copy of quote.jsp is being picked up.


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

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


[jboss-user] [JBoss Portal] - Changing portlet preferences per portlet instance

2008-04-10 Thread erezharari
hi,
in the admin application one can see portlet instance preferences, but not 
chnage them.
in portlet-instances.xml a different set of preferences can be defined for each 
instance.
however, changing that file only applys to new instances, not ones that have 
already been deployed..
so, how can i change the preferences of a portlet instance during the 
development phase? is there a way to force 'override' behavior on portlet 
instance preferences ? (I'm using jboss portal 2.6.4-GA)

erez

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

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


[jboss-user] [Security JAAS/JBoss] - Migration from tomcat 6.0.14 to JBoss 4.2.2

2008-04-10 Thread manoz82
Hi All 

In my company we are currently developing a web application using apache tomcat 
6.0.14 web server. 

We are considering a migration to JBoss AS 4.2.2.

We have a user database and a security realm defined in 
application.war/META-INF/context.xml :


  | Realm  className=org.apache.catalina.realm.DataSourceRealm debug=99
  |   dataSourceName=jdbc/dbserver
  |   localDataSource=true
  |   userTable=user
  |   digest=SHA-512
  |   userNameCol=user_name
  |   userCredCol=password
  |   userRoleTable=user_role
  |   roleNameCol=role/
  | 

Is there a way to use this configuration on JBoss ?

I have already read that the context.xml should be placed in the WEB-INF folder 
instead, but that doesn't seem to help

when I try logging in I get the following exception:


  | 
  | Exception performing authentication
  | javax.naming.NamingException: No naming context bound to this class loader
  | at 
org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java:326)
  | at 
org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:395)
  | at 
org.apache.catalina.realm.DataSourceRealm.authenticate(DataSourceRealm.java:283)
  | at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
  | at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Unknown Source)
  | 
  | 

Any ideas?

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

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


[jboss-user] [JBoss Portal] - Re: Can portlet eindow properties be accessed from the stand

2008-04-10 Thread erezharari
how can i access it from within my portlet?

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-10 Thread [EMAIL PROTECTED]
bodrin wrote : Ok, this sounds logical, but the problem is that there is 
nothing killed and no connection is lost. Except if someone else tries to 
consume messages from my queue, but always rejects them and then I receive 
them. 
  | Because I always receive the message I sent, but once it is immediate and 
other time is with a delay.
  | 
  | Is there a way to track which client is with
  | 
  |   | client 4sg1e4f-7tkxjl-feskzgma-1-feskzh69-d, 
jmsClientID=a-8tgzksef-1-amgzksef-ljxkt7-f4e1gs4
  |   | 
  | 
  | .. to extract this info somehow from the connection object or some jboss 
specific way at the client side ?

The first part is org.jboss.jms.client.container.JMSClientVMIdentifier.instance


The second part, inside the JBossConnection, you will find a 
JBossRemote.Client. That ID will be one of the IDs inside Remote. (The invoker 
inside the remote object).

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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-10 Thread [EMAIL PROTECTED]
Do you have a testcase?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread redbird
Thanks.  Unfortunately I can't get that to work.  I've tried that, using the 
deploy only server and runtime, but when I try and deploy it, nothing happens.  
Nothing gets copied over.  The project seems to build fine.  Just doesn't get 
copied.

I'm sure it's something simple I'm overlooking.  I'll try and describe what I'm 
doing.  I created a new Seam Web Project, which created 4 separate project 
folders.  One folder is the main folder, then the ear, ejb, and test folder.  
Under the main folder, I right-clicked and opened Properties.  I then selected 
the deploy only server and deploy only runtime.  The deploy only server was 
created to point to the deployment directory of my local jboss installation.

I then did a Run as/Run on Server on the main project.  But nothing gets 
copied over.  I checked the deployment directory on the local disk, and nothing 
new is there.  I've double-checked the directory to make sure it is actually 
the deployment directory.

I know it's something silly, but I just can't seem to see what it is.  Any help 
would be appreciated.  Thanks.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalArgumentException( argument type mismatch) when u

2008-04-10 Thread peter_zat
After poking at this a bit more, I think I sort of understand what was going on 
(though I don't really know why) and have a resolution which I am mostly 
confident in (but some reassurance would be nice!)

It appears to be a problem with the way Hibernate uses the JBoss cache.  
Hibernate is storing a CacheEntry in the clustered JBoss TreeCache for each 
entity instance.  This CacheEntry seems to store an array of property values, 
the order of which is determined by some metadata, presumably gathered by 
introspection of the entity's class.  When pulling data out of the cache, it 
again uses this metadata to put those values back into the correct entity 
properties.

The assumption seems to be that in two different JVMs this metadata about the 
entity is constructed identically; i.e. the properties are listed in the same 
order.  If the second JVM for some reason has the properties in a different 
order, then when reconstructing an entity from a CacheEntry, it tries to stuff 
values into the wrong properties.

I turned on the hibernate.cache.use_structured_entries setting and now instead 
of a CacheEntry that uses an array with an assumed order, it uses a 
StructuredCacheEntry (I think) which seems to use Map semantics (i.e. 
key=value) and now my 2nd JVM gets the values in their correct properties.

Does anyone with deeper understanding of Hibernate and/or JBoss cache have any 
thoughts on this?  Is this is a good workaround?

I think this may be a bug in Hibernate and I'll go file an issue in their Jira.

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

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


[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment

2008-04-10 Thread [EMAIL PROTECTED]
Yes, I'd look at AOP and probably EJB3 as well.  I'm not too familiar with the 
aop-related docs, so can't give any specific advice.

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

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


[jboss-user] [Clustering/JBoss] - Re: topic not bound in HAJMS

2008-04-10 Thread [EMAIL PROTECTED]
According to the the JIRA, EJBTHREE-975 is fixed in AS 4.2.2.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread redbird
I'm really having problems getting this basic application to work.  I think I 
kinda got it to copy over.  I think.  What I did was just changed something in 
the application and saved it then rebuilt.  That copied the files over 
(although I would prefer that it let me do it manually).

However, now I get a server error:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found

I looked at was copied over, and it is a folder MyProject-ear.ear.  I looked in 
the folder and there is another folder, MyProject-ejb.jar.  And under that 
folder is the directory structure of the class I modified to get it to rebuild 
and copied over.  There is nothing else in the folder.  So something obviously 
is not being built correctly.

Other than creating a bunch of new servers and runtimes (which I still don't 
know how to delete), I pretty  much just took the new Seam Project as-is, and 
didn't change anything, other than adding 2 Java classes to it.  But the build 
and copy obviously isn't working.  Any ideas?  Thanks.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: UDP Front-End for JBoss?

2008-04-10 Thread notarysojac
Hi erasmomarciano,

Thanks for your reply. Having read the line Apache/Tomcat is the default 
web-container someplace, I was wondering what OTHER web-containers might be 
available - and if there WERE other web-containers - might not one or more of 
them support other protocols than HTTP on TCP.  

I appreciate your taking the time to answer my question.  It's my guess that 
there may not, if fact, be such an opportunity to support UDP into JBoss - but 
I thought I'd ask.  

Best Regards, 

Lance Drake

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

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


[jboss-user] [JBoss jBPM] - Error in Process Definition Deployment.

2008-04-10 Thread nassij
Hi,

I tried to deploy my process definition, but i received this error :
anonymous wrote : 
  | org.jbpm.JbpmException: couldn't find process definition 
'ValidationFicheIncident'
  | 
Cause:
anonymous wrote :  
  | org.hibernate.MappingException: Named query not known: 
GraphSession.findLatestProcessDefinitionQuery
  | 
Do we have to make specific change in database configuration.
Could anyone help me in sorting out the problem
Below is the code which i tried.

Thanks in advance. 
public static void deployProcess(String path, JbpmContext jbpmCtx){
  | FileInputStream fis = null;
  | try {
  | fis = new FileInputStream(path);
  | if (fis != null)
  | System.out.println(Fichier de 
process trouvé !!);
  | 
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(fis);
  | try {
  | 
jbpmCtx.deployProcessDefinition(processDefinition);
  | } catch (Exception e2) {
  | e2.printStackTrace();
  | } finally {
  | jbpmCtx.close();
  | }
  | } catch (FileNotFoundException e1) {
  | System.out
  | .println( Aucune Trace du 
Fichier de process !!);
  | e1.printStackTrace();
  | }   
  | }

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

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread [EMAIL PROTECTED]
hmmmseems you struck a bug in the deploy only server.

Which version are you using exactly ?

If you don't want automatic publishing go to the server, double click it and 
toggle the automatic publishing button.



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

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


[jboss-user] [JBoss jBPM] - Error in Process Definition Deployment.

2008-04-10 Thread nassij
Hi,

I tried to deploy my process definition, but i received this error :
anonymous wrote : 
  | org.jbpm.JbpmException: couldn't find process definition 
'ValidationFicheIncident'
  | 
Cause:
anonymous wrote :  
  | org.hibernate.MappingException: Named query not known: 
GraphSession.findLatestProcessDefinitionQuery
  | 
Do we have to make specific change in database configuration.
Could anyone help me in sorting out the problem
Below is the code which i tried.

Thanks in advance. 
public static void deployProcess(String path, JbpmContext jbpmCtx){
FileInputStream fis = null;
try {
fis = new FileInputStream(path);
if (fis != null)
System.out.println(Fichier de 
process trouvé !!);

ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(fis);
try {

jbpmCtx.deployProcessDefinition(processDefinition);
} catch (Exception e2) {
e2.printStackTrace();
} finally {
jbpmCtx.close();
}
} catch (FileNotFoundException e1) {
System.out
.println( Aucune Trace du 
Fichier de process !!);
e1.printStackTrace();
}   
}

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

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread redbird
I am using JBoss Tools 2.0.1 and Eclipse 3.3.2 (J2EE version) and Seam 2.0.1.  
Is this what you are asking?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-04-10 Thread chrisodom
Rob I was not able to apply your fix...reopened the issue with comments.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread [EMAIL PROTECTED]
Yes.

Could you please try with Eclipse 3.3.1 J2EE version since we know there is a 
deployment bug in Eclipse 3.3.2 that affects us...but not sure if that is what 
hits you.

And in any case please file a jira for this one if it still fails on 3.3.1

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: installing and running jboss on linux -- 4957 Bus error

2008-04-10 Thread PeterJ
Based on this output:

 JAVA: java

you do not have JAVA_HOME set. If it was set as you indicate, then the line 
would read:

 JAVA: /opt/java/jdk1.6.0_04/java

Most likely, the .bashrc file for root is not picking up the /etc/profile. You 
are possibly picking up the jvm that comes with Debian, and not the Sun JVM.  
That jvm is not qualified to run JBossAS. To be sure, while signed in as root, 
run:

java -version

That will tell you what it running.

I would not worry about the missing file error. That error message is a 
hold-over from ages past (couple of years ago) when the JDK was required to 
compile JSPs. More recent versions of Tomcat include everything necessary to 
compile JSPs. I have run JBossAS 4.2.x and 5.0 with just a JRE.

And I agree with FrankTheTank, you really should not run JBossAS as root - you 
will open up your system to all kinds of security issues.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM migration from 3.1.4 to 3.2

2008-04-10 Thread digamber
Where can i find a guide for JBPM migration / up gradation


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unable to run the war file deployed in

2008-04-10 Thread PeterJ
When you say anonymous wrote : I want to run the jboss in all mode in 
jboss-4.2.2.GA. do you meant that you  ran as follows:

./run.sh -c all -b 10.20.220.15

(I ask because the run command you posted runs the 'default' configuration, not 
the 'all configuration.)

If your post is incorrect, and you really did run with the -c all option, 
what error were you seeing? Without the errors, it is impossible to say what is 
wrong. 

Also, you mention a portal war file. Is this JBoss Portal?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-04-10 Thread chrisodom
Rob sorry about the confusion I updated the jira bug to closed with some 
comments for others who do not have a clean install on how to really get the 
nightly builds to work correctly.

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

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


[jboss-user] [JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS

2008-04-10 Thread PeterJ
Compare my href to your href. What is the difference?

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

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


[jboss-user] [JBoss Portal] - Re: Problem when deploying portlet

2008-04-10 Thread PeterJ
Because you did not post your portlet-instances.xml file and portlet.xml file, 
I can only guess, but I would say that in portlet-instances.xml you have:

instance
  |instance-idPreventionsInstance/instance-id
  |portlet-refPreventionPortlet.preventions/portlet-ref
  | /instance

while in portal.xml you have:

portlet-namePreventionPortlet/portlet-name

You should have instead:

instance
  |instance-idPreventionsInstance/instance-id
  |portlet-refPreventionPortlet/portlet-ref
  | /instance


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Referenced datasource not found with JBoss 5.0 (Beta4)

2008-04-10 Thread jaikiran
Is it a case of your init servlet being invoked even before the ENC is 
initialized (or maybe even before the datasource deployed). I have seen posts 
about JBoss-5 has issues related to deployment and deployment ordering. Do the 
logs show that the datasource is bound before the servlet is called? Can you 
post that part of the logs?


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

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


[jboss-user] [JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS

2008-04-10 Thread shankarkhanna
I only gave the href like this : TestPortal/mypage but when i create the file 
using create button in WYSIWYG Editor, it automatically changes it to 
/portal/content/TestPortal/page2.htm



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: WAR file produces commons-logging LogConfigurationExcept

2008-04-10 Thread jaikiran
anonymous wrote : When I start the 4.2.1. server

Peter,

Starting JBoss-4.2.x its become easier to deploy your own version of log4j as 
part of your application packaging. Follow these thread for details 

http://www.jboss.com/index.html?module=bbop=viewtopicp=4125223

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

As far as including the commons-logging jar in your application is concerned, i 
havent given it a try, but i guess with the classloader scoping enabled (as 
mentioned in those 2 threads), it should not cause any problems.

Let us know how it goes. If you still see issues, please post back with the 
details.


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

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


[jboss-user] [JBoss Messaging] - Re: Message delivery delay 30 sec sometimes

2008-04-10 Thread [EMAIL PROTECTED]
Are you sure you don't have any firewall dropping connections or anything like 
that? I believe I have seen another situation like that.

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

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


[jboss-user] [JBoss jBPM] - Re: BPEL2 examples?

2008-04-10 Thread conoroneill
I have just found some older posts which explain that the BPEL 2 examples are 
not correct, but that newer example code is available.

Look here:
http://www.jboss.com/index.html?module=bbop=viewtopict=128592

and here:
http://www.jboss.com/index.html?module=bbop=viewtopict=130891

I haven't actually done this yet, but this might aid others who are hitting the 
same problem.

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

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


[jboss-user] [EJB 3.0] - Cyclic dependencies and class-level @EJB

2008-04-10 Thread gcoleman
I've got lots of cyclic dependencies between SLSBs which are apparently not 
allowed with EJB3 beans on JBoss. Tracking down the exact dependencies that 
JBoss doesn't like takes a long time, but adding @IgnoreDependency around the 
place has fixed most of them.

The problem is that I've got some cyclic dependencies caused by class-level 
@EJB annotations for beans that are looked up dynamically at runtime. Is there 
a way to ignore these?

p.s. None of this is required on Glassfish and Weblogic, or for EJB2 beans on 
JBoss. It'd be great if this could be fixed!

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

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


[jboss-user] [JBoss Portal] - Re: Can portlet eindow properties be accessed from the stand

2008-04-10 Thread [EMAIL PROTECTED]
you can use jboss portal public api to do that 
http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/portalapi.html#d0e5126

for getting the current node (window node) you need for now to cast the request 
into JBossPortletRequest and do:


  | PortalNode thisNode = req.getPortalNode();
  | 

I hope to provide a better way to access the current portal node in the future, 
probably using a request attribute or a thread local based mechanism.

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

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


[jboss-user] [JBoss Portal] - Re: Integrate an external jbpm to jbpm portal

2008-04-10 Thread [EMAIL PROTECTED]
what is the use case ?

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

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


[jboss-user] [JBoss Portal] - Re: special properties names documentation

2008-04-10 Thread [EMAIL PROTECTED]
the ajax properties are explained here:

http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/ajax.html

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

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


[jboss-user] [JBoss Portal] - Re: Changing portlet preferences per portlet instance

2008-04-10 Thread [EMAIL PROTECTED]
It is possible you need to go in the Portlet Instances tab and if a portlet 
declares preferences it has a preferences action.

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

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


[jboss-user] [JNDI/Naming/Network] - RMI-Client gets wrong (internal) IP

2008-04-10 Thread oerks
Hi,

we are trying to connect a JMS Client with jboss4.2.2 via a router.
But the client tries to connect to the internal IP, not the global.

We tried the JVM-args  -Djava.rmi.server.hostname=GLOBALEIP
and -Djava.rmi.server.useLocalHostname=false or true  (?) ... with no luck :-(

 javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 10.128.0.48; nested 
exception is: 
  | java.net.ConnectException: Connection timed out]
  | ...
  | 

The 10.128.0.48 is the internal-IP, not the global one, the client can see.

any hints appreciated

--dirk

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

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


[jboss-user] [JBoss Portal] - Re: How to inject an object to the portlet scope?

2008-04-10 Thread [EMAIL PROTECTED]
in JBoss Portal 2.7 you will be able to use portlet filters defined by JSR 286 
to achieve that result.

Meanwhile a way that may work is to use a servlet filter in your application 
and configure it using dispatcher tag such as:

filter-mapping
  |filter-nameMyFilter/filter-name
  |url-pattern/jbossportlet/url-pattern
  |dispatcherINCLUDE/dispatcher
  | /filter-mapping

I think this should work but I have not tested it. The /jbossportlet url 
pattern is the special servlet injected at runtime in the portlet application 
to make the portlet container dispatch in the war file containing your portlets.




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

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


[jboss-user] [JBoss Portal] - Re: Integrate an external jbpm to jbpm portal

2008-04-10 Thread ice_casa
is't an application web based jbpm how implemented 2 process definition there 
was a specific developpement 

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

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


[jboss-user] [JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS

2008-04-10 Thread PeterJ
There is a bug in the CMS content editor.

I loaded my CMS content via a zip file - I had edited all of it externally. I 
created a new portal and page, like you did, and added a cms window to that 
page, pointing the cms window to by index.html file. I went to that portal 
page, saw my content, clicked on a link, and the new content showed, just like 
I expected.  By the way, I looked at the URL for the link and saw this:

http://localhost:8080/portal/auth/portal/portala/page1/cms1?action=2uri=%2Fxxx%2Ftwo.html

Then I edited index.html, making a copy of the link to two.html. And now 
neither link works! When I click on the link, I am show the default page of the 
default portal, with the JBoss Portal welcome text CMS content being replaced 
by the contents of two.html.  I checked the URL for the link and it is now:

http://localhost:8080/portal/content/book/two.html

So my recommendation is to create your CMS content externally and load it into 
CMS, and avoid the editor!

Julien, Thomas, Prabhat, is this a know problem? If not, I'll open a JIRA.


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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: UDP Front-End for JBoss?

2008-04-10 Thread PeterJ
As far as I know, there is no reason why you could not write your own service 
for JBossAS that opens a UDP port and does what you are asking for. The catch 
is that you have to either handle the UDP protocol yourself or find a library 
that will do it for you.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: UDP Front-End for JBoss?

2008-04-10 Thread notarysojac
Hi Peter - 

Exactly... all things are possible - I was hoping to NOT have to write network 
comm code that would then have to be debugged - the reality is that it's not as 
easy as one might hope in order to cover all the contingencies.  

There's so MUCH to JBoss that I thought maybe I had just not gone into the 
correct nook or cranny to fetch something which already existed.  

The fellow pushing for this UDP connection may be trying to solve a problem 
that really isn't there - but I'm trying to help investigate the possibilities 
- it looks like fulfillment of this requirement may be in the 'one-off' 
category.  

Thanks for your input.  

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

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


[jboss-user] [Remoting] - Re: No jboss-remoting.jar in 2.2.2SP_4 and 2.2.2SP_7

2008-04-10 Thread tlainevool
Thanks Ron, that helps.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: MDBs not processing Queue

2008-04-10 Thread seoeng
Is there a way to define each node's settings?  It seems like the settings are 
being treated as across the entire cluster (i.e. 5 max messages at any time 
across all nodes, rather than 5 max on each node).

I want to be able to scale certain nodes up or down and not have the same 
settings.

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

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


[jboss-user] [JBoss Portal] - JBoss Portlet Bridge Beta2 Released

2008-04-10 Thread wesleyhales
Beta2 is here. Thanks to all who contributed. 

Supporting Blog: 
http://blog.jboss-portal.org/2008/04/jboss-portlet-bridge-beta2-released.html

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

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


[jboss-user] [JBoss Cache: Core Edition] - Cache Loader Persistence

2008-04-10 Thread kringdahl
I'm seeing various topics in the forum that talk about this issue, but I'm not 
getting a clear picture on what the root cause might be.  Anyway, we're seeing 
an issue where the in-memory state of a node is getting updated, but this does 
not appear to take effect in the JDBC data source we're using.  So, the 
application runs, modifications are made to the nodes, and data is accurate.  
Upon restart and preloading of the cache from the cache loader, the changes 
previously made are not reflected.  Here is my cache config file.  Any thoughts 
on what might cause this problem?




  | ?xml version=1.0 encoding=UTF-8?
  | 
  | !-- = 
--
  | !--   
--
  | !--  Sample TreeCache Service Configuration   
--
  | !--   
--
  | !-- = 
--
  | 
  | server
  | 
  |!-- 
 --
  |!-- Defines TreeCache configuration 
 --
  |!-- 
 --
  | 
  |mbean code=org.jboss.cache.jmx.CacheJmxWrapper
  |   name=jboss.cache:service=TreeCache
  | 
  |   dependsjboss:service=Naming/depends
  |   dependsjboss:service=TransactionManager/depends
  | 
  |   !--
  |   Configure the TransactionManager
  |   --
  |   attribute 
name=TransactionManagerLookupClassorg.jboss.cache.transaction.GenericTransactionManagerLookup
  |   /attribute
  | 
  |   !--
  |   Isolation level : SERIALIZABLE
  | REPEATABLE_READ (default)
  | READ_COMMITTED
  | READ_UNCOMMITTED
  | NONE
  |   --
  |   attribute name=IsolationLevelREAD_UNCOMMITTED/attribute
  | 
  |   !--
  |Valid modes are LOCAL
  |REPL_ASYNC
  |REPL_SYNC
  |INVALIDATION_ASYNC
  |INVALIDATION_SYNC
  |   --
  |   attribute name=CacheModeREPL_SYNC/attribute
  | 
  |   !--
  |   Just used for async repl: use a replication queue
  |   --
  |   attribute name=UseReplQueuefalse/attribute
  | 
  |   !--
  |   Replication interval for replication queue (in ms)
  |   --
  |   attribute name=ReplQueueInterval0/attribute
  | 
  |   !--
  |   Max number of elements which trigger replication
  |   --
  |   attribute name=ReplQueueMaxElements0/attribute
  | 
  |   !-- Name of cluster. Needs to be the same for all TreeCache nodes in 
a
  |cluster in order to find each other.  Needs to be different in 
order to maintain
  |separate caches
  |   --
  |   attribute name=ClusterNamedtFabricCache/attribute
  | 
  |   !--Uncomment next three statements to enable JGroups multiplexer.
  | This configuration is dependent on the JGroups multiplexer being
  | registered in an MBean server such as JBossAS.  --
  |   !--
  |   dependsjgroups.mux:name=Multiplexer/depends
  |   attribute 
name=MultiplexerServicejgroups.mux:name=Multiplexer/attribute
  |   attribute name=MultiplexerStackfc-fast-minimalthreads/attribute
  |   --
  | 
  |   !-- JGroups protocol stack properties.
  |  ClusterConfig isn't used if the multiplexer is enabled and 
successfully initialized.
  |   --
  |   attribute name=ClusterConfig
  |  config
  | UDP mcast_addr=228.10.10.10
  |  mcast_port=45588
  |  tos=8
  |  ucast_recv_buf_size=2000
  |  ucast_send_buf_size=64
  |  mcast_recv_buf_size=2500
  |  mcast_send_buf_size=64
  |  loopback=false
  |  discard_incompatible_packets=true
  |  max_bundle_size=64000
  |  max_bundle_timeout=30
  |  use_incoming_packet_handler=true
  |  ip_ttl=2
  |  enable_bundling=false
  |  enable_diagnostics=true
  | 
  |  use_concurrent_stack=true
  | 
  |  thread_naming_pattern=pl
  | 
  |  thread_pool.enabled=true
  |  thread_pool.min_threads=1
  |  thread_pool.max_threads=25
  |  thread_pool.keep_alive_time=3
  |  thread_pool.queue_enabled=true
  |  thread_pool.queue_max_size=10
  |  thread_pool.rejection_policy=Run
  | 
  |  oob_thread_pool.enabled=true
  |  

[jboss-user] [JBoss Tools (users)] - Re: Deploying Seam (Servers and Runtimes)

2008-04-10 Thread redbird
Just to see what happens, I deleted the old project and started over (again in 
3.3.2).  This time more of the project was deployed when initially created (it 
did it automatically).  But there are still things missing.  I get the 
following error.

12:25:32,406 ERROR [MainDeployer] Could not initialise deployment: 
file:/C:/Documents and Settings/Pat/My 
Documents/jboss-4.2.0.GA/server/default/deploy/MyTest-ear.ear/org.jboss.deployment.DeploymentException:
 url file:/C:/Documents and Settings/Pat/My 
Documents/jboss-4.2.0.GA/server/default/deploy/MyTest-ear
.ear/MyTest-ejb.jar could not be opened, does it exist?

So it looks like on initial deployment, it doesn't copy over the jar file.  If 
I change a file and rebuild, nothing gets copied over at all.  If I manually 
delete everything from the JBoss server, then I get the behavior I got before.  
Only the file I changed gets copied over, not the whole project.

I am going to try it on 3.3.1 next.

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

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


[jboss-user] [JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS

2008-04-10 Thread [EMAIL PROTECTED]
Peter-

Go ahead and create a JIRA so that I can look into this is more detail.

p.s. don't forget to reference this forum thread on the JIRA task

Thanks

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

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


[jboss-user] [Security JAAS/JBoss] - Trust relationship between JBoss servers

2008-04-10 Thread mohammadk
In WebLogic you can enable a trust relationship between two servers in 
different domains so that principals in a Subject from one WebLogic Server 
domain are accepted as principals in another domain. When this feature is 
enabled, identity is passed between WebLogic Server domains over an RMI 
connection without requiring authentication in the second domain (for example: 
login to Domain 1 as Joe, make an RMI call to Domain 2 and Joe is still 
authenticated).

Does anyone know if something like this is available in JBoss?

-Thanks

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

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


[jboss-user] [JBoss Cache: Core Edition] - Help configuring invalidation to work for me

2008-04-10 Thread smitchelus
Hi, I am trying to get JBoss Cache to work in a very specific way that I have 
used with another caching product in the past, but I've run into a road block 
that I just can't seem to get past. 

The setup I'd like to have is one where I have several JVM's (A, B, and C let's 
say) in contact with each other. Each essentially has his own independent 
cache, but when one of the items in the cache gets updated in the database we 
would send an eviction notice to all members of the cluster so that they would 
purge that item out of their local cache and re-read it from the database the 
next time it is requested.

I initially thought that the invalidation_async mode was what I needed. 
However, it turns out that an evict notification goes out to the other nodes as 
soon as one node puts the item into their cache. So what was happening to us 
was:
  * JVM A puts an item in it's cache
  * evict notification goes out to B and C
  * when the item is requested on JVM B it looks up the data from the db and 
adds it to it's local cache.
  * evict notification goes out to A and C
  * item requested on JVM A again but it has been invalidated so it looks it up 
from the db and puts it in the cache.
  * evict notice goes out to B and C again

So the cache just keeps getting invalidated again and again and the actual row 
in the database has never been updated!

Is there anyway to configure this basic setup in a way such that putting an 
item into the cache doesn't send the eviction notification?

Thanks,
Scott

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

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


[jboss-user] [Javassist user questions] - Final fields, paramters and local variables

2008-04-10 Thread Coloss
Hello,

I am using Javassist only since a few weeks and I have tried out to create my 
own classes at runtime with final fields, function parameters and variables.

The surprising thing was that i wasn't able at all to have this working (for 
parameters I have found out that Javassist doesn't seem to allow me to specify 
this kind of propriety. Am I right?).

For local variables and fields the code compiles (thing that is not done with 
parameters) but the final propriety is not really applied (I am still able to 
change this variable many times).

Is this a bug or am I doing something wrong?

Compilation fails:

  | CtMethod m = CtMethod.make(private void printString (final String s) 
  | { System.out.print(s); },newClass);
  | newClass.addMethod(m);
  | 

Code that compiles but doesn't apply the final propriety (LV)

  | CtMethod m = CtMethod.make(private void printString (String s) { 
  | final String prefix = \ \; prefix = \\; 
  | System.out.print(prefix + s); },newClass);
  | newClass.addMethod(m);
  | 

Code that compiles but doesn't apply the final propriety (Fields)

  | CtField field = new CtField(CtClass.intType, x,newClass);
  | field.setModifiers(Modifier.FINAL); 
  | newClass.addField(field);
  | 
  | CtMethod m = CtMethod.make(private void setX (int x) 
  | { this.x = x; this.x++; },newClass);
  | newClass.addMethod(m);
  | 


Thanks in advance for the answer.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Help configuring invalidation to work for me

2008-04-10 Thread [EMAIL PROTECTED]
Use the Cache.putForExternalRead() method when you are caching something that 
was just read from an external authoritative source (aka an RDBMS).  If the 
cache is configured for invalidation, that method will not generate an 
invalidation msg.  Then use put() if you are creating something new or have 
updated something.  That *will* generate an invalidation msg, as it should. 

The above is a quick description of how the latest Hibernate 2nd Level Cache 
impl uses JBC; the putForExternalRead() method was added and tweaked and 
massaged exactly for your use case. ;)

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

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


  1   2   >