[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Application Problem

2008-04-21 Thread nirajsingh
I have downloaded jbossj2ee-src directory from below url which was in Getting 
Started JBOSS from 3.2 Documentation.

http://www.jboss.com/index.html?module=downloadsop=displayCategoryauthid=cc187f80b8b7cf78193ffdfbf65c1c25categoryId=8


But this directory does not contain account-ejb.xml, customer-ejb.xml and 
tx-ejb.xml files. Can anybody have idea from where i can get the updated 
related XML files so that i can run Duke Application Successfully.

Thank in Advance.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke?s Bank code compile error

2008-04-21 Thread nirajsingh
Hi All,

In Properties file, We never use backslash. Always use front slash. Actually it 
reads properties file as string and always search front slash as delimeter in 
file path. That's why backslash does not work.
 

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread jaikiran
Looks like your scheduler service is starting before the jar containing the 
bean is deployed. Try adding a depends attribute the scheduler-service.xml to 
ensure that the scheduler starts after the bean is deployed. See this for more 
details http://wiki.jboss.org/wiki/HowCanAnMBeanDependOnASessionBean

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

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


[jboss-user] [JBoss jBPM] - Re: jPDL-Designer

2008-04-21 Thread [EMAIL PROTECTED]
LOL

Yes, I saw that advice...

But AFAIK there are definitely possibilities. You can use a concept called 
capabilities in Eclipse that can be used to remove functionality. But I don't 
know enough of it to give you decent pointers. If you find anything and care to 
share, be our guest.

Regards,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: How to do a mass submit of documents

2008-04-21 Thread kukeltje
anonymous wrote : I dont think we can save String[] as the variable.  use a 
collection, list or map

anonymous wrote : If I add all the document Ids as process instance variables, 
how do I retreive the status of each individual document. if they are in one 
process, the process has a status.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: c:\jboss-4.0.4.GA\server\all\deploy\jboss-net.sar not fo

2008-04-21 Thread nirajsingh
Actually Jboss-net.sar is a service archive file which has mentioned in 
jboss-build.xml file. Jboss-net.sar includes jsp, servlet and axis services 
which is required while compiling the Duke Bank application.
Path of the jboss-net.sar file: located in all/deploy/, default/deploy.

So, i would suggest you please check the existance of this file at the above 
explained path. If not existing then dowload the lower version and get the 
jboss-net.sar file and drop it in deploy folder. I am assurity her the things 
will work. :)


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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: c:\jboss-4.0.4.GA\server\all\deploy\jboss-net.sar not fo

2008-04-21 Thread nirajsingh
Actually Jboss-net.sar is a service archive file which has mentioned in 
jboss-build.xml file. Jboss-net.sar includes jsp, servlet and axis services 
which is required while compiling the Duke Bank application.
Path of the jboss-net.sar file: located in all/deploy/, default/deploy.

So, i would suggest you please check the existance of this file at the above 
explained path. If not existing then dowload the lower version and get the 
jboss-net.sar file and drop it in deploy folder. I am giving surety that the 
things will work. :)


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
The application is deployed as archive myapp.ear.

An ant script touches the descriptor files (application.xml, web.xml), rebuilds 
the application and copies to the deploy folder, overriding the existing ear 
file there.

I did this many times with an war packaged application under JBoss 4.2 and it 
always worked without problems.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread jaikiran
JBoss-5 Beta4 has some issues with deployment. Probably this is one more issue. 
Can you post the ClassCastException logs and also the redeployment logs (which 
show what components are being redeployed)?
 

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

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


[jboss-user] [JBoss Portal] - Re: Portal LDAP integration problems

2008-04-21 Thread juhani_g
bdaw wrote : I improved the code a bit and with my test number of open 
connections always remains low and related to poolingMaxsize. Could you try it 
out?
  | 
http://anonsvn.jboss.org/repos/portal/modules/identity/branches/JBP_IDENTITY_BRANCH_1_0/
  | 
  | 

Ok I'll give it a try soon. I've been so busy that I haven't had time to dig in 
to this more. I got it working with my patch well enough for the time being...

bdaw wrote : btw. I'm not sure your take on TIME_WAIT is correct. Creating a 
connection is costly so keeping the pool of open ones and reuse gives 
performance gain. 

Yes, I got the TIME_WAIT thing wrong. 

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

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


[jboss-user] [Beginners Corner] - Re: ClassCastException accessing a DataSource

2008-04-21 Thread riflevolunteer
Hi

Thanks for the reply, that is the entire exception stacktrace. The version of 
java for both the server and client is Sun 1.5.0_15.

The JNDI tree I cannot find I can find the JMXConsole but nowhere is there 
anything called jndiview as described in the wiki. Please advise.

Thanks





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

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


[jboss-user] [JBoss AOP] - JBoss 4.2.2

2008-04-21 Thread gquintana
Hello,

The JBoss 4.2.2.GA default profile includes JBoss AOP 1.5.6 for Java 5 which 
is what I am using.

But when I set EnableLoadtimeWeaving to true, an exception is raised because 
the pluggable-instrumentor.jar is not found (not in the bin dir).

Is JBoss 4.2.2 AOP completely installed? Or do I need to install it manually?

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: How to attach an Action dinamically to every Node ?

2008-04-21 Thread francis1970
Hello!
thanks for your answer. I didn't know about action at process definition level. 
Thanks it's very useful information.
Anyway I don't have a chance to modify processDefinition.xml file because 
they're built by another development team.
So I just need to attach an action at the process level dynamically. 
I'll look in the documentation if it's possible to do it.
thanks again
Francesco

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

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


[jboss-user] [Beginners Corner] - Re: ClassCastException accessing a DataSource

2008-04-21 Thread jaikiran
riflevolunteer wrote : Hi
  | 
  | 
  | The JNDI tree I cannot find I can find the JMXConsole but nowhere is there 
anything called jndiview as described in the wiki. Please advise.
  | 
  | 

Did you install JBoss, using the JEMS installer? Just this past week, we had a 
discussion about this where it turned out that JEMS installer does not 
configure the JNDIView ( 
http://www.jboss.com/index.html?module=bbop=viewtopict=133889).

For JNDIView to be available, you will have to download the JBoss zip archive. 
Unzip it to some location (which does not contain a space in its folder name 
Ex: D:\JBoss), set JAVA_HOME and start the server.

My intention of asking you to post the contents of the jndi tree was to see 
what the datasource is being bound to. If re-installing JBoss, is not an option 
for you, can you try out the following piece of code from the client and post 
the output?

 public static void main(String[] args) {
  | 
  |try {
  | 
  | InitialContext ic;
  | Object ds = ic.lookup(MySqlDS); 
  | Class[] interfaces = ds.getClass().getInterfaces();
  | System.out.println(Implemented interfaces: );
  | for (int i = 0; i  interfaces.length; i++) {
  | System.out.println(***  + interfaces);
  | }
  | }..
  | //other stuff
  | }

Let's see if this output gives us some clue.


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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread rabbiaqaswar
Hello

Thanks for your reply. I tried the following:

  |mbean code=org.jboss.varia.scheduler.Scheduler 
name=:service=Scheduler
  |   attribute name=StartAtStartuptrue/attribute
  |   attribute 
name=SchedulableClassorg.schedular.MySchedular/attribute
  |   attribute name=SchedulableArgumentsTheName,123456789/attribute
  |   attribute 
name=SchedulableArgumentTypesjava.lang.String,long/attribute
  |   attribute name=InitialStartDateNOW/attribute
  |   attribute name=SchedulePeriod1000/attribute
  |   attribute name=InitialRepetitions5/attribute
  |   attribute name=FixedRatetrue/attribute   
  |   depends
  |  mbean code=javax.management.timer.Timer 
name=jboss:service=Timer/
  |   /depends
  |   
dependsjboss.j2ee:module=SchedularProject-ejb.jar,service=EjbModule/depends
  |/mbean

Now the scenario is: 
1. Start JBoss after making the above changes in scheduler-service.xml and 
start JBoss, it will give the same error.
2. Deploy the jar file, the deployment will be successfull but the Scheduler is 
not invoked.
3. Stop JBoss and start it again, the error will not come and the Scheduler 
works.

How can I avoid the error in the first case i.e. when JBoss is started for the 
first time?

Many Thanks

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
The log after I copied the ear file to the deploy folder:


  | 09:43:26,501 INFO  [MCKernelAbstraction] uninstalling bean: 
jboss.j2ee:ear=myapp.ear,jar=myapp.jar,name=TestObjectAdminBean,service=EJB3
  | 09:43:26,513 INFO  [EJBContainer] STOPPED EJB: 
de.mth.myapp.server.TestObjectAdminBean ejbName: TestObjectAdminBean
  | 09:43:26,526 INFO  [MCKernelAbstraction] uninstalling bean: 
persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU
  | 09:43:26,526 INFO  [PersistenceUnitDeployment] Stopping persistence unit 
persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU
  | 09:43:26,527 INFO  [SessionFactoryImpl] closing
  | 09:43:26,527 INFO  [SessionFactoryObjectFactory] Unbinding factory from 
JNDI name: persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU
  | 09:43:26,528 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 09:43:26,539 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI 
name: persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU
  | 09:43:26,836 INFO  [PersistenceUnitParsingDeployer] Found persistence units 
[EMAIL PROTECTED]
  | 09:43:27,601 WARN  [CollectionPropertyHandler] 
ClassInfo.getDeclaredConstructor(null) didn't work for 
org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor 
in ClassInfo.getDeclaredConstructors()
  | 09:43:28,506 WARN  [AnnotationRepositoryToMetaData] Not implemented: 
disableAnnotation(public java.util.List 
de.mth.myapp.server.TestObjectAdminBean.getTestObjects(), 
javax.annotation.security.PermitAll)
  | 09:43:28,506 WARN  [AnnotationRepositoryToMetaData] Not implemented: 
disableAnnotation(public java.util.List 
de.mth.myapp.server.TestObjectAdminBean.getTestObjects(), 
javax.annotation.security.DenyAll)
  | 09:43:29,359 INFO  [MCKernelAbstraction] installing bean: 
persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU with 
dependencies:
  | 09:43:29,359 INFO  [MCKernelAbstraction]   and demands:
  | 09:43:29,359 INFO  [MCKernelAbstraction]
jboss.jca:name=myapp1DS,service=DataSourceBinding
  | 09:43:29,359 INFO  [MCKernelAbstraction]   and supplies:
  | 09:43:29,666 INFO  [PersistenceUnitDeployment] Starting persistence unit 
persistence.units:ear=myapp.ear,jar=myapp.jar,unitName=myappPU
  | 09:43:29,671 WARN  [Ejb3Configuration] Persistence provider caller does not 
implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() 
is null.
  | 09:43:29,673 INFO  [AnnotationBinder] Binding entity from annotated class: 
de.mth.myapp.server.TestObject
  | 09:43:29,674 INFO  [EntityBinder] Bind entity 
de.mth.myapp.server.TestObject on table TestObjectS
  | 09:43:29,705 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 09:43:29,706 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
  | 09:43:29,706 INFO  [SettingsFactory] RDBMS: MySQL, version: 
5.0.38-Ubuntu_0ubuntu1.4-log
  | 09:43:29,707 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, 
version: mysql-connector-java-5.0.6 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 
Mar 2007) $, $Revision: 6341 $ )
  | 09:43:29,707 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.MySQLDialect
  | 09:43:29,708 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | 09:43:29,709 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
  | 09:43:29,710 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
  | 09:43:29,710 INFO  [SettingsFactory] Automatic flush during 
beforeCompletion(): disabled
  | 09:43:29,710 INFO  [SettingsFactory] Automatic session close at end of 
transaction: disabled
  | 09:43:29,710 INFO  [SettingsFactory] JDBC batch size: 15
  | 09:43:29,710 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
  | 09:43:29,711 INFO  [SettingsFactory] Scrollable result sets: enabled
  | 09:43:29,711 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
  | 09:43:29,711 INFO  [SettingsFactory] Connection release mode: auto
  | 09:43:29,711 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
  | 09:43:29,711 INFO  [SettingsFactory] Default batch fetch size: 1
  | 09:43:29,711 INFO  [SettingsFactory] Generate SQL with comments: disabled
  | 09:43:29,711 INFO  [SettingsFactory] Order SQL updates by primary key: 
disabled
  | 09:43:29,712 INFO  [SettingsFactory] Order SQL inserts for batching: 
disabled
  | 09:43:29,712 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | 09:43:29,712 INFO  [ASTQueryTranslatorFactory] Using 
ASTQueryTranslatorFactory
  | 09:43:29,713 INFO  [SettingsFactory] Query language 

[jboss-user] [JBoss Portal] - Re: CMS Adminnistration for Guest User

2008-04-21 Thread tinico
Thank you... I'll waiting !!

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread rabbiaqaswar
Forgot to mention, I have also added the following in scheduler-service.xml 
above the mbean declaration:

classpath codebase=. archives=SchedularProject-ejb.jar/
  | 

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-04-21 Thread [EMAIL PROTECTED]
claudio_br wrote : 
  | The response obtained with the version jbossws-3.0.1-native-2.0.4 is the 
same as obtained with the release jbossws-2.0.0.GA?
  | 
Yes
claudio_br wrote : 
  | Why I got error 501?
  | Thanks
  | 
I wonder too why you're getting 501. I'm not able to tell you :( I verified all 
the following scenarios but without success to reproduce your 501 issue:

message with Content-Length
  | chunked message
  | message without query parameter
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - How to restrict acces to process

2008-04-21 Thread jagr
Hi.

How can I restrict some users to see in jbpm-console some processes?

In exemple.

User 1 can see only process 1 and 2
User 2 can see process 2
User 2 can see process 3
Admin can see process 1,2 and 3

Now I configure users and groups in db but I can't see how can I specify 
relation between user and process.

Thanks

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

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


[jboss-user] [EJB 3.0] - Socket keep alive with client EJB

2008-04-21 Thread slimamar
Hello,

We are using a Swing client standalone which invokes EJB methods.
After each call, the socket is released.

For security reasons, we have to maintain the connection (keep alive)
and not release it after each call.

Is it possible to do this.


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

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


[jboss-user] [Clustering/JBoss] - Re: Importance of M-Bean architecuture

2008-04-21 Thread praveenas

 Yes, HA is also an essential feature for us and so we approched clustering. 
Please finalise the option which suits best for my requirement. Basically 
clustering support will be seen benificiery once the product is under 
production. So, up to me the second option(alternate ports for each instance of 
JBoss AS) is not suitable option according to the document, 
http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine
 I would be very happy, if you find some time to 
reply me at the earliest. 

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

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


[jboss-user] [JBoss Getting Started Documentation] - Howto report documentation error?

2008-04-21 Thread j0llyr0g3r
Hey folks, 

how and where do i report errors in the jboss-documentation?

- http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html  

says:

@Stateless
  | @RemoteBinding(jndiName=custom/remote/MySession)
  | public class MySessionBean implements MySession
  | {
  | }

which is wrong since it is not jndiName but jndiBinding.

See also this thread:

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

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - where is my data?

2008-04-21 Thread renavatior
i am using jbpm3.2.2+struts2+mysql to develop a work flow demo,but when i 
deploy the ProcessDefination in JBPM designer plugin,there are no datas in my 
mysql schema tables,such as JBPM_PROCESSDEFINATION,JBPM_NODE
what is the reason?
does any one can help me?
configure files
jbpm.cfg.xml:

  | jbpm-configuration
  | 
  |   jbpm-context
  | service name=persistence 
factory=org.jbpm.persistence.db.DbPersistenceServiceFactory/
  | service name=tx factory=org.jbpm.tx.TxServiceFactory/
  | service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory /
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | service name=logging 
factory=org.jbpm.logging.db.DbLoggingServiceFactory /
  | service name=authentication 
factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory 
/
  |  /jbpm-context
  |   
  |   !-- configuration resource files pointing to default configuration files 
in jbpm-{version}.jar --
  |   string name =resource.hibernate.cfg.xml value=hibernate.cfg.xml/
  |   string name=resource.business.calendar 
value=org/jbpm/calendar/jbpm.business.calendar.properties /
  |   string name=resource.default.modules 
value=org/jbpm/graph/def/jbpm.default.modules.properties /
  |   string name=resource.converter 
value=org/jbpm/db/hibernate/jbpm.converter.properties /
  |   string name=resource.action.types 
value=org/jbpm/graph/action/action.types.xml /
  |   string name=resource.node.types 
value=org/jbpm/graph/node/node.types.xml /
  |   string name=resource.parsers 
value=org/jbpm/jpdl/par/jbpm.parsers.xml /
  |   string name=resource.varmapping 
value=org/jbpm/context/exe/jbpm.varmapping.xml /
  | 
  |   int name=jbpm.byte.block.size value=1024 singleton=true /
  |   bean name=jbpm.task.instance.factory 
class=org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl singleton=true 
/
  |   bean name=jbpm.variable.resolver 
class=org.jbpm.jpdl.el.impl.JbpmVariableResolver singleton=true /
  |   long name=jbpm.msg.wait.timout value=5000 singleton=true /
  | /jbpm-configuration
  | 
  | 
hibernate.cfg.xml:

  | ?xml version='1.0' encoding='utf-8'?
  | 
  | !DOCTYPE hibernate-configuration PUBLIC
  |   -//Hibernate/Hibernate Configuration DTD 3.0//EN
  |   
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
  | 
  | hibernate-configuration
  |   session-factory
  | 
  | !-- hibernate dialect --
  | property 
name=hibernate.dialectorg.hibernate.dialect.MySQLInnoDBDialect/property
  | 
  | !-- JDBC connection properties (begin) --
  | property 
name=hibernate.connection.driver_classcom.mysql.jdbc.Driver/property
  | property 
name=hibernate.connection.urljdbc:mysql://localhost:3306/jbpm322/property
  | property name=hibernate.connection.usernameroot/property
  | property name=hibernate.connection.password123123/property
  | !-- JDBC connection properties (end) --
  | 
  |  
  | property 
name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property
  | property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JDBCTransactionFactory/property
  | 
  |
  | 
  |   
  | !-- logging properties (begin) ===--
  | property name=hibernate.show_sqltrue/property
  | property name=hibernate.format_sqltrue/property
  | property name=hibernate.use_sql_commentstrue/property
  |  !-- logging properties (end) --
  | 
  | !--  --
  | !-- # mapping files with external dependencies # --
  | !--  --
  | 
  | !-- following mapping file has a dependendy on   --
  | !-- 'bsh-{version}.jar'. --
  | !-- uncomment this if you don't have bsh on your --
  | !-- classpath.  you won't be able to use the --
  | !-- script element in process definition files   --
  | mapping resource=org/jbpm/graph/action/Script.hbm.xml/
  | 
  | !-- following mapping files have a dependendy on  --
  | !-- 'jbpm-identity.jar', mapping files--
  | !-- of the pluggable jbpm identity component. --
  | !-- Uncomment the following 3 lines if you--
  | !-- want to use the jBPM identity mgmgt   --
  | !-- component.--
  | !-- identity mappings (begin) --
  | mapping resource=org/jbpm/identity/User.hbm.xml/
  | mapping resource=org/jbpm/identity/Group.hbm.xml/
  | mapping resource=org/jbpm/identity/Membership.hbm.xml/
  | !-- identity mappings (end) --
  | 
  | !-- following mapping files have a dependendy on  --
  | !-- the JCR API   --
  | !-- jcr mappings (begin) ===
  | mapping 
resource=org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml/
  |  jcr mappings (end) --
  | 
  | 

[jboss-user] [Installation, Configuration DEPLOYMENT] - ServiceBindingManager not working with JBoss4.2.1-GA?

2008-04-21 Thread jimpo991
I am trying to follow 
http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine to 
configure two JBoss instances running on my machine, with different ports. 

1. I unzip the jboss packet
2. I copy jboss-4.2.1.GA\server\default to jboss-4.2.1.GA\server\ports-01
3. in ports-01\conf\jboss-service-xml, I uncomment and configure:


  |mbean code=org.jboss.services.binding.ServiceBindingManager
  |  name=jboss.system:service=ServiceBindingManager
  |  attribute name=ServerNameports-01/attribute
  |  attribute name=StoreURLfile:../server/port-bindings.xml/attribute
  |  attribute name=StoreFactoryClassName
  |org.jboss.services.binding.XMLServicesStoreFactory
  |  /attribute
  |/mbean
  | 

4. I copy docs\examples\binding-manager\sample-bindings.xml to 
server\port-bindings.xml

This should do it AFAIK, but I get a port exception when starting up:

 run.bat -c ports-01

...


  | 
  | 13:19:50,078 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8183/
  | 13:19:50,078 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 13:19:52,093 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc.
  | 13:19:52,093 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 13:19:52,546 INFO  [TransactionManagerService] Starting recovery manager
  | 13:19:52,656 INFO  [TransactionManagerService] Recovery manager started
  | 13:19:52,656 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 13:19:58,703 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 13:20:01,296 INFO  [ServiceEndpointManager] jbossws-1.2.1.GA 
(build=200704151756)
  | 13:20:04,265 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on the
  |  java.library.path: C:\Program 
Files\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\ORAHOME102\bin;C:\Program
 Files\PC Connectivity Solution\;D:\
  | java\maven\maven-2.0.7\bin;C:\Program 
Files\Java\jdk1.5.0_09\bin;D:\servers\ORAPORTAL\bin;D:\servers\ORAPORTAL\jlib;D:\servers\ORACLEHOME\bin;D:\servers\OR
  | 
ACLEHOME\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\devtools\jdev1012\jdk\bin;C:\PROGRA~1\XRay;C:\Program
 Files\MySQL\MySQL Server 5.0
  | \bin;D:\java\ant\apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;d:\Program 
Files\Subversion\bin;C:\Program Files\Common Files\GTK\2.0\bin;D:\Program 
Files\Quick
  | 
Time\QTSystem\;D:\product\10.1.3.1\OraBPEL_1\MOBILE\sdk\bin;d:\Sun\jwsdp-2.0\jwsdp-shared\bin
  | 13:20:04,656 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-127.0.0.1-8180
  | 13:20:04,656 ERROR [AjpProtocol] Error initializing endpoint
  | java.net.BindException: Address already in use: JVM_Bind:8109
  | at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501)
  | at org.apache.coyote.ajp.AjpProtocol.init(AjpProtocol.java:174)
  | at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
  | at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:669)
  | at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
  | at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
  | at org.apache.catalina.startup.Catalina.start(Catalina.java:558)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.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:659)
  | at 
org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:440)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 

[jboss-user] [JCA/JBoss] - MBean for inbound-resourceadapter

2008-04-21 Thread michele.curioni
Hi there,
is a JCA 1.5 inbound-resourceadapter manageable using JMX out of the box?

I cannot find any existing MBean in jboss that I could use to control the 
resource adapter.

Thanks,
Michele

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServiceBindingManager not working with JBoss4.2.1-GA?

2008-04-21 Thread jimpo991
Gosh. I had checked with netstat and was sure that no-one was using that 
portbut it seems plain

 netstat

shows only the active connections and not ports that are reserved but not 
currently used, and I had to indeed use

 netstat -ab

to see that indeed a program was reserving that one.

Thanks a bunch!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServiceBindingManager not working with JBoss4.2.1-GA?

2008-04-21 Thread jimpo991
It's also a bit confusing since 8109 is not defined anywhere in the 
port-bindings.xmlI guess it is set indirectly by this

 xsl:variable name=portAJP select=$port - 71/
  | 

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

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


[jboss-user] [JCA/JBoss] - Re: change background-validation-minutes to seconds

2008-04-21 Thread justinwalsh
anonymous wrote : Support background-validation-seconds
  | and deprecate background-validation-minutes 
Is this change going to be backported to a 4.2.x release?

Thanks,
Justin

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServiceBindingManager not working with JBoss4.2.1-GA?

2008-04-21 Thread jaikiran
I guess yes. More so because, 8180 - 71 = 8109.


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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread rabbiaqaswar
When I start the server, the scheduler-service.xml is in the deploy folder but 
the jar is not. That is when JBoss  gives an error. After I deploy the jar i.e. 
put the jar file in the deploy directory and then start JBoss then it works 
fine.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread rabbiaqaswar
I understand your point :) 

But sometimes when some change is made in the ejb module say a Session bean and 
the jar is re deployed to JBoss through Netbeans 6.1, it  will not deploy the 
new jar for no obvious reason. Then we have to stop JBoss, remove the previous 
jar file from deploy folder manually. Start JBoss again and then deploy the 
modified jar through Netbeans.

With this Scheduler implementation, the above procedure will not work as JBoss 
is depending upon the jar before it starts. That is why I wanted to find some 
way to avoid this dependency.

Now I guess we will just have to make sure that the jar file is always in the 
deploy folder before starting JBoss.

Thanks a lot.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread jaikiran
I use Windows and unfortunately i can't try out the same scenario on Windows 
because of the EAR file being locked (which is a different issue all together). 
I tried this with exploded deployment on Windows. Works fine for me. In your 
case, do you see that the war is undeployed when you are redeploying the 
application? A log like this:

15:41:12,462 INFO  [TomcatDeployment] undeploy, ctxPath=/myApp, 
vfsUrl=myApp.ear/myapp.war
  | 

Do you have any classloader isolations enabled on your EAR or WAR file through 
jboss-app.xml or jboss-web.xml?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145439
___
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-21 Thread ice_casa
I have a similar problem
i had take a change a IFrame portlet and create new class portlet simular a 
IFrame class
my portlet.xml file is 

  |portlet
  |   portlet-nameSearchPortlet/portlet-name
  |   portlet-classorg.jboss.portlet.iframe.SearchPortlet/portlet-class
  |   supports
  |  mime-typetext/html/mime-type
  |  portlet-modeVIEW/portlet-mode
  |  portlet-modeEDIT/portlet-mode
  |   /supports
  |   portlet-info
  |  titleFirewall Access Stats/title
  |   /portlet-info
  |/portlet
  | 
my portlet-instances.xml

  | deployments
  |deployment
  |   if-existsoverwrite/if-exists
  |   instance
  |  instance-idSearchPortletInstance/instance-id
  |  portlet-refSearchPortlet/portlet-ref
  |   /instance
  |/deployment
  | /deployments
  | 



the same error :


Failed to create instance SearchPortletInstance of portlet 
Searchportlet.SearchPortlet because portlet Searchportlet.SearchPortlet is not 
available


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServiceBindingManager not working with JBoss4.2.1-GA?

2008-04-21 Thread jaikiran
Is 8109 port being used by some other application? 

netstat -ab

might show the application which is using the port. The ServiceBindingManager 
configuration allows you to choose from a pre-defined set of ports. But that 
does not guarantee that some other application will not use the same ports.



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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread jaikiran
anonymous wrote : 1. Start JBoss after making the above changes in 
scheduler-service.xml and start JBoss, it will give the same error.
  | 2. Deploy the jar file, the deployment will be successfull but the 
Scheduler is not invoked. 

Do you mean that you are deploying the jar after the scheduler has started? 
When you are starting the server, is the jar as well as the 
scheduler-service.xml present in the deploy folder?

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

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


[jboss-user] [JBoss AOP] - Re: JBoss 4.2.2

2008-04-21 Thread [EMAIL PROTECTED]
You need to download JBoss AOP 1.5.6 and copy the 
lib-50/pluggable-instrumentor.jar to the AS/bin folder. Upcoming version of AS 
will ship with the correct pluggable-instrumentor.jar, so you can avoid this 
extra step.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Schedulable jboss-service.xml

2008-04-21 Thread jaikiran
rabbiaqaswar wrote : When I start the server, the scheduler-service.xml is in 
the deploy folder but the jar is not. That is when JBoss  gives an error. After 
I deploy the jar i.e. put the jar file in the deploy directory and then start 
JBoss then it works fine.

If you are not having the jar containing the org.schedular.MySchedular in the 
deploy folder when the scheduler is starting, then you are obviously going to 
get this exception. 

Why are you not placing the jar in the deploy folder along with the 
scheduler-service.xml when the server is starting?


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

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


[jboss-user] [JBoss AOP] - Re: Can aop applies to EJB 2.0 component?

2008-04-21 Thread [EMAIL PROTECTED]
You can use interface introductions and mixins on a session bean as you can for 
any class. 

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

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


[jboss-user] [Remoting] - Socket keep alive with client EJB

2008-04-21 Thread slimamar
Hello,

We are using a Swing client standalone which invokes EJB methods.
After each call, the socket is released.

For security reasons, we have to maintain the connection (keep alive)
and not release it after each call.

Is it possible to do this.

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

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


[jboss-user] [JBoss Portal] - Portlets: Partial Refresh

2008-04-21 Thread pshaktig
Hi all,

This is query regarding partial refresh on JBoss portal. I have three portlets 
on a page. Whenever I perform action in portlet-1 processAction() of portlet-1 
is invoked and then deView of portlet-2 and portlet-3. 

I read through partial refresh section of JBoss reference guide and enabled 
partial refresh for portlet-2 but to no avail. Both the portlets 2 and 3 are 
refreshed when I perform a submit in portlet-1.

Please provide some code or configuration required in JBoss or some article 
through which I can achieve desired affect.

Thanks in advance.
Shakti

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

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


[jboss-user] [JBoss Messaging] - Jboss Messaging How To

2008-04-21 Thread sudheer_java26
I am trying to learn jboss messaging.

 
I am using jboss-4.2.2.GA Application Server and jboss-messaging-1.4.0.SP3.

How to bring these two as one, I have to copy jboss-4.2.2.GA folder under 
Jboss Home?

And how to create connection factory , topic and queue to experiment with jboss 
messaging ? 

--- 
-Sudheer
 


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
But the log says, that the war is deployed again:


  | 09:43:32,435 INFO  [TomcatDeployment] deploy, ctxPath=/myapp, 
vfsUrl=myapp.ear/myapp.war
  | 

Or should there be more log output for a successful redeployment?

I don't use classloader isolations, the only configuration I have in the config 
files is the security-domain.

These are my config files:

application.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | application xmlns=http://java.sun.com/xml/ns/j2ee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
  |   http://java.sun.com/xml/ns/j2ee/application_1_4.xsd;
  |  version=1.4
  |   display-namemyappEAR/display-name
  |   module
  |   javamyapp.jar/java
  |   /module
  |   module
  |   web
  |web-urimyapp.war/web-uri
  |context-rootmyapp/context-root
  |   /web
  |   /module
  | /application
  | 

jboss.xml:

  | ?xml version='1.0' encoding='UTF-8' ?
  | jboss
  | security-domainjava:/jaas/other/security-domain
  | /jboss
  | 

jboss-web.xml:

  | ?xml version='1.0' encoding='UTF-8' ?
  | jboss-web
  | security-domainjava:/jaas/mth/security-domain
  | /jboss-web
  | 

context.xml:

  | !-- Add the ExtendedFormAuthenticator to get access to the 
username/password/exception --
  | Context cookies=true crossContext=true
  |Valve 
className=org.jboss.web.tomcat.security.ExtendedFormAuthenticator
  |   includePassword=true /
  | /Context
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-04-21 Thread sudheer_java26

timfox,subrata can you help me to my post ?

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: A jsp web station's deploy question!!

2008-04-21 Thread kameron
thanks !

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

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


[jboss-user] [JBoss Portal] - ConnectException when deploying Portal 2.6.4-GA to JBoss2.4.

2008-04-21 Thread jimpo991
Hi,

I have configured two instances of JBossAS 2.4.1-GA, running on different 
ports. Using advice from 
http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine and 
service binding configuration. My instances start up fine, but when I try to 
deploy portal on the ports-01 server I get errors in the log:


  | 14:42:27,734 ERROR [Scheduler$Listener] Invoke of the Schedulable MBean 
failed
  | javax.management.MBeanException
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(Scheduler.java:1346)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
  | at $Proxy12.handleNotification(Unknown Source)
  | at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
  | at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
  | at javax.management.timer.Timer.sendNotification(Timer.java:1295)
  | at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1264)
  | at javax.management.timer.TimerAlarmClock.run(Timer.java:1347)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | Caused by: org.jboss.portal.portlet.InvokerUnavailableException: Problem 
getting service description for producer self, please see the logs for more 
inform
  | ation.
  | at 
org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsumerImpl.java:156)
  | at 
org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.getPortlets(FederatedPortletInvokerService.java:90)
  | at 
org.jboss.portal.core.management.PortletDiscoveryService.processPortletDiscovery(PortletDiscoveryService.java:88)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | ... 20 more
  | Caused by: java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
  | at 
org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
  | at 
org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:507)
  | at 
org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:276)
  | at 
org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
  | at $Proxy219.getServiceDescription(Unknown Source)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.getUnmanagedServiceDescription(ProducerInfo.java:618)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:303)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:254)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.refresh(ProducerInfo.java:249)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.getPortletMap(ProducerInfo.java:566)
  | at 
org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsumerImpl.java:151)
  | ... 27 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
  | at 

[jboss-user] [JBoss Portal] - Re: ConnectException when deploying Portal 2.6.4-GA to JBoss

2008-04-21 Thread jimpo991
Sorry got JBossAS version wrong, it is 4.2.1-GA

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

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


[jboss-user] [JBoss jBPM] - Re: How to attach an Action dinamically to every Node ?

2008-04-21 Thread salaboy21
You are wellcome.. and you also try to look the APIs because you can add 
process definition programatically... so i think you can add your piece of 
action  programatically and then add it at process definition level...
Let me know if you find a good solution! 


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

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


[jboss-user] [Beginners Corner] - Re: ClassCastException accessing a DataSource

2008-04-21 Thread riflevolunteer
Hi

Thanks for your quick reply. Have just run your code and get the following

Implemented interfaces: 
  | *** [Ljava.lang.Class;@110b053

And yes I did run the Jems installer, will reinstall another time for sure.

Thanks Again

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

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


[jboss-user] [JBoss Portal] - Re: ConnectException when deploying Portal 2.6.4-GA to JBoss

2008-04-21 Thread [EMAIL PROTECTED]
Only for WSRP, if you don't plan to use WSRP, the simplest is to delete 
portal-wsrp.sar

If you plan to use WSRP please check the doc and Wiki.

If you don't know what WSRP is, they you probably don't need it ;)

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread ataylor
you will find everything you need to know at 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/index.html

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

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


[jboss-user] [EJB 3.0] - Re: deploy ear with embedded jboss

2008-04-21 Thread GaryFry
Hi there.

Does anybody know if EAR files are still not supported in Embedded JBoss?  The 
FAQ answer to this looks quite old, so I thought it would be worth asking the 
question again.  

Thanks,
Gary.


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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread sudheer_java26
i am able to bring these to as one, i mean i am able to install jboss messaging.
[
 
 by going to cd util and running ant -f release-admin.xml
]

but still i am not clear how to create connection factory , topic and queue to 
experiment with jboss messaging ? 

can any one help to me ?


-Sudheer

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

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


[jboss-user] [JBossWS] - Class loading error

2008-04-21 Thread extasy
Hi,
This eror occured while trying to load axis based service in jboss 4.2.2 GA

Why this class loading error occurs, Could anybody help.



10:46:14,945 INFO  [TomcatDeployer] deploy, ctxPath=/axis, warUrl=.../tmp/deploy
/tmp19794axis-exp.war/
10:50:47,866 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet thr
ew exception
java.lang.NoClassDefFoundError: Could not initialize class com.nortelnetworks.im
s.app.prov.impl.EAPrefixImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)
at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvi
der.java:428)
at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvi
der.java:461)
at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(S
OAPService.java:286)
at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDServi
ce.java:500)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WS
DDDeployment.java:503)
at org.apache.axis.configuration.FileProvider.getDeployedServices(FilePr
ovider.java:296)
at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(Ax
isServlet.java:482)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260
)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
onnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
6)
at java.lang.Thread.run(Thread.java:619)

***



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4145483
___
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-21 Thread ice_casa
a problem is resoved
i had upgrade my jde1.5 to jde1.6
and a compeliation fails



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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread ataylor
read the manual. Chapter 6 in the user manual will tell you how to configure 
destinations and connection factories.
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.destination

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

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


[jboss-user] [EJB 3.0] - Re: deploy ear with embedded jboss

2008-04-21 Thread wolfc
Sorry for the confusion.

It's not possible to deploy an ear in EJB 3 Embedded.

For Embedded JBoss go to it's forum and ask again.
(It should work though. :-) )

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

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


[jboss-user] [Clustering/JBoss] - Re: Importance of M-Bean architecuture

2008-04-21 Thread praveenas
  Hi Brian Stansberry , 

 Basically, I want to check the clustering support between 
different physical machines. I want to make a similar thing like a load 
balancer be on one machine and the application running on jboss on other 
machines. 
   I have followed document from jboss4-clustering, 1.5. 
HTTP Services. I have used apache server(httpd 2.0.63) as load balancer. But, I 
have not tested on multiple physical machines yet. I want to confirm with you 
that, will the single line in workers.properties file be sufficient to register 
both jboss instances to be load balanced?
Will 2 systems be sufficient to test the clustering 
feature? 

Thank you. 

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

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


[jboss-user] [Management, JMX/JBoss] - Remote RMI JMX listner

2008-04-21 Thread minixman
All 

Is there any example code on setting up a remote JMX RMI Adaptor and 
registering for events on a listner ?

I did try the first section of this doc 

http://wiki.jboss.org/wiki/HowDoIAddANotificationListenerToARemoteMBeanServer

but i got loads of errors running it.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread sudheer_java26
thanks for your reply.

I created connection factory as given here 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.destination

but when I run my program , i am getting error as 
-
Exception in thread main javax.naming.NameNotFoundException: 
MyConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
--

but when I start server 

I tried by running as fallows 


C:\myjboss-4.2.2\jboss-4.2.2.GA\binrun -c messaging


=
18:57:42,078 INFO  [TransactionManagerService] Setting up property manager MBean
 and JMX layer
18:57:42,312 INFO  [TransactionManagerService] Starting recovery manager
18:57:42,421 INFO  [TransactionManagerService] Recovery manager started
18:57:42,421 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
18:57:46,062 INFO  [EJB3Deployer] Starting java:comp multiplexer
18:57:47,515 INFO  [STDOUT] no object for null
18:57:47,531 INFO  [STDOUT] no object for null
18:57:47,562 INFO  [STDOUT] no object for null
18:57:47,593 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
18:57:47,609 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
18:57:50,437 INFO  [NativeServerConfig] JBoss Web Services - Native
18:57:50,437 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
0837)
18:57:51,062 INFO  [ServiceConfigurator] Problem configuring service jboss.messa
ging.connectionfactory:service=MyConnectionFactory
org.jboss.deployment.DeploymentException: Exception setting attribute javax.mana
[EMAIL PROTECTED] on mbean jboss.messaging.connectionfactory:service=MyCo
nnectionFactory; - nested throwable: (javax.management.AttributeNotFoundExceptio
n: Attribute 'ClientID' is not writable)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:707)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
va:332)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:462)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:157)
at org.jboss.system.ServiceController.install(ServiceController.java:226
)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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 $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at 

[jboss-user] [Clustering/JBoss] - Re: Detect ip of cluster

2008-04-21 Thread [EMAIL PROTECTED]
I don't see a good way to do this except to add it as a method on your bean.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread sudheer_java26
sudheer_java26 wrote : thanks for your reply.
  | 
  | I created connection factory as given here 
  | 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.destination
  | 
  | but when I run my program , i am getting error as 
  | -
  | Exception in thread main javax.naming.NameNotFoundException: 
MyConnectionFactory not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | --
  | 
  | but when I start server 
  | 
  | I tried by running as fallows 
  | 
  | 
  | C:\myjboss-4.2.2\jboss-4.2.2.GA\binrun -c messaging (i did not change 
anything while installing so , my messaging path is as default)
  | =
  | 18:57:42,078 INFO  [TransactionManagerService] Setting up property manager 
MBean
  |  and JMX layer
  | 18:57:42,312 INFO  [TransactionManagerService] Starting recovery manager
  | 18:57:42,421 INFO  [TransactionManagerService] Recovery manager started
  | 18:57:42,421 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI R
  | eference
  | 18:57:46,062 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 18:57:47,515 INFO  [STDOUT] no object for null
  | 18:57:47,531 INFO  [STDOUT] no object for null
  | 18:57:47,562 INFO  [STDOUT] no object for null
  | 18:57:47,593 INFO  [STDOUT] no object for 
{urn:jboss:bean-deployer}supplyType
  | 18:57:47,609 INFO  [STDOUT] no object for 
{urn:jboss:bean-deployer}dependsType
  | 18:57:50,437 INFO  [NativeServerConfig] JBoss Web Services - Native
  | 18:57:50,437 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=20071021
  | 0837)
  | 18:57:51,062 INFO  [ServiceConfigurator] Problem configuring service 
jboss.messa
  | ging.connectionfactory:service=MyConnectionFactory
  | org.jboss.deployment.DeploymentException: Exception setting attribute 
javax.mana
  | [EMAIL PROTECTED] on mbean jboss.messaging.connectionfactory:service=MyCo
  | nnectionFactory; - nested throwable: 
(javax.management.AttributeNotFoundExceptio
  | n: Attribute 'ClientID' is not writable)
  | at 
org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
  | .java:707)
  | at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
  | va:332)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
  | tor.java:462)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :157)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226
  | )
  | at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.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 $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 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 $Proxy9.deploy(Unknown Source)
  | at 

[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

2008-04-21 Thread ataylor
looks like the docs are out of date, the clientid is now set via a constructor.

I would start with a simple connection factory like:

mbean code=org.jboss.jms.server.connectionfactory.ConnectionFactory
  |   name=jboss.messaging.connectionfactory:service=ConnectionFactory
  |   xmbean-dd=xmdesc/ConnectionFactory-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   depends 
optional-attribute-name=Connectorjboss.messaging:service=Connector,transport=bisocket/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  | 
  |   attribute name=JNDIBindings
  |  bindings
  | binding/ConnectionFactory/binding
  | binding/XAConnectionFactory/binding
  | bindingjava:/ConnectionFactory/binding
  | bindingjava:/XAConnectionFactory/binding
  |  /bindings
  |   /attribute
  |/mbean

here are all the configurable attributes

mbean code=org.jboss.jms.server.connectionfactory.ConnectionFactory
  |   
name=jboss.messaging.connectionfactory:service=MyExampleConnectionFactory
  |   xmbean-dd=xmdesc/ConnectionFactory-xmbean.xml
  |   
  |   constructor
  |   
  |  !- - You can specify the default Client ID to use for connections 
created using this factory - - 
  |  
  |  arg type=java.lang.String value=MyClientID/
  |  
  |   /constructor
  |   
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   
  |   !- - The transport to use - can be bisocket, sslbisocket or http - -
  |   
  |   depends 
optional-attribute-name=Connectorjboss.messaging:service=Connector,transport=http/depends
  |   
  |   dependsjboss.messaging:service=PostOffice/depends
  |   
  |   !- - PrefetchSize determines the approximate maximum number of 
messages the client consumer will buffer locally - -
  |   
  |   attribute name=PrefetchSize150/attribute
  |   
  |   !- - Paging params to be used for temporary queues - -
  |   
  |   attribute name=DefaultTempQueueFullSize20/attribute
  |   
  |   attribute name=DefaultTempQueuePageSizeSize2000/attribute
  |   
  |   attribute name=DefaultTempQueueDownCacheSize2000/attribute
  |   
  |   !- - The batch size to use when using the DUPS_OK_ACKNOWLEDGE 
acknowledgement mode - -
  |   
  |   attribute name=DupsOKBatchSize5000/attribute
  |   
  |   !- - Does this connection factory support automatic failover? - -
  |   
  |   attribute name=SupportsFailoverfalse/attribute
  |   
  |   !- - Does this connection factory support automatic client side load 
balancing? - -
  |   
  |   attribute name=SupportsLoadBalancingfalse/attribute  
  | 
  |   !- - The class name of the factory used to create the load balancing 
policy to use on the client side - -
  |   
  |   attribute 
name=LoadBalancingFactoryorg.jboss.jms.client.plugin.RoundRobinLoadBalancingFactory/attribute
  
  | 
  |   !- - Whether we should be strict TCK compliant, i.e. how we deal 
with foreign messages, defaults to false- -
  | 
  |   attribute name=StrictTcktrue/attribute
  |   
  |   !- - Disable JBoss Remoting Connector sanity checks - There is 
rarely a good reason to set this to true - -
  |   
  |   attribute name=DisableRemotingChecksfalse/attribute
  | 
  |   !- - The connection factory will be bound in the following places in 
JNDI - -
  | 
  |   attribute name=JNDIBindings
  |   
  |  bindings
  |  
  | binding/acme/MyExampleConnectionFactory/binding
  | 
  | binding/acme/MyExampleConnectionFactoryDupe/binding
  | 
  | bindingjava:/xyz/CF1/binding
  | 
  | 
bindingjava:/connectionfactories/acme/connection_factory/binding
  | 
  |  /bindings
  |  
  |   /attribute   
  |
  |/mbean

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

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


[jboss-user] [JBoss jBPM] - Re: How to do a mass submit of documents

2008-04-21 Thread bhagatkota
But the documentation says the following:
The variable names are java.lang.String. By default, jBPM supports the 
following value types: 


java.lang.String
java.lang.Boolean
java.lang.Character
java.lang.Float
java.lang.Double
java.lang.Long
java.lang.Byte
java.lang.Short
java.lang.Integer
java.util.Date
byte[]
java.io.Serializable
classes that are persistable with hibernate


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

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


[jboss-user] [Beginners Corner] - token.setNode(node);

2008-04-21 Thread [EMAIL PROTECTED]
Hi,

I try to jump to a specific node without the desired effect .
What is missing ?

public class ExceptionHandler implements ActionHandler {

private static final long serialVersionUID = 1L;
private static final Logger LOGGER = 
Logger.getLogger(ExceptionHandler.class);

@Override
public void execute(final ExecutionContext executionContext) throws 
Exception {

final Throwable throwable = executionContext.getException();
final StackTraceElement[] stackTrace = throwable.getStackTrace();
LOGGER.error(stackTrace[0]);

final Token token = executionContext.getToken();
final Node node = 
executionContext.getProcessDefinition().getNode(SectionCleanup);
token.setNode(node);

}

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JDNI Lookup - Naming Not Found with JBOSS 4.2.2

2008-04-21 Thread senthilrajan.nitt
Hi,

My JMX Console output for JNDI Service :


java: Namespace
  +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- SecurityProxyFactory (class: 
org.jboss.security.SubjectSecurityProxyFactory)
  +- OracleDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
  +- comp (class: javax.naming.Context)
  +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  +- jaas (class: javax.naming.Context)
  |   +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
  |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
  +- comp.original (class: javax.namingMain.Context)
  +- timedCacheFactory (class: javax.naming.Context)
Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
  +- TransactionPropagationContextExporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
  +- Mail (class: javax.mail.Session)
  +- comp.ejb3 (class: javax.naming.Context)
  |   NonContext: null
  +- TransactionPropagationContextImporter (class: 
com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
  +- TransactionManager (class: 
com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)

I am looking for the object as follows,


  | public ModelAndView handleRequest(HttpServletRequest request, 
HttpServletResponse response)
  | throws ServletException, IOException { 
  | 
  | logger.info(SpringappController - returning hello view);
  | 
  | String now = (new java.util.Date()).toString();
  | logger.info(senthil:returning hello view with  + now);
  | Connection con =null;
  | try {
  | 
  | Context ctx = new InitialContext();
  | Object ds = ctx.lookup(java:OracleDS);
  | System.out.println(Got the object : +ds);
  | 
  | //System.out.println(got the data source 
:+ds.getClass());
  | 
  | // con = ds.getConnection();
  | 
  | if(con!=null){
  | System.out.println(Connected to saba5);
  | }
  | 
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | //e.printStackTrace();
  | System.out.println(e.getMessage());
  | }finally{
  | if(con!=null){
  | try {
  | con.close();
  | } catch (SQLException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | }
  | }
  | 
  | Map myModel = new HashMap();
  | myModel.put(now, now);
  | myModel.put(products, getProductManager().getProducts());
  | 
  | return new ModelAndView(hello, model, myModel);
  | }
  | 

The error that i am getting 

19:36:34,031 ERROR [STDERR] javax.naming.NameNotFoundException: OracleDS not 
bound
19:36:34,031 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
19:36:34,031 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
19:36:34,031 ERROR [STDERR] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
19:36:34,031 ERROR [STDERR] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:296)
19:36:34,031 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
19:36:34,031 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
19:36:34,046 ERROR [STDERR] at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
19:36:34,046 ERROR [STDERR] at 
com.pk.controller.SpringappController.handleRequest(SpringappController.java:55)
19:36:34,046 ERROR [STDERR] at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
19:36:34,046 ERROR [STDERR] at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
19:36:34,046 ERROR [STDERR] at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
19:36:34,046 ERROR [STDERR] at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:523)
19:36:34,046 ERROR [STDERR] at 

[jboss-user] [Beginners Corner] - Re: Unable to get correct data using Remote interface getter

2008-04-21 Thread Neelma
Please help 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
Update:

I changed my servlets code to get the local interface for the ejb to be called 
via @ejb annotation.


  |private TestObjectAdminBeanLocal testObjectAdmin;
  |
  |@EJB(name = testObjectAdmin)
  |public void setTestObjectAdmin(TestObjectAdminBeanLocal testObjectAdmin) 
{
  |   this.testObjectAdmin = testObjectAdmin;
  |}
  | 

The exception that occurs now seems to have the same cause as the one before, 
when I was trying to get the local interface from jndi via lookup and a class 
cast exception was thrown while narrowing.


  | 2008-04-21 15:26:55,384 INFO  
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myapp]] 
Marking servlet TestObjectService as unavailable
  | 2008-04-21 15:26:55,385 DEBUG [org.apache.catalina.core.StandardWrapper] 
Error instantiating servlet class de.mth.myapp.webapp.TestObjectServiceImpl
  | java.lang.RuntimeException: Non matching type for @Inject of setter: public 
void 
de.mth.myapp.webapp.TestObjectServiceImpl.setTestObjectAdmin(de.mth.myapp.server.TestObjectAdminBeanLocal)
 for type: $Proxy90
  | at 
org.jboss.injection.JndiMethodInjector.inject(JndiMethodInjector.java:104)
  | at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.processAnnotations(TomcatInjectionContainer.java:266)
  | at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:172)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
  | 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:585)
  | 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:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy5.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
  | at 

[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to

2008-04-21 Thread [EMAIL PROTECTED]
Hi,

Would it be possible to elaborate on the Token.setNode method.
I try to jump to a specific node but without succes.
This is the code : 
public class ExceptionHandler implements ActionHandler {

private static final long serialVersionUID = 1L;
private static final Logger LOGGER = 
Logger.getLogger(ExceptionHandler.class);

@Override
public void execute(final ExecutionContext executionContext) throws 
Exception {

final Throwable throwable = executionContext.getException();
final StackTraceElement[] stackTrace = throwable.getStackTrace();
LOGGER.error(stackTrace[0]);

final Token token = executionContext.getToken();
final Node node = 
executionContext.getProcessDefinition().getNode(SectionCleanup);
token.setNode(node);

}

Thank you.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Upgrading to later version of Jboss cache in 4.0.5GA

2008-04-21 Thread khkachn
Are there instructions on how to upgrade the version of Jboss cache being used 
in Jboss AS 4.0.5GA? Could someone point me in the right direction?

I tried just coping the jboss-cache and jgroups jar files to the lib directory, 
but that gave me socket errors:

Failed to start protocol stack

Problem creating sockets (bind_addr=/XXX:0:0:0:XXX:XXX:XXX:XXX%2, 
mcast_addr=null)

Can not assign requested address

(I was tring to use cache 1.4.1SP3)

Thanks,

Ken

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

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


[jboss-user] [Beginners Corner] - Re: SSL on JBOSS on linux

2008-04-21 Thread PeterJ
http://wiki.jboss.org/wiki/en/SSLSetup?action=ewindowstate=normalmode=view

http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Security_on_JBoss.html#Security_on_JBoss-Using_SSL_with_JBoss_using_JSSE

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

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


[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-21 Thread [EMAIL PROTECTED]
I have no idea what's going on...


Can you run some basic DLQ test? If you still see a problem, maybe you should 
write a testcase.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread jaikiran
cardoso wrote : The application is deployed as archive myapp.ear.
  | 
  | An ant script touches the descriptor files (application.xml, web.xml), 
rebuilds the application and copies to the deploy folder, overriding the 
existing ear file there.
  | 
  | 

Btw, how about trying this - Delete the existing EAR from the deploy folder 
(maybe through an Ant script) and once the EAR is deleted successfully, then 
just copy the new EAR to the deploy folder. See if that works.

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

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


[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to

2008-04-21 Thread [EMAIL PROTECTED]
No errors.

I experimented a bit and I found that I must point to the node just  before the 
node SectionCleanup to get the node SectionCleanup executed.

Seems to be wrong ?

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

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


[jboss-user] [Performance Tuning] - Re: JBoss 4.05 don't release free memory - Out of Memory err

2008-04-21 Thread PeterJ
I repeat : none of those tools really tell you what is going on with garbage 
collection. They only give snapshots of current memory usage. You need to use 
-verbose:gc or -XX:PrintHeapAtGC, or a similar option to find out what is 
really going on.

The JVM will eat up memory if it thinks it needs more - this has more to do 
with the amount of objects that survive the gc than with how much free space is 
available after the gc. If you want to limit its memory consumption, set the 
max heap to a reasonable amount. I always recommend setting min and max heap to 
the same size. But only after analyzing -verbose:gc data to determine the 
optimal heap size.

Is the OOME due to the heap or the perm gen? What is the exact error message?

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

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


[jboss-user] [JBoss jBPM] - Re: How to restrict acces to process

2008-04-21 Thread kukeltje
you can't in the webconsole. Since it is not realy end-user intended (yet?) 
those kinds of details are not fully implemented. Most people built their own 
ui's and implement those things there.

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

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


[jboss-user] [JBoss jBPM] - Re: How to do a mass submit of documents

2008-04-21 Thread kukeltje
so? isn't a Collection or Map or List persistable with hibernate?

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

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


[jboss-user] [Beginners Corner] - Re: token.setNode(node);

2008-04-21 Thread [EMAIL PROTECTED]
Some extra info :

The code throws no errors.

I experimented a bit and I found that I must point to the node just before the 
node SectionCleanup to get the node SectionCleanup executed.

Seems to be wrong ?

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

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


[jboss-user] [JBoss AOP] - Re: JBoss 4.2.2

2008-04-21 Thread gquintana
Alright, thanks for the information

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: configure queue

2008-04-21 Thread bfach
I assume you are running the dafault server.  In this case you would edit the 
destinations-service.xml under default.

The xml snippet is what you need to deploy a queue, copy it and change the 
following

name=DLQ to name= (whatever you want)

SO it should look like this if queue name is yourQueueName

mbean code=org.jboss.jms.server.destination.QueueService 
name=jboss.messaging.destination:service=Queue,name=yourQueueName 
xmbean-dd=xmdesc/Queue-xmbean.xml
  
@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.Queu
eServiceMO) 
  depends   
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer 
  jboss.messaging:service=PostOffice 
  / depends 
  / mbean

So just copy the DLQ xml snippet, paste and change the DLQ to you queue name.  
Restart JBoss, check the JMX Console to see if the queue is there.  It should 
be in the same location as the DLQ queue.

bfach

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

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


[jboss-user] [JNDI/Naming/Network] - Re: UnknownHostException after successful connection to port

2008-04-21 Thread alexsbe
I had the same problem and solve it with the previous messages.

I have installed an EJB on jboss 4.2.2.


But now I have an other errors

2008-04-21 17:10:13 DEBUG [SecurityAssociation/:143] Using ThreadLocal: false
2008-04-21 17:10:13 DEBUG [MicroSocketClientInvoker/:243] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] constructed
2008-04-21 17:10:13 DEBUG [MicroRemoteClientInvoker/:240] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] connecting
2008-04-21 17:10:13 DEBUG [MicroRemoteClientInvoker/:245] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] connected
2008-04-21 17:10:14 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
984 ms
2008-04-21 17:10:15 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2008-04-21 17:10:16 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2008-04-21 17:10:17 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2008-04-21 17:10:18 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2008-04-21 17:10:19 DEBUG [MicroSocketClientInvoker/:820] 
SocketClientInvoker[18b3364, socket://127.0.0.1:3873] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1015 ms


I don't know what to do to allow the client to connect to the EJB.

Any ideas ?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to call native library

2008-04-21 Thread PeterJ
By default, the JVM sets the java.library.path system property, which is uses 
to locate shared objects, to the LD_LIBRARY_PATH.  So as long as the 
LD_LIBRARY_PATH references the directory containing the .so file, you should be 
set.

If you install JBoss Native, check the run.sh script because at one time it set 
java.library.path to $JBOSS_HOME/bin/native. If that is still the case, you 
need to set java.library.path to $LD_LIBRARY_PATH:$JBOSS_HOME/bin/native.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread jaikiran
anonymous wrote : Does JBoss need any configuration for the servlet-ejb 
relationship in the deployment descriptor of the ear, jar or war to redeploy 
correctly?
  | 

No it doesn't. As long as you are redeploying the entire EAR (which you seem to 
be doing correctly), there should not have been a ClassCastException. 
Unfortunately, i don't have a Linux setup where i can try to reproduce this 
myself. So i won't be of much help in debugging this. Maybe someone who has a 
Linux system will be able to help you.
 

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

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


[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to

2008-04-21 Thread kukeltje
anonymous wrote : I try to jump to a specific node but without succes. Can you 
be more specific? Errors etc?

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

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


[jboss-user] [Beginners Corner] - Re: Will JBoss 4.2.0 work on Vista ?

2008-04-21 Thread PeterJ
I have run JBossAS on Vista without any issues. Mind, though, that I turn off 
UAC and run with an account that is in the administrator group. And both the 
JDK and JBossAS are installed in folders that do not have spaces in their names.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Libraries loading order

2008-04-21 Thread tinico
Hi,

I'm studying the loading of all librairies in JBoss... I understand ULR, UCL, 
and the WAR and EAR deployment about the classe loader...

But I've another question... How can I define loading order for libraries in 
general ?

For example, in server/default/lib, I've a log4j-xxx.jar. I want to add 
mylog4j.jar which replace some of log4j-xxx.jar classes. So, in the classpath, 
mylog4j.jar must be load bbefore log4j-xxx.jar... How can I do that ??

(It's an example, only an example to define what I want... Please don't tell me 
how make new implementation of log4j :) )

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Web pages are not running on mozilla

2008-04-21 Thread PeterJ
When you submit the data, what happens? Does the browser window go blank? You 
get an error? The login page remains?

Also, are there any error in the console log?

What add-ons do you have in Firefox, could any of them be causing the problem? 
(I had a problem with downloads due to an add-on.) For example, if you have 
NoScript installed nad are not allowing JavaScript to run and that script is 
essential for the login page, nothing will happen.

Do you have the Tamper Data add-on? If not, install it and us it to ensure that 
requests are being sent by the browser.

Once you are sure that requests are being sent by the browser, use a tool like 
WireShark to monitor the network traffic.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
anonymous wrote : 
  | Btw, how about trying this - Delete the existing EAR from the deploy folder 
(maybe through an Ant script) and once the EAR is deleted successfully, then 
just copy the new EAR to the deploy folder. See if that works.
  | 

After deleting the old ear file, when deploying the new ear, the war file it is 
unpacked to the tmp folder now, but there is still the  
java.lang.IllegalArgumentException: argument type mismatch
thrown as before, when catalina tries to initiate the servlet.

And there is an error message now that the servlet is not available, when the 
new webapp is calling the servlet.

JBoss seems to use either the old stubs or old skeletons if the argument does 
not fit the object that is injected?

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

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


[jboss-user] [JBoss jBPM] - Re: How to do a mass submit of documents

2008-04-21 Thread bhagatkota
you are right..I think I can use the List or some collection. Is there a way to 
retrieve all the process instances of one particluar document id, which is a 
part of that collection?
Are these stored in JBPM_VARIABLEINSTANCE table?

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

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


[jboss-user] [JBoss jBPM] - Re: How to do a mass submit of documents

2008-04-21 Thread kukeltje
not without writing your own hibernate queries and not sure how to access data 
IN collections but yes they are stored in that table

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Persistence config with mysql.

2008-04-21 Thread 2lopez
Hi there.

I'm working on the maintenance of an app running jboss 4.0.4. I'm the only 
person on the project so I've to configure everything on my own.

It's a simple struts app with a MySQL database. Everything seems ok, I followed 
strictly the instructions on this page: 
http://wiki.jboss.org/wiki/SetUpAMysqlDatasource

But when I start the server, I get this 
log:=
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/encore/jboss-4.0.4.GA
  | 
  |   JAVA: /usr/local/jdk1.5/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Dprogram.name=run.sh
  | 
  |   CLASSPATH: 
/home/encore/jboss-4.0.4.GA/bin/run.jar:/usr/local/jdk1.5/lib/tools.jar
  | 
  | =
  | 
  | 17:26:46,025 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 17:26:46,026 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
  | 17:26:46,027 INFO  [Server] Home Dir: /home/encore/jboss-4.0.4.GA
  | 17:26:46,027 INFO  [Server] Home URL: file:/home/encore/jboss-4.0.4.GA/
  | 17:26:46,028 INFO  [Server] Patch URL: null
  | 17:26:46,028 INFO  [Server] Server Name: default
  | 17:26:46,028 INFO  [Server] Server Home Dir: 
/home/encore/jboss-4.0.4.GA/server/default
  | 17:26:46,028 INFO  [Server] Server Home URL: 
file:/home/encore/jboss-4.0.4.GA/server/default/
  | 17:26:46,029 INFO  [Server] Server Log Dir: 
/home/encore/jboss-4.0.4.GA/server/default/log
  | 17:26:46,029 INFO  [Server] Server Temp Dir: 
/home/encore/jboss-4.0.4.GA/server/default/tmp
  | 17:26:46,065 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 17:26:46,545 INFO  [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
  | 17:26:46,545 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_15-b04,Sun Microsystems Inc.
  | 17:26:46,545 INFO  [ServerInfo] OS-System: Linux 2.6.22-14-generic,i386
  | 17:26:47,330 INFO  [Server] Core system initialized
  | 17:27:00,604 INFO  [WebService] Using RMI server codebase: 
http://encore-portatil:8083/
  | 17:27:00,626 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 17:27:01,268 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, 
RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server 
SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
  | 17:27:05,845 INFO  [MailService] Mail Service bound to java:/Mail
  | 17:27:06,661 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
  | 17:27:06,712 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
  | 17:27:06,838 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
  | 17:27:06,881 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 17:27:06,960 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/mail-ra.rar
  | 17:27:07,489 INFO  [WrapperDataSourceService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=cacv2' to JNDI name 'cacv2'
  | 17:27:07,548 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | [EMAIL PROTECTED] { 
url=file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war
  |   altDD: null
  |   lastDeployed: 1208791627547
  |   lastModified: 1208791627000
  |   mbeans:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war
  |   altDD: null
  |   lastDeployed: 1208791627547
  |   lastModified: 1208791627000
  |   mbeans:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
  |   State: CONFIGURED
  |   I Depend On:
  | jboss:service=TransactionManager
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | jboss:service=KeyGeneratorFactory,type=HiLo
  | 
  | 
  | 17:27:07,902 INFO  [Server] 

[jboss-user] [Security JAAS/JBoss] - request.isUserInRole() returns NULL in Jboss 5, beta 4.

2008-04-21 Thread Vellmont
I'm experiencing a NPE in Jboss 5 when I try to check the request for a 
specific role.  Example code below:

if  (request.isUserInRole(Employee))
System.out.println(not employee role);
else
System.out.println(employee role);
}

returns:
java.lang.NullPointerException

org.jboss.web.tomcat.security.JBossWebRealm.hasRole(JBossWebRealm.java:528)
org.apache.catalina.connector.Request.isUserInRole(Request.java:2184)

This is through the container performing the authentication.  The same method 
works fine under Jboss 4.0.3SP1, but migrating to Jboss 5 gives this error.

I know my roles are available, as accessing role information through 
SecurityAssociation works fine.

Any help would be appreciated.  I'm unsure if this is a configuration error, or 
an error in Jboss 5.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: SAP EP versus JBoss

2008-04-21 Thread [EMAIL PROTECTED]
Did you get a chance to test the fix?

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

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


[jboss-user] [JBoss Portal] - Re: WSRP Help

2008-04-21 Thread elihusmails
I think I have figured it out.  The problem was that the portlet-name value 
in jboss-portlet.xml did not match portlet-name value in portlet.xml did not 
match.

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

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


[jboss-user] [JBoss Messaging] - Re: Clustered server preference

2008-04-21 Thread chip_schoch
Thank you Andy and Clebert for taking the time to explain this in detail.  To 
reiterate, what you are saying is that if I need to have multiple consumers 
processing messages from a clustered queue in FIFO order, than I should have 
all my client consumers connect to the same node in the cluster.

I assume this means the MessageSucker will be pulling message from the nodes 
that have no consumers, to the node that has consumers.

Got it.

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

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


[jboss-user] [JBoss jBPM] - Re: Failure instantiating custom ActionHandler

2008-04-21 Thread chip_schoch
I found that I had moved jbpm-jpdl.jar into the server lib dir and also had it 
in my service archive.  The jbpm code tries to load the handler class using the 
same loader that loaded the jbpm lib, which was the root loader, not my 
services loader which was a descendant of that one.  When it did not find it it 
tried to get it from the database.  When I removed the jar from the server lib 
directory then it found my code because the same class loader loaded jbpm that 
loaded mine.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP Help

2008-04-21 Thread [EMAIL PROTECTED]
That would indeed be a problem... :)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem re-deploying war inside ear

2008-04-21 Thread cardoso
Jaikiran,

now I installed JBoss 4.2.2.GA and there the application is working as expected 
and redeployed correctly.

As you already guessed, it seems to be a JBoss 5 deployment problem.

Thank you very much for your help, I will switch to the 4.2.2 version of JBoss 
and wait for the release of an 5.0.0 alpha.

Best regards

Thomas



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

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


[jboss-user] [JBoss Portal] - Re: Error - Both MyFaces and the RI are on your classpath.

2008-04-21 Thread PeterJ
I checked my log. I am getting the same error as you - both MyFaces and RI are 
present. I have never run into a problem, so I would ignore this error.

However, if you removed the MyFaces jar from the locations you specified, and 
everything still works, I would leave it like that. 



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

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


[jboss-user] [JBoss Messaging] - Re: ((BytesMessage)message).readBytes(...) on a redelivered

2008-04-21 Thread plesur
Hi Jeff,

sorry wasn't available for the last two days.
I know now how I can prevent an empty byte-array on a redelivered bytemessage 
(redelivered by session.recover() on a non-transacted 
client_acknowledge-session)
which I get by invoking the previous mentioned standardoperations. 

The problem 'at our site' seems to be based on the configuration attributes:
. DefaultRedeliveryDelay (messaging-service.xml) 
. RedeliveryDelay (destinations-service.xml) (overwrites ServerPeer default)

My testresults for readBytes(...) on a redelivered bytesmessage with 
payloadAsByteArray=[72, 73, 95, 74, 69, 70, 70, 10]:
using the standard non clustered destination: testQueue.
with 0 or 1 msec as DefaultRedeliveryDelay  RedeliveryDelay or no entry 
(RedeliveryDelay only of course)
are:

ServerPeer (DefaultRedeliveryDelay) --- Destination (RedeliveryDelay) --- 
Result (Content of byte[] after .readBytes(...))
-
0 --- 0 --- [0, 0, 0, 0, 0, 0, 0, 0]
1 --- 0 --- [0, 0, 0, 0, 0, 0, 0, 0]
0 --- 1 --- [72, 73, 95, 74, 69, 70, 70, 10]
1 --- 1 --- [72, 73, 95, 74, 69, 70, 70, 10]
0 --- / --- [0, 0, 0, 0, 0, 0, 0, 0]
1 --- / --- [72, 73, 95, 74, 69, 70, 70, 10]

The weird thing is that case #5 can be found as part of the default 
configuration.
Well it's hard to believe that 'our' problem is based only on these two 
attributes
(many others would have the same problem then) but I can live with it knowning
that in the end the final saying delayattribute must have an value greater or 
equal one msec.

lesse

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

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


  1   2   >