[jboss-user] [Beginners Corner] - why can't i plug it in?

2008-07-04 Thread LittleOne
I just downloaded JBossTools 2.1.2.GA as the eclipse plug-in

i copy the two folders into the eclipse install directory

start up eclipse and nothing has happened

i do what the instructions say on the JBossIDE Install pdf, and there are all 
sorts of checkboxes and trees and stuff that don't appear in eclipse that the 
pdf refers to

i do what the JBossIDE Tutorial says to create a new project and nothing that 
shows up in those screen shots show up in eclipse

what am i doing wrong?

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

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


[jboss-user] [JBoss Portal] - Re: WARN [LoadContexts] fail-safe cleanup

2008-07-04 Thread Subemontes
OK.
Thanks!

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

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


[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread jaikiran
You are using a DailyRollingFileAppender which rolls over the file at midnight 
each day. It does not consider the file size for rollover. If you want it to be 
file size based then comment out this appender section and then uncomment the 
next section (which is for file size based rolling) in the jboss-log4j.xml :

!-- A size based file rolling appender --
  |appender name=FILE 
class=org.jboss.logging.appender.RollingFileAppender
  |  errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
  |  param name=File value=${jboss.server.log.dir}/server.log/
  |  param name=Append value=false/
  |  param name=MaxFileSize value=500KB/
  |  param name=MaxBackupIndex value=1/
  | 
  |  layout class=org.apache.log4j.PatternLayout
  |param name=ConversionPattern value=%d %-5p [%c] %m%n/
  |  /layout  
  |/appender
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Error:

2008-07-04 Thread Subemontes
[EMAIL PROTECTED] wrote : 
  | Otherwise, it seems that you are launching JBoss AS with -b 0.0.0.0. I 
think that the problem you encounter with WSRP is due to this. Take a look at: 
http://wiki.jboss.org/wiki/WSRPChangePorts for more information.
Yep. I'm lauching it with -b 0.0.0.0, read it in Wiki about securize the Jboss, 
consoles and so.

Is there a better way to lauch? I tried to configure server.xml with a IP but 
didnt work as i expected.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - 5.0CR! datasource accesed before it is bound

2008-07-04 Thread baz
I have tried 5CR1 but with no luck. The server will not start correctly when i 
deploy a seam project to it.
Please have a look here:
http://www.jboss.com/index.html?module=bbop=viewtopict=138584
I decided to first post there, because it could be a problem with JBoss Tools 
(with which i created the project)

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

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


[jboss-user] [Beginners Corner] - Re: why can't i plug it in?

2008-07-04 Thread LittleOne
to clarify the installation guide...

anonymous wrote : Start Eclipse.
  | • Select Help  Software Updates  Find and Install...
  | • Select Search for new features to install, and press Next 
  | • Select New Remote Site... from the right menu. In the dialog fill the 
name with JBoss Eclipse IDE and the
  | URL with http://download.jboss.org/jbosside/updates/stable
  | • Make sure JBoss Eclipse IDE has a check next to it, and press Finish.
  | • Expand the JBoss Eclipse IDE tree, and check the release named JBossIDE 
1.5. Click Next , and Eclipse
  | will ask you if you agree to the licensing terms of JBoss Eclipse IDE. If 
you agree, select I accept the terms
  | in the license agreement, and press Next 
That last step what JBoss Eclipse IDE tree?? there is none!

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

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

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


[jboss-user] [Performance Tuning] - Re: Best performance monitoring tool for jboss?

2008-07-04 Thread Subemontes
Profiling and Perfomance is the same thing ?
Sorry but english isn't my native language.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-04 Thread jaikiran
Juergen.Zimmermann,

Have you deployed the hskaDS datasource? The logs dont show anything about this 
datasource.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread jaikiran
I dont know how the JBoss Tools works. How are you deploying the application? 
Does it work if you manually copy the datasource and the application to the 
deploy folder of JBoss and start the server? If yes, then it looks like this is 
a problem with the order in which the JBoss Tools is deploying the application 
and the datasource. 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread baz
Thanks for the reply.
The ordering is not the problem, at least in respect to the tool.
The server is stopped, application and datasource are copied to the server.
The server is manually started.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread jaikiran
What is the filename of the datasource and the filename of your application 
(from the logs i see its jbas5.war, right?)


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

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


[jboss-user] [JBoss Portal] - Re: problem with IPC

2008-07-04 Thread senthilkumar.devan
Hi,

You just do hot deployment.
It means place helloworldipcportlet.sar inside ur 
default\deploy\jboss-portal.sar.

The hellowworldipcportlet.sar contains the following:
1.hellowworldipcportlet.war
2.meta-inf folder
3.lib folder

Inside hellowworldipcportlet.war u have just web-inf folder.
where it contains protlet.xml and portlet-instances.xml and *-object.xml

Inside meta-inf folder place your jboss-service.xml

Inside lib folder place your jar file. where the jar file contains ur portlet A 
and portlet B class.



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

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


[jboss-user] [JBoss Portal] - Forming ActionURL in XSLT

2008-07-04 Thread senthilkumar.devan
Hi,

Can any one tell how to form the action url in the XSLT.
Here my XSL is shown as UI. If i want to perform some action i need values 
displayed in the UI in my porcessaction method. Can anyone help me in this. i 
am struggling lot.

Thanks  Regards,
Senthil Kumar Devan

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread jaikiran
Tried a few things on JBoss-5 CR1 and JBoss-4.2.2 GA. There are changes in the 
way the deployers are working in CR1. Earlier in JBoss-4.2.2 there was a 
jboss-web.deployer in the deploy folder. Only the ROOT.war which was inside 
this jboss-web.deployer would be first deployed, then the datasources (present 
in the deploy folder) and then the war files in the deploy folder.

In CR1, the deployers have been moved to %JBOSS_HOME%\server\ 
serverName\deployers folder. And the war files in the deploy folder are always 
deployed first and then the datasources. So yes, the ordering has changed and 
hence the issue that you are seeing.

I will have to look into the documentation or the deployers folder to see if 
the order of the deployers can be changed to deploy the datasources first.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread baz
Thanks for looking into this.
anonymous wrote : In CR1, the deployers have been moved to 
%JBOSS_HOME%\server\ serverName\deployers folder. And the war files in the 
deploy folder are always deployed first and then the datasources. 
Does this mean that, with this default config, no *.war can access a datasource?


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

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


[jboss-user] [JBoss jBPM] - Re: Lock wait timeout exceeded probelm with mysql

2008-07-04 Thread ramkumar.k
Fred,
   Did you find any solution for this? I am also facing the same issue except 
it happens on one of my application tables.

thanks,
ram

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread jaikiran
This was just based on what i have been seeing so far with CR1. I will have to 
go through the documentation to understand what is the expected deployment 
order. One other user has asked a similar question here 
http://www.jboss.com/index.html?module=bbop=viewtopict=138587.  JBoss 
developers will be able to answer this better. I'll keep an watch on that 
thread.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread jaikiran
By the way, if your application was an EAR, i would have recommended you to 
package the -ds.xml in the EAR and add a module entry in jboss-app.xml to 
avoid any deployment ordering issues. But i don't see anything similar for a 
WAR.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread baz
Ok, thanks again. 

I have tried to create an ear project, but the tool does not deploy this 
correctly, but this is another issue

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

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


[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged?

2008-07-04 Thread ataylor
The problem is not confined to a specific version. As far as I'm aware the 
JMSTemplate still works in the same way.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Help Running Wizard-generated project as an EAR

2008-07-04 Thread baz
I do have the same problem. The mentioned Patches are installed inside eclipse. 
But it does not work.
seam.jar is not deployed and -ejb.jar is not deployed

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-04 Thread Juergen.Zimmermann
I've an exploded SAR archive inside the exploded EAR archive. The SAR archive 
contains a file hska-ds.xml (just as it is when running successfully with 
JBossAS 4.2.2)

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

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



[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-04 Thread jaikiran
I don't see any mention of the sar being deployed, in the logs. What does your 
jboss-app.xml look like? I usually package the -ds.xml at the root of the EAR 
and then place the jboss-app.xml in the META-INF of EAR with the following 
contents:

jboss-app
  |  
  |  module
  |servicemyDS-ds.xml/service
  |  /module
  |   
  | /jboss-app
  | 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects

2008-07-04 Thread [EMAIL PROTECTED]
As brian said, the locks come from CHM, which by default uses 16 segments (16 
hashmaps  + 16 reentrant locks). This should probably be configurable.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss IDE support for Eclipse Europa [3.3.2]

2008-07-04 Thread umesh_dandekar
Thanks for your help. I downloaded the JBossTools zip file and extracted it to 
the eclipse installation folder. But I don't see 
- a run dialog option that allows me to add the JBoss 4.2.2 application server
- an option to create EJB 3.0 style beans
- EJB 3.0 plugin in the plugins installed

Are the above a part of the JBoss Tools project? If not where can I find a 
plugin for those?

thanks,
~umesh

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects

2008-07-04 Thread [EMAIL PROTECTED]
Yes, but the CHMs used in the nodes to hold children don't use the default 16 
segments:


  | 
  | // Less segments to save memory
  | children = new ConcurrentHashMapObject, NodeK, V(4, .75f, 
4);
  | 

Ah, but the LockMaps do!!  Each LockMap - used to hold information on 
concurrent readers when using pessimistic locking - uses a ConcurrentHashSet, 
which is a wrapper around a CHM that implements Set.

JBCACHE-1383

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects

2008-07-04 Thread [EMAIL PROTECTED]
I've patched this in trunk and branch 2.2.X.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread gan.gary
thanks for the solution. Can i confirm it's the (4 GB for files) size limit on 
windows for 32 bit NTFS?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread baz
After successfully deployed the ear it does work. Even with an external 
*-ds.xml file.

So the only problem is war deployment.
Ciao,
Carsten



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

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


[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:

2008-07-04 Thread helmutdoe
Hi,

if i disable encryption and only sign my requests all is don completly 
successfull without occuring any kind of errors. Last night i tried downgrading 
again and used JEMS Installer: http://www.jboss.org/jemsinstaller/downloads/. 
After i had patched the included jbossws stack from 2.0.1 - 2.0.4 i get a new 
error which was allready discussed in this forum.


  | [Reference] Verification failed for URI #timestamp
  | 11:14:36,296 ERROR [WSSecurityDispatcher] Internal error occured handling 
inbound message:
  | org.jboss.ws.extensions.security.exception.FailedCheckException: Signature 
is invalid.
  | at 
org.jboss.ws.extensions.security.operation.SignatureVerificationOperation.process(SignatureVerificationOperation.java:65)
  | at 
org.jboss.ws.extensions.security.SecurityDecoder.decode(SecurityDecoder.java:134)
  | 
  | 

Since i had downgraded from 3.0.2 to 2.0.4 disabeling timestamps 
 sign  includeTimestamp=false/

arent allwoed any more.

I cant imagine that everyone who implements Webservices using jbossws - stack 
donot use encryption. If someone got this allready working please post an 
example :).

BIG Thanks and i hope that helps you 
timeagentess

Bye


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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.5 released

2008-07-04 Thread shamesh_joshi
This release seems to lack proper handling of Inter Portlet Communication for 
the case of JSF. I tried to deploy JSF portlets for IPC but couldn't succeed. 
Is this true?
If not can anyone provide simple example in IPC for the case of JSF in Portal 
2.0

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

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


[jboss-user] [EJB 3.0] - Override @Id with different generators

2008-07-04 Thread hamtho2
Hi,

is there a chance to override the defined generator for the @Id?
For example if I´d like to define the @Id in a superclass and 
only change the value of the db-sequence to use?

For example something like this:


  | @MappedSuperclass
  | public class BaseEntity  {
  | 
  | @Id
  | @GeneratedValue(generator=idGenerator)
  | @SequenceGenerator(name = idGenerator, sequenceName 
=base_entity_id_seq)
  | protected long id;
  | 
  | ..
  | }
  | 
  | @SequenceGenerator(name = idGenerator, sequenceName = another_id_seq)
  | public class AnEntity extends BaseEntity {
  | 
  | }

Any input is greatly appriciated

Thomas

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-04 Thread Juergen.Zimmermann
The exploded sar is contained in the exploded ear, and jboss-app.xml looks as 
follows (with the DTD for 5.0):
?xml version=1.0?
  | !DOCTYPE jboss-app
  | PUBLIC -//JBoss//DTD Java EE Application 5.0//EN
  | http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd;
  | jboss-app
  | module
  | service
  | hska.sar
  | /service
  | /module
  | /jboss-app

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: How do items get automatically removed from the cache?

2008-07-04 Thread [EMAIL PROTECTED]
Are you actually attaching the LRU or Expiry policy to a region?  :-)

Look at EvictionConfig and EvictionRegionConfig.

And make sure you add your EvictionConfig to your cache's Configuration using 
Configuration.setEvictionConfig() and use this Configuration instance with the 
CacheFactory to create a cache.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Retrieve Object from JBoss-Cache in memory

2008-07-04 Thread [EMAIL PROTECTED]
Try doing a cache.put(myObj, KEY, VALUE) before retrieving it from the cache 
using a cache.getNode().  :-)

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

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


[jboss-user] [JBoss Portal] - Re: Need IPC Sample

2008-07-04 Thread shamesh_joshi
Is there any sample example to run IPC in Portal 2.0 for JSF. Portal 1.0 only 
support for one to one IPC. I need to communicate with multiple portlet from 
single portlet.

Any help is highly appreciated. 
Regards,
Shamesh

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

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


[jboss-user] [JBoss jBPM] - Re: special task assignment

2008-07-04 Thread twiceknightly
Imagine a process with a single node that transitions back into itself.

Initially you want it assigned to a group so someone in that group can claim it 
(pull).

When someone claims it in the UI you will reassign it to that individual 
outside of the process e.g. with calls to jbpm like

getTaskForPooled ...
taskInstance.setActorId
(sorry cant remember the exact names of the API calls)

That task will now be assigned to the individual.  The problem is that once a 
transition is signalled in that task node the new task created will no longer 
be owned by that individual.  Hence the need for a node to be assigned to a 
group initially and then assigned to previous afer that.

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

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


[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-04 Thread ataylor
You'll probably find you aren't committing your transaction, add a 
session.commit() and you'll see the exception thrown. 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem

2008-07-04 Thread mircea.markus
thanks for spotting this.
This is a bug, indeed.
I've created http://jira.jboss.com/jira/browse/JBCACHE-1384
It is good that override is false at that point (that means that we do not want 
to *replace* the existing value). The problem is that overriding logic is 
broken, the old values override the new ones.
Here is my fix:
anonymous wrote : if(!override  oldNode != NULL_NODE_IN_ROW  
attrs != null)
  | {
  |Map newOne = new HashMap(oldNode);
  |if(attrs != null) newOne.putAll(attrs);
  |attrs = newOne;
  | }



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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread akazakov
What wizard do you use? New Dynamic Web Project?

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBossTools 2.1.2.GA released

2008-07-04 Thread john85
Hi,

I am relatively new to JBoss and am trying to get JBoss going in eclipse 3.4 
and am getting the error that Andy has described, I downloaded the WTP patch 
you suggested but i guess my installation of WTP is a different version than 
the jars targeted in the patch, for example one of the patch jars is 
org.eclipse.wst.server.core_1.0.207.v200803080837.jar, and the version in  my 
plugin directory is org.eclipse.wst.server.core_1.1.0.v20080530.jar, any idea's 
on what i can do to get it working? thank you in advance for your help!

Regards,
John

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162519
___
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 authenticate to the JBoss server from a desktop (

2008-07-04 Thread Marcos_APS
I changed the login module that I was using from this (my custom login module):

jaas.config
  | login
  | {
  | br.urca.www.laboratorioinformatica.seguranca.jboss.ModuloLoginFuncionarios 
required;
  | };

to this:

jaas.config
  | login
  | {
  | org.jboss.security.ClientLoginModule required;
  | };

Now I'm able to login 'normally' using loginContext.login(). But JBoss is now 
accepting any user I pass in and I suppose this is really not a good thing at 
the point of security. I would like to keep using my custom login module as I 
use in the web application, but there's the issue of the InitialContext that 
can't find the JNDI configuration from the client application.

Please, can someone help me with this issue, to find a solution to this. I 
would accept a workaround if it doesn't compromise the security of my web 
application, because the login module is also used by the web application. This 
issue is of paramount importance to me.

Thank you very much.

Marcos

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss-5.0.0.CR1-src installer or jboss source?

2008-07-04 Thread ps.ganesh
I've downloaded 'jboss-5.0.0.CR1-src' from jboss site.

I dont know how to configure 'jboss-5.0.0.CR1-src' 

Before That i want to know whether 'jboss-5.0.0.CR1-src' is installer or Jboss 
source??

Thanks



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162522
___
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 authenticate to the JBoss server from a desktop (

2008-07-04 Thread jaikiran
Marcos,

I could not get enough time to look through what you posted earlier. Sorry 
about that. 

anonymous wrote : But JBoss is now accepting any user  I pass in 

How have you secured your EJBs? Are you using a jboss.xml (similar to 
jboss-web.xml) to specify the security domain? And is this EJB2.x or EJB3.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread Marcelo.S_
zithuba wrote : Isn't the mispelling of datasourc  instead of datasource 

Don't think so, the exception is the same, but whit an 'e' at the end ):



jaikiran wrote : Try this, instead of the lines marked in bold, in your 
jboss-service.xml:
  | 
  | dependsjboss.jca:service=RARDeployer/depends
  |   | dependsjboss.jca:service=LocalTxCM,name=hibernate-ds/depends
  |   | 

Tried it, and gives the following exception:


javax.naming.NameNotFoundException: hibernate-ds not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | at 
org.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:64)
  | at org.hibernate.jmx.HibernateService.start(HibernateService.java:40)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
  | 
  |   // lots of exception lines here
  | 
  | 
  | 08:29:49,171 INFO  [HibernateServiceMBean] Could not build SessionFactory 
using the MBean classpath - will try again using client classpath: Could not 
find datasource
  | 08:29:49,218 INFO  [SessionFactoryObjectFactory] Factory name: 
java:/hibernate/HibernateFactory
  | 08:29:49,218 INFO  [NamingHelper] JNDI InitialContext properties:{}
  | 08:29:49,218 INFO  [NamingHelper] Creating subcontext: hibernate
  | 08:29:49,218 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI 
name: java:/hibernate/HibernateFactory
  | 08:29:49,218 WARN  [SessionFactoryObjectFactory] InitialContext did not 
implement EventContext
  | 08:29:49,234 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=hibernate-ds' to 
JNDI name 'java:hibernate-ds'
  | 08:29:51,609 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI 
name 'java:DefaultDS'
  | 08:29:51,718 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.startupWarning]
 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.startupWarning]
 You have chosen to enable multiple last resources in the transaction manager. 
This is transactionally unsafe and should not be relied upon.
  | 08:29:52,140 INFO  [A] Bound to JNDI name: queue/A
  | 
  | ...
  | 
  | 
  | 

From what I could understand, it is starting the Datasource right after the 
service, right?

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

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


[jboss-user] [JBoss jBPM] - Re: Modifing a Deployed Process Definition

2008-07-04 Thread kukeltje
anonymous wrote : will I be safe to just add the newafaik, yes

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-5.0.0.CR1-src installer or jboss source?

2008-07-04 Thread jaikiran
ps.ganesh wrote : 
  | Before That i want to know whether 'jboss-5.0.0.CR1-src' is installer or 
Jboss source??
  | 

It's the JBoss source code. If you want to use JBoss for deploying your 
application then you should download the binaries (the joss-5.0.0.CR1.zip at 
the download site).

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread zithuba
Yes, There is another topic dealing with this deployment problem, where a DS is 
deployed after the dependent ear or war.
http://www.jboss.com/index.html?module=bbop=viewtopicp=4162523#4162523

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

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


[jboss-user] [JBoss jBPM] - Re: special task assignment

2008-07-04 Thread kukeltje
ok... clear... not sure what a swimlane will do in this case. hmmm nice 
exercise for myself later on...

You might split it up in two... one 'start task' and a loop... both with the 
same functionality keep the first task as is and you can assign the second 
task to the one that had the previous task with a specific 
assignmenthandler 

now I think of it... you can also do this with a one task and a taskhandler. 
Just put the actor-id that picked the task up in a processvariable and have 
your assignment handler check for that. If it is there, assign to group AND 
individual (to later be able to reassign back in case of e.g. illness), if not, 
assign just to group

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread jaikiran
zithuba wrote : Yes, There is another topic dealing with this deployment 
problem, where a DS is deployed after the dependent ear or war.
  | http://www.jboss.com/index.html?module=bbop=viewtopicp=4162523#4162523

Probably not :)

Marcelo.S_ is using JBoss-4.2.2 GA and not JBoss-5.0 CR1. From what i know, the 
datasource dependencies work fine in 4.2.2 GA. We just have to figure out the 
correct depends value to use.


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

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


[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread jaikiran
gan.gary wrote : Can i confirm it's the (4 GB for files) size limit on 
windows for 32 bit NTFS?

Sorry, i did not understand the question. Are you asking if there is a limit of 
4GB for file size on windows?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162534
___
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 authenticate to the JBoss server from a desktop (

2008-07-04 Thread Marcos_APS
jaikiran wrote : Marcos,
  | I could not get enough time to look through what you posted earlier. Sorry 
about that. 
  | 

Never mind, Jaikiran.

jaikiran wrote : Marcos,
  | How have you secured your EJBs? Are you using a jboss.xml (similar to 
jboss-web.xml) to specify the security domain? And is this EJB2.x or EJB3.
  | 

Yes. My EJBs are secured. I'm using EJB3, JPA 1.0, JSF 1.2. Yes, I'm using 
jboss.xml.

Jaikiran, look at the first post when I started this discussion. Almost all my 
files (including jboss.xml) are there. You will have a better ideal about the 
configuration that I'm using in my web application.

Marcos

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

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


[jboss-user] [JBoss Cache: Core Edition] - JDBCCacheLoader

2008-07-04 Thread karnivas
When we use treecache.get() with JDBCCacheloader configured does it ALWAYS  
goes to the DB inspite of the data being in-memory ?

Please clarify the same.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread Marcelo.S_
jaikiran wrote : zithuba wrote : Yes, There is another topic dealing with 
this deployment problem, where a DS is deployed after the dependent ear or war.
  |   | http://www.jboss.com/index.html?module=bbop=viewtopicp=4162523#4162523
  | 
  | Probably not :)
  | 
  | Marcelo.S_ is using JBoss-4.2.2 GA and not JBoss-5.0 CR1. From what i know, 
the datasource dependencies work fine in 4.2.2 GA. We just have to figure out 
the correct depends value to use.
  | 

Was just taking a look at those topics:
http://www.jboss.com/index.html?module=bbop=viewtopict=138587
http://www.jboss.com/index.html?module=bbop=viewtopict=138584

It might not be the same cause, however it made me take a look at 
\server\default\conf\jboss-service.xml:

 !-- The URLComparator can be used to specify a deployment ordering
  |for deployments found in a scanned directory.  The class 
specified
  |must be an implementation of java.util.Comparator, it must be 
able
  |to compare two URL objects, and it must have a no-arg 
constructor.
  |Two deployment comparators are shipped with JBoss:
  |  - org.jboss.deployment.DeploymentSorter
  |Sorts by file extension, as follows:
  |  sar, service.xml, rar, jar, war, wsr, ear, 
zip,
  |  *
  |  - org.jboss.deployment.scanner.PrefixDeploymentSorter
  |If the name portion of the url begins with 1 or more digits, 
those
  |digits are converted to an int (ignoring leading zeroes), and
  |files are deployed in that order.  Files that do not start 
with
  |any digits will be deployed first, and they will be sorted by
  |extension as above with DeploymentSorter.
  |   --
  |   attribute 
name=URLComparatororg.jboss.deployment.DeploymentSorter/attribute
  | 
  |   !--
  |   attribute 
name=URLComparatororg.jboss.deployment.scanner.PrefixDeploymentSorter/attribute
  |   --
  | 

Just renamed hibernate-service.sar to hibernate-service.jar and it worked as a 
charm. I'm still curious thought, since the dependencies should work and 
renaming isn't really the best alternative.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader

2008-07-04 Thread [EMAIL PROTECTED]
No it shouldnt.


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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to pre-compile JSP using ANT task with JBoss 4.2.

2008-07-04 Thread RonanKER
Hi all,

We got the same problem. With JBoss 4.0.2, precompiling JSP is working fine but 
not with JBoss 4.2.1.
The ant task failed with the Unable to initialize TldLocationsCache message.

Removing all the doctype is working but is not an option: We have several TLD 
files provided by several jars. We don't want to update manually those jars.

There must be a right way to make precompilation successful without editing the 
TLD files. No ?

Is this the awaited behavior of the JSP compiler or is it a bug ?

Thanks for any help.

 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-5.0.0.CR1-src installer or jboss source? - downloa

2008-07-04 Thread ps.ganesh
from which following link i can download LINUX - JBOSS server

* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1-src.tar.gz
* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1.zip
* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1-src.tar.gz.SHA-256
* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1.zip.MD5
* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1-src.tar.gz.MD5
* http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1.zip.SHA-256

thanks

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

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


[jboss-user] [JBoss jBPM] - Re: special task assignment

2008-07-04 Thread twiceknightly
Good idea kukeltje!

 I tried the following but it didn't work.

1.  A taskNode A assigned to a group with a transition to taskNode B.
2. A tasknode B with the assignment expression previous.

when the token got to taskNode B previous seemed to evaluate to NULL and fell 
over. 

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

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


[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread gan.gary
will log file cause JBoss terminate?

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

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


[jboss-user] [JBoss Messaging] - Re: Messages was not delivered

2008-07-04 Thread ataylor
I'm not really sure what you're problem is, obviously if you unplug the network 
this will cause errors on either the client or server.

JBM works by sending messages to a client side buffer from which the client 
will consume messages from. This is for performance reasons. If you close the 
connection the consumer will wait to receive any messages that are still in the 
client side buffer, if at this point the server is unreachable the client will 
probably timeout waiting to ack the messages.



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

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


[jboss-user] [EJB/JBoss] - Re: EJB not bound :

2008-07-04 Thread Arvind_MV
Hi All,

I know that many have posted the same query but i followed some steps 
based on this post. But still i am unable to resolve the issue.

My test program is as shown below:

 nitialContext iniCtx= null;
Context ejbCtx = null;
CryptoHome home=null;
Properties props = null;
//MyBeanLocal local = null;
Object ref = null;
CryptoHome cryptoHome=null;
try {

/* iniCtx = new InitialContext();
//ejbCtx = (Context) 
iniCtx.lookup(java:comp/env/ejb/Crypto);
//home = (CryptoHome) iniCtx.lookup(Crypto); 
//java:comp/env/
home  = (CryptoHome) new 
InitialContext().lookup(java:comp/env/ejb/Crypto); */
props = new Properties();

props.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
props.put(Context.URL_PKG_PREFIXES,  
org.jboss.naming:org.jnp.interface);
props.put(Context.PROVIDER_URL, jnp://localhost:1099);
// I have tried localhost:1099, 127.0.0.1, etc  as 
well

   Context ctx= new InitialContext(props);
   // *never makes it here, exception NameNotFoundException*
  
   //Object ref = ctx.lookup(MyBeanLocal);
   cryptoHome = 
(CryptoHome)ctx.lookup(java:comp/env/Crypto);
   //local = cryptoHome.create();
} catch (NamingException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
  

At the crypto home it is throwing the nullpointer exception, is it right way of 
mentioning the JNDI name. In the Jboss console it shows 
javax.naming.NameNotFoundException: Crypto not bound 

Please let me know the solution.

Thanks,
Arvind

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-04 Thread ataylor
MDB's will only consume messages locally.  You should have the same MDB's on 
all nodes.

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

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


[jboss-user] [JBoss Messaging] - Re: RedeliveryTime and MaxDeliveryAttempts

2008-07-04 Thread ataylor
This is an MDB question, the app server guys should be able to help you

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

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


[jboss-user] [EJB 3.0] - Re: Could not find new XAResource to use for recovering non-

2008-07-04 Thread jhalliday
 But no extra module should be needed. 

Actually that depends exactly what version of the server you are running and 
what the transaction encompasses. JBM has its own recovery module, but it's not 
enabled by default. The JCA used for database connections also has one, but 
it's only bundled in recent versions of the EAP and even then it's not turned 
on by default.  In short, you probably don't need to write one, but you do need 
to hunt down one or two existing ones and wire them up.

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

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


[jboss-user] [JBoss Messaging] - Bug or feature? Modifying the payload and redelivery...

2008-07-04 Thread mclu
Hi!

Don't know if this is a bug or feature.

I am using a plain consumer (MessageConsumer.receiver(long)) in an transacted 
session inside a sessionbean. So JTA is used. (1.4.0SP3)

I receive my payload and reuse it in my backend. There it fills a List with 
other objects.
Then I rollback my transaction or throw an runtime exception.
My database instance increases the delivery_count and the message is received 
again in a new transaction. 

I expect a new payload object but no, its the already changed one.
Is this a bug or a feature? What says the spec?
:-)

Greets


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

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


[jboss-user] [Beginners Corner] - Re: JBoss failed for stress test? Or Log4j?

2008-07-04 Thread jaikiran
No. It won't.

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

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


[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:

2008-07-04 Thread timeagentess
Thank you! Well, I'll be following closely the jira issue related to this :)
Good luck to you, too!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-5.0.0.CR1-src installer or jboss source?

2008-07-04 Thread jaikiran
anonymous wrote : http://downloads.sourceforge.net/jboss/jboss-5.0.0.CR1.zip 

Download from the above link. It's a platform independent binary.


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

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


[jboss-user] [JBoss jBPM] - Re: How to implement undo Functionality on a process instanc

2008-07-04 Thread [EMAIL PROTECTED]
JBPM experts:

Any help  or input on this topic is appreciated. I need to implement in the 
current application.The only option i know now is to recreate the whole process 
to the step the user wants following the flow he took in previous process 
instance.

Thanks

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

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


[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-07-04 Thread dmary
up

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

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


[jboss-user] [JBoss Messaging] - Re: Bug or feature? Modifying the payload and redelivery...

2008-07-04 Thread ataylor
I'm assuming you're using an ObjectMessage. This sounds like 
http://jira.jboss.com/jira/browse/JBMESSAGING-1277.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread Marcelo.S_
Oddly enough, when I try to deploy my App.war (was trying without the looking 
up before) it loads before hibernate-service.jar and does not work since it 
cannot find the service:
10:10:22,468 INFO  [Catalina] Server startup in 87 ms
  | 10:10:22,625 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jboss-w
  | eb.deployer/ROOT.war/
  | 10:10:23,625 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/
  | http-invoker.sar/invoker.war/
  | 10:10:23,828 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, 
warUrl=.../deploy/
  | jbossws.sar/jbossws-context.war/
  | 10:10:24,515 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../
  | deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  | 10:10:27,609 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../dep
  | loy/management/console-mgr.sar/web-console.war/
  | 
  | ...
  | 
  | 10:10:36,375 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jb
  | oss.jca:service=DataSourceBinding,name=hibernate-ds' to JNDI name 
'java:hibernate-ds'
  | 
  | ...
  | 
  | 10:13:15,000 INFO  [TomcatDeployer] deploy, ctxPath=/App, 
warUrl=.../deploy/App.war/
  | 10:13:18,750 ERROR [HibernateUtil] Erro inicializando SessionFactory
  | javax.naming.NameNotFoundException: hibernate not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at dao.hibernate.HibernateUtil.clinit(HibernateUtil.jav
  | a:31)
  | 
  | ... // Lots of exceptions since App cannot load data
  | // Don't know why, but in this case hibernate-service.jar will not load
  | 
  | 
  | 

In my HibernateUtils.java I have:


  | static {
  | try {
  | Context ctx = new InitialContext();
  | sessionFactory = (SessionFactory) 
ctx.lookup(java:/hibernate/HibernateFactory);
  | 
  | } catch (Throwable ex) {
  | log.error(Erro inicializando SessionFactory, ex);
  | throw new ExceptionInInitializerError(ex);
  | }
  | }
  | 

That means, I cannot have hibernate-service.sar since it will fail to load 
because of the datasource; and cannot have hibernate-service.jar because the 
application will load first. Guess I'm back to the place I started!

So, any hints of how to make this dependencies in the jboss-service.xml work?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread Marcelo.S_
jaikiran wrote : Marcelo.S_ wrote : 
  |   | That means, I cannot have hibernate-service.sar since it will fail to 
load because of the datasource; 
  | 
  | The sar approach with datasource dependency should work. As i already 
mentioned, its all about getting the depends attribute right. Here's what the 
dependency in the jboss-service.xml should look like:
  | 
  |   | 
  |   | dependsjboss.jca:service=RARDeployer/depends
  |   | dependsjboss.jca:service=LocalTxCM,name=hibernate-ds/depends
  |   | dependsjboss.jca:name=hibernate-ds,service=DataSourceBinding/depends
  |   | 
  | 
  | Try it out and see if it  works.

There we go! I was missing this line:

  | dependsjboss.jca:name=hibernate-ds,service=DataSourceBinding/depends

So it would simply not work. Thanks for the help!

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

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


Re: [jboss-user] [JBoss Tools (users)] - Problem with JBoss AS 5.0.0CR1

2008-07-04 Thread Richard Huddleston
You should look into the depends tag.  Add it to the component that
depends on your DataSource.

On Fri, Jul 4, 2008 at 1:32 AM, baz [EMAIL PROTECTED] wrote:
 I do have a problem with JBoss AS5.
 datasource is accessed via JNDI before it is even bound

 My environment
 Win XP SP2
 Java 1.5.0 10
 Seam 2.0.3.CR1 (This should include compatibility patches for AS5.0)
 richfaces-ui-3.2.1.GA
 JBT 2.1.1

 The story:
 Created a Seam project with JBT 2.1.1  (mysql database)
 and deployed it successfully to JB AS 4.2.2GA

 Created a server for 5.0.0.CR1
 Deployed the above mentioned project to it.

 The problem is a kind of ordering:

  | 07:15:58,703 INFO  [Contexts] starting up: prunusEntityManagerFactory
  | 07:15:58,859 INFO  [Version] Hibernate Annotations 3.4.0.CR1
  | 07:15:58,890 INFO  [Environment] Hibernate 3.3.0.CR1
  | 07:15:58,906 INFO  [Environment] hibernate.properties not found
  | 07:15:58,921 INFO  [Environment] Bytecode provider name : javassist
  | 07:15:58,937 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 07:15:59,125 INFO  [Version] Hibernate Commons Annotations 3.1.0.CR1
  | 07:15:59,125 INFO  [Version] Hibernate EntityManager 3.4.0.CR1
  | 07:15:59,515 INFO  [NamingHelper] JNDI InitialContext 
 properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
  java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interf
  | aces}
  | 07:15:59,515 ERROR [DatasourceConnectionProvider] Could not find 
 datasource: java:/prunusDatasource
  | javax.naming.NameNotFoundException: prunusDatasource not bound
  |
  | 07:16:00,421 INFO  [ConnectionFactoryBindingService] Bound 
 ConnectionManager 'jboss.jca:service=DataSourceBinding,name=prunusDatasource' 
 to JNDI name 'java:prunusDatasource'
  |
 As you see, the datasource is accessed via JNDI before it is even bound:-(

 Can someone reproduce this behaviour?

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

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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread c0upal
Im using New Seam Project Wizard

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services

2008-07-04 Thread jaikiran
Marcelo.S_ wrote : 
  | That means, I cannot have hibernate-service.sar since it will fail to load 
because of the datasource; 

The sar approach with datasource dependency should work. As i already 
mentioned, its all about getting the depends attribute right. Here's what the 
dependency in the jboss-service.xml should look like:

  | 
  | dependsjboss.jca:service=RARDeployer/depends
  | dependsjboss.jca:service=LocalTxCM,name=hibernate-ds/depends
  | dependsjboss.jca:name=hibernate-ds,service=DataSourceBinding/depends
  | 

Try it out and see if it  works.

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

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


[jboss-user] [JBoss Tools (users)] - [Jboss Seam]Header-Line Items Save in one page/one click of

2008-07-04 Thread c0upal
I am trying to develop an invoicing screen that mimicks Client/server 
functionality.  I create the Header Entity and Line Items Entities all in one 
page and using one save only.

The idea is to keep track of the entities being created and persist it one by 
one.  Does the seam framework does it for me or do I have to code it manually?

I'm planning to use Richfaces 3.2 and use its inplaceEdit components to edit 
line item fields on the fly. 

Is this even possible out of the box with Richfaces 3.2 and Seam?



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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Toplink and Jbos 4.2.2

2008-07-04 Thread CarlosDelfino
Hi all!
anybody have one soluction for this warning?

I get too!
10:55:48,345 INFO  [STDOUT] [TopLink Warning]: 2008.07.04 
10:55:48.345--java.lang.NullPointerException: null was thrown on attempt of 
PersistenceLoadProcessor to load class model.PlanoAssinatura. The class is 
ignored.

thanks a Lot



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

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


[jboss-user] [JBoss jBPM] - Re: How to implement undo Functionality on a process instanc

2008-07-04 Thread jbarrez
Undo functionality is  something that's not easily to implement nor can it 
generically be solved since custom actionHandlers always mess up things.

A possible approach is:
- use the jbpm log for the simple rollbacks
- use an undo operation on actionHandlers

As you see, quite some work will be involved

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Toplink and Jbos 4.2.2

2008-07-04 Thread CarlosDelfino
Hi all!
anybody have one soluction for this warning?

I get too!
10:55:48,345 INFO  [STDOUT] [TopLink Warning]: 2008.07.04 
10:55:48.345--java.lang.NullPointerException: null was thrown on attempt of 
PersistenceLoadProcessor to load class model.PlanoAssinatura. The class is 
ignored.

thanks a Lot



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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread akazakov
Ok. This page (JSF Capabilities) is part of WTP JSF Tools. We just let user to 
set up the WTP JSF Facet in our wizard.
And it should work if you add Richfaces jars using Component Libraries 
section in JSF Capabilities page.
It doesn't copy libs to WEB-INF/lib but it adds them into project classpath and 
they are avalible for tld importing. Also they are deployed to server.
Coping libs into WEB-INF is just alternative of it.
If it doesn't work in your JBoss Tools, please report it to jira.

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

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


[jboss-user] [EJB 3.0] - Re: Could not deploy EJB3.0 entities

2008-07-04 Thread CarlosDelfino
Hi all!
anybody have one soluction for this warning:
11:22:56,909 INFO  [STDOUT] [TopLink Warning]: 2007.11.11 
11:22:56.909--Thread(Thread[main,5,jboss])
--java.lang.NullPointerException: null was thrown on attempt of 
PersistenceLoadProcessor to load cla
ss com.prapansol.demos.model.Emp. The class is ignored.


I get too!
10:55:48,345 INFO  [STDOUT] [TopLink Warning]: 2008.07.04 
10:55:48.345--java.lang.NullPointerException: null was thrown on attempt of 
PersistenceLoadProcessor to load class model.PlanoAssinatura. The class is 
ignored.

thanks a Lot


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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread c0upal
How do I post to JIRA?

Sorry. Just new to this processes?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread akazakov
See http://jira.jboss.com/jira/browse/JBIDE
Use CREATE NEW ISSUE.
And please describe your steps in detail.
Screenshots will be very useful.
I've tried to reproduce it but it seems to work for me.

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

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


[jboss-user] [JBoss Portal] - CMS portlet lost title when minimized

2008-07-04 Thread avalendino
Hi to everyone

i have a problem with portlets that contains CMS content. When i minimize this 
tipe of portlet Windows jboss portal lose the window title and show the word 
CMS instead. When the CMS portlet window is in another state(such as normal 
or mazimized) the title is shown well and so i believe that it isn't a store 
problem, for example the database not updated or something similar, otherwise 
the title should be never rendered.
Who can give an hand to solve this bug?
thanks a lot
Antonio

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

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


[jboss-user] [EJB/JBoss] - Re: EJB not bound :

2008-07-04 Thread jaikiran
anonymous wrote : In the Jboss console it shows 
javax.naming.NameNotFoundException: Crypto not bound 

Follow the steps mentioned at 
http://wiki.jboss.org/wiki/DisplayTheJNDITreeWithTheJMXConsole and find the 
jndi-name of your bean. Then use that jndi-name for looking up the bean.


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

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


[jboss-user] [JBossWS] - remote authentication=no route to host found

2008-07-04 Thread timeagentess
Hello all,

I am testing authenticated access to a web service, with a security domain of 
my own and username/password taken from a mySQL database. I am using JBoss 
4.0.5 and JBossWS 2.0.3, and on my localhost I have the mySQL database from 
where the username and password are taken, as well as the client.

Everything works perfectly when I have all things deployed locally (web 
service, database, client). However, I run into problems when invoking the web 
service deployed on a remote machine. 

On the remote server console a no route to host error appears:
anonymous wrote : 
  | Caused by: com.mysql.jdbc.CommunicationsException: Communications link 
failure due to underlying exception: 
  | 
  | ** BEGIN NESTED EXCEPTION ** 
  | 
  | java.net.SocketException
  | MESSAGE: java.net.NoRouteToHostException: No route to host
  | 
  | STACKTRACE:
  | 
  | java.net.SocketException: java.net.NoRouteToHostException: No route to host
  | at 
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
  | at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284)
  | 

On the client side I receive an Unauthorized error:
anonymous wrote : 3875 [main] DEBUG 
org.jboss.remoting.transport.http.HTTPClientInvoker  - Error invoking http 
client invoker.
  | org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized
  | at 
org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:77)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
  | ...
  | javax.xml.ws.WebServiceException: java.io.IOException: Could not 
transmit message
  |  

Using the default JBossWS security domain, with username kermit and 
password thefrog taken from users.properties, works with both local and 
remote deployment of my web service. So I was thinking maybe the data source is 
not found?

However, the database seems to be correctly bound, judging by the server log 
data:
anonymous wrote : INFO  
[org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/WSTwoDS' to 
JNDI name 'java:jdbc/WSTwoDS'  

Perhaps my client needs special jndi.properties settings? (pure brainstorming, 
potentially stupid, based on some forum posts I browsed)

How my files look like: 

Security-relevant annotations on Web Service (which is deployed as SLSB in an 
ear):
@org.jboss.wsf.spi.annotation.WebContext(contextRoot = /webservices-ws, 
urlPattern=/services/WSTwo/*, authMethod=BASIC, transportGuarantee=NONE, 
secureWSDLAccess=false)
  | @SecurityDomain(wstwo)
  | @RolesAllowed(friend)

In server/default/conf/login-config.xml on the remote machine I have added the 
wstwo application policy thus:
application-policy name=wstwo   
  | authentication 
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule 
  |  flag=required 
  | module-option 
name=dsJndiNamejava:/jdbc/WSTwoDS/module-option 
  | module-option name=principalsQuery   
  | select pass from USERS where login=? 
  | /module-option 
  | module-option name=rolesQuery 
  | select role,'Roles' from USER_ROLES where login=? 
  | /module-option 
  | /login-module 
  | /authentication 
  | /application-policy 

And the data source for the web service is defined in the 
server/default/deploy/*-ds.xml file like this:
  local-tx-datasource
  | jndi-namejdbc/WSTwoDS/jndi-name
  | 
connection-urljdbc:mysql://IP_OF_MY_LOCALHOST:3306/security/connection-url
  | ...
  |   /local-tx-datasource

And of course the tables as described in the application policy are defined on 
my local machine.

In the client I pass the username and password:
((BindingProvider)wstwo).getRequestContext().put(BindingProvider.USERNAME_PROPERTY,
 user);
  | 
((BindingProvider)wstwo).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,
 pass);

Does anyone have any idea about where I'm doing something wrong? Thank you!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2

2008-07-04 Thread c0upal
Hmm.. That weird.. The steps are pretty much the same according to most 
tutorials on JBoss.

Im using Eclipse Europa, and installed Jboss Tools.2.0.1-GA, JbossAS4.2.2.GA 
and Jboss Seam-2.0.2.SP1

1. Choose New Seam Web Project
2. Set Project Name MyNewProject, Target Runtime JbossAS 4.2 Server, 
Configurations Dynamic WebProject Seam 2.0(Preview)
3. In the JSF Capabilities I cretead a library and selected  the jars that came 
with Richfaces 3.2
...
...

4. On the Generated Project, the WEB-INF/lib folder does have the original 
rich-faces-ui.jar that came bundled with JbossSeam tools. But the RichFaces 3.2 
jars were on a different directory.

5. Now when Apps gets deployed, I am getting a DeploymentException saying it 
can't find the ..default/deploy/MyApp-ear.ear/rich-faces-ui.jar , So i have to 
copy the ui.jar from Richfaces 3.2 and then rename it rich-faces-ui.jar.

Anyway, will just log it on JIRA. might be really a bug.

thanks,

Anton


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

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


[jboss-user] [Beginners Corner] - jboss on port 80

2008-07-04 Thread gaichi2
The default access port for a war or ear file deployed in jboss is port 8080.  
I'm wondering if it's safe to switch this to normal HTTP port 80.

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

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


[jboss-user] [JBoss Portal] - Re: Universal per portlet instance configuration for all use

2008-07-04 Thread michaelchan
What if i need some logic to translate information from database into human 
readable form?? 

say if I want a portlet to display some user in a usergroup, I cannot ask the 
admin to input the groupID directly, a drop down box should be there to provide 
such selection. With edit and admin mode, the preference are not stored on a 
per / portlet instance basis. It only happens if i use the instance 
configuration in the admin portlet. can anyone help??

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

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


[jboss-user] [JBoss Getting Started Documentation] - Install JBOSS 4.2.2 - HELP

2008-07-04 Thread nelsonrp24
Hi, i'm try install Jboss 4.2.2. I downloaded the file 
jboos-4.2.2.GA-src.tar.gz from http://www.jboss.org/download/ 
--Downloads--JBoss Application Server, them i run: 
tar -xvf jboos-4.2.2.GA-src.tar.gz and all file were copied in the folder 
jboos-4.2.2.GA-src, but i don't know to do.

I read the installation_Guide.pdf but, the installation method is diferent.

Thanks for your Help

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss 3.2.2GA and application.xml

2008-07-04 Thread rwilson9
I'm trying to create a richfaces 3.2.1 project in Europa.  Unless I use Jboss 
4.2, I can't select the 2.5 dynamic web module in facets.  If don't use 2.5 web 
module, I can't use faces 1.2.  And if I can't use faces 1.2, I can't use 3.2.1 
richfaces.   Has anybody gotten 3.2.1 to work with Jboss? if so, what were the 
project facets, java version, etc?  I don't know how to solve the 
application.xml not found problem trying to upgrade to faces 1.2. 

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

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


[jboss-user] [JBoss jBPM] - Deploy the jBPM 3.2.3 JBoss 4.2 / 4.3

2008-07-04 Thread ehsanmx
hi 
If you want to deploy jbpm 3.2.x or higher under jboss 4.x you must follow 
these steps:
Step 1 :

Extract jbpm-console.war 


  | tar -xvf jbpm-console.war
  | --META-INF  WEB-INF   images  index.jsp  sa   ua

Remove this jar file from  WEB-INF/lib/ :

  | 
  | - commons-fileupload.jar
  | - jbpm-identity.jar
  | - jbpm-jpdl.jar 
  | 

Just you must have these jar file in WEB-INF/lib/ :

commons-io.jar  gravel.jar  jbpm4jsf.jar  jsf-facelets.jar

Create war file :

zip -r jbpm-console.war *

step 2 :
add this XML block to the conf/login-config.xml file under the 4.2 / 4.3 
installation:

  | application-policy name = jbpm
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option 
name=dsJndiNamejava:/JbpmDS/module-option
  | module-option name=principalsQuery
  | SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=?
  | /module-option
  | module-option name=rolesQuery
  | SELECT g.NAME_ ,'Roles'
  | FROM JBPM_ID_USER u,
  | JBPM_ID_MEMBERSHIP m,
  | JBPM_ID_GROUP g
  | WHERE g.TYPE_='security-role'
  | AND m.GROUP_ = g.ID_
  | AND m.USER_ = u.ID_
  | AND u.NAME_=?
  | /module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

Database configuration
If you are using hypersonic as in the suite:
* copy over the jbpm-ds.xml file from the 3.2 JBPM installation to the 4.2 
environment (found under the jbpm/deploy directory).
* Copy the jbpm/data/hypersonic/jbpm* from the 3.2 installation to the 4.2 
default/data/hypersonic/ directory.
from wiki page :
http://wiki.jboss.org/wiki/DeployJbpm3.2WebAppUnderJBoss4.2.x

ok. when you complete these steps you must follow this step for JTA 
UserTransaction :

add this line to hibernate.cfg.xml :

property name=jta.UserTransactionUserTransaction/property

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

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


[jboss-user] [JBoss Messaging] - Re: Bug or feature? Modifying the payload and redelivery...

2008-07-04 Thread mclu
Yes!
You are right! That's it.

I fixed it via creating a copy of my ObjectMessage Payload. I can remove my fix 
then if patch is part of next GA  or SP release :-)

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

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


[jboss-user] [JBossWS] - Re: Problem using a SOAP interface on JBOSS server

2008-07-04 Thread gbc
Hi Milan,
 At this point you should have solve your problem, but how I find the same 
problem and the reason of it, I'm posting for others consult.

Apparently, WSConsume tool is generating wrong code when besides you specify an 
web URL to the wsdlLocation you specify a file URL.
The consequence is that the generated code point to an inexistent wsdl file, 
how you can see in the warning log 2008-05-11 16:13:35,514 WARN  
[org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot access wsdlUR
L: 
file:/C:/Documents%20and%20Settings/cm304k/My%20Documents/R7/WFM%20IIA/GRANITEAsgnMgmt_QNI_AD_MER
GE/GRANITEAsgnMgmt.wsdl.
To solve the problem you must edit the generated code of the Service class.
Where you read:

static {
URL url = null;
try {
url = new URL(file:/C:/META-INF/wsdl/ConsultarCPF.wsdl);
} catch (MalformedURLException e) {
e.printStackTrace();
}
CONSULTARCPF_WSDL_LOCATION = url;
 }

write:
static {
URL url = null;
url = 
ConsultarCPF.class.getResource(/META-INF/wsdl/ConsultarCPF.wsdl);
CONSULTARCPF_WSDL_LOCATION = url;
}

Regards, 
Gustavo

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

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


[jboss-user] [JBoss Portal] - Re: Error:

2008-07-04 Thread PeterJ
The problem with not using -b  is that the IP to bind with appears in 
numerous configuration files. Therefore, if you want to change server.xml, you 
must also change all of the other configuration files - they will all use 
${jboss.bind.address} so they are not really that hard to find.

But if all that you are doing is wanting to avoid having to remember adding -b 
xxx to the run command, why not modify the run script to provide the -b xxx?

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

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


[jboss-user] [Performance Tuning] - Re: Best performance monitoring tool for jboss?

2008-07-04 Thread PeterJ
A performance monitor will typically tell you how well an application is 
performing. For example, it might tell you requests per second.

A profiler will tell you how long it is taking your app to service a request, 
and how often it services certain types of requests. This can usually be  
broken down all the way to the individual methods. For example, how many time 
method X was called and the average/maximum/minimum amount of time spent in 
method X.


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

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


[jboss-user] [Beginners Corner] - Re: why can't i plug it in?

2008-07-04 Thread PeterJ
It has been a while since I used JBoss Tools, but from what I recall, it was 
always very picky concerning the version of Eclipse. What version of Eclipse 
are you using?

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

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


[jboss-user] [Beginners Corner] - Re: jboss on port 80

2008-07-04 Thread PeterJ
See http://wiki.jboss.org/wiki/JBossOnPort80

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Install JBOSS 4.2.2 - HELP

2008-07-04 Thread PeterJ
You downloaded the source, not the binary.  Download the jboss-4.2.2.GA.zip 
file instead.

Installation is easy: unzip the zip file (it is best if you do NOT place it in 
a path with spaces, such as Program Files on Windows)

Then make sure JAVA_HOME environment variable is set to the directory where you 
installed a JDK.

Then go to the jboss_home/bin directory and execute the run script (run.bat or 
run.sh - on Linux you will have to first grant run.sh execute privileges)

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

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


  1   2   >