[JBoss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released

2006-06-02 Thread Juergen.Zimmermann
I can't find the 3 client libs

  | jboss-ejb3-client.jar
  | jboss-annotations-ejb3.jar
  | hibernate-client.jar
Are they missing?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948854#3948854

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948854


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Newbie needs advice on Lazy collections

2006-06-02 Thread tsar_bomba
"echon" wrote : if you know your use-cases lazy-loading is not a big problem.
  | 
  | If you know exactly what to load use a facade with where the business 
methods load what you want. Inside the BM use the EJB QueryLanguage like
  | from User u left join fetch u.companys as c left join fetch c.country where 
u.login=:login
  | Problem here is you have to be carefull, if you have more than one left 
join, because you get a the scalar as result (like in this case where you (can) 
get the user x times, also if login is unique)
  | 
  | Another way to do so is to make your faced as Statefully SessionBean (SFSB) 
with a longrunning PersistentContext. In this you get persistent (not detached) 
object you can work with. Also here you should do as much as possible with a 
left join fetch from the associated entities you need in your use-case (one 
join is better than execute a Select each time - if you have products you don't 
want a select for each category).
  | With a SFSB you control the lifecycle of the bean and the 
persistentcontext. So you have "manually" remove the bean by calling a method 
annotated with @Remove.
  | 
  | For SFSB and Extended PersistenceContext read the JBoss EJB 3 Trailblazer. 
If you a familiar with JSF it is a good idea to have a deep
  | look at JBoss Seam (first choice for a good web-application).
  | 
  | Regards
  | 
  | Peter

Peter, thank you, this really helped.  I wasn't aware of the left join fetch 
option, it solves (most) of my problems and was incredibly simple.  I must have 
been looking in all the wrong places for this information!

Thanks again!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948853#3948853

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948853


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Configuration files outside of war file

2006-06-02 Thread visolvejboss
Hello,

Create a directory named libinside the war (WEB-INF/lib) and copy the 
configuration (.properties) files into lib directory. At runtime JBoss will 
automatically load these files.


Regards,
ViSolve JBoss Team.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948852#3948852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948852


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Re: Trouble invoking a web Service from JBoss with JBoss-IDE

2006-06-02 Thread visolvejboss
Hello,

>From JBoss-4.0.2 release the jboss server comes with their own implementation 
>of axis server (JBossWS). Their package specification is "org.jboss.axis" 
>instead of apache's "org.apache.axis". 

Regards,
Visolve JBoss Team

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948851#3948851

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948851


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - JAR files required

2006-06-02 Thread satheeskumar
I need jboss-boot.jar file and some other files to configure a application 
server in eclipse IDE. How can I get those jar files 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948850#3948850

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948850


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Is this a bug?

2006-06-02 Thread DoubleDenim
Or am i doing something wrong?

I brought this up in an earlier post to which no-one has responded so i took 
some time to create a test project. If anyone wants me to zip it up and send, 
let me know.


The problem: lazy initialisation of the many part of a OneToMany always returns 
an extra record in the array in the form of a null object at the beginning of 
the PersistentList.

Variable output

  | this= PersistenceManagerBean  (id=415)
  | id= Integer  (id=427)
  | a= ClassA  (id=435)
  | classBs= PersistentList  (id=467)
  | cachedSize= -1
  | directlyAccessible= false
  | dirty= false
  | initialized= true
  | initializing= false
  | key= Integer  (id=474)
  | list= ArrayList  (id=481)
  | elementData= Object[10]  (id=499)
  | [0]= null
  | [1]= ClassB  (id=501)
  | [2]= ClassB  (id=502)
  | [3]= null
  | [4]= null
  | [5]= null
  | [6]= null
  | [7]= null
  | [8]= null
  | [9]= null
  | modCount= 3
  | size= 3
  | operationQueue= null
  | owner= ClassA  (id=435)
  | role= "test.persistence.ClassA.classBs"
  | session= SessionImpl  (id=488)
  | storedSnapshot= ArrayList  (id=497)
  | id= Integer  (id=474)
  | name= "main  "
  | classb= null
  | 



Persistence Manager
package test.persistence.manager;
  | 
  | //import java.util.List;
  | 
  | 
  | import javax.ejb.Stateless;
  | import javax.persistence.PersistenceContext;
  | 
  | import org.jboss.annotation.ejb.RemoteBinding;
  | import test.persistence.ClassA;
  | import test.persistence.ClassB;
  | 
  | 
  | 
  | @RemoteBinding(jndiBinding="PersistenceManagerTest") 
  | public @Stateless
  | class PersistenceManagerBean implements PersistenceManager {
  | 
  | @PersistenceContext(unitName = "ejb3testproject")
  | javax.persistence.EntityManager em;
  | 
  | 
  | 
  | public ClassA getClassaById(Integer id) {
  | 
  | ClassA a = new ClassA();
  | try {
  | 
  | a = (ClassA) em.createQuery(
  | "SELECT DISTINCT OBJECT(a)" + "FROM 
ClassA a "
  | + "WHERE a.id = :id")
  | .setParameter("id", id)
  | .getSingleResult();
  | 
  | }
  | catch(Exception e)
  | {
  |  System.out.println(e.getLocalizedMessage());
  | }
  | for(ClassB classb:a.getClassBs())
  | {
  | System.out.println(classb.getName());
  | }
  | 
  | return a;
  | }
  | 
  | 
  | }
  | 


ClassA Entity
package test.persistence;
  | import java.io.Serializable;
  | import java.util.List;
  | 
  | import javax.persistence.*;
  | 
  | import org.hibernate.annotations.IndexColumn;
  | 
  | @Entity
  | @Table(name="classA")
  | public class ClassA implements Serializable{
  | 
  | 
  | java.lang.String name;
  | 
  | Integer id;
  | 
  | List classBs;
  |   
  | 
  | @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
  | @Column(name="classa_id")
  | public java.lang.Integer getId() {
  | return id;
  | }
  | 
  | public void setId(java.lang.Integer id) {
  | this.id = id;
  | }
  | 
  | @Column(name="name")
  | public java.lang.String getName() {
  | return name;
  | }
  | 
  | public void setName(java.lang.String name) {
  | this.name = name;
  | }
  | 
  | @OneToMany(mappedBy="classA")
  | @IndexColumn(name="classb_id")
  | public List getClassBs() {
  | return classBs;
  | }
  | 
  | public void setClassBs(List classBs) {
  | this.classBs = classBs;
  | }
  | 
  | }
  | 


ClassB Entity
package test.persistence;
  | import java.io.Serializable;
  | import java.util.List;
  | 
  | import javax.persistence.*;
  | 
  | @Entity
  | @Table(name="classB")
  | public class ClassB implements Serializable{
  | 
  | 
  | java.lang.String name;
  | 
  | Integer id;
  | 
  | ClassA classA;
  |   
  | 
  | @ManyToOne(fetch=FetchType.EAGER)
  | @JoinColumn(name="classa_id")
  | public ClassA getClassA() {
  | return classA;
  | }
  | 
  | public void setClassA(C

[JBoss-user] [JBoss Portal] - how to create portlet URL with /auth

2006-06-02 Thread yxyang
Hello,

I want to create a URL string from a portlet.

THe URL need to invoke the authentication of the user. 

like /portal/auth/index?. 

I am not sure how to command the portal renderrespoonse to create the the 
correct URL with "auth" portion. I went through the jboss portal source code, 
it seems that some code like "wantAuthenticated" .. But i don't know how to 
make it work.

Please help.

yang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948846#3948846

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948846


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBPM3.11 can not work with hibernate3.05!

2006-06-02 Thread phoenix520
thank you so much,after modified the hibernate.queries.hbm.xml ,it work fine 
now!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948845#3948845

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948845


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread [EMAIL PROTECTED]
Always a good thing :-)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948844#3948844

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948844


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss and NetBeans] - Re: portlet development

2006-06-02 Thread dbotterill
Are you talking about the helloworld example at 
http://labs.jboss.com/file-access/default/members/portletswap/downloads/portlets/samples/HelloWorldPortlet.zip?

If so, the build.xml mentions a .ear file but it really doesn't build it.  If 
you look at the directions in README.txt with this example, it states you can 
"hot deploy" by dropping the WAR file in the appropriate directory.  This means 
you simply have to build your NetBeans project and drop the WAR file in the 
necessary directory for a hot deploy.  Of course then you'll have to use JBoss 
Portal's UI to define it in the Portal.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948843#3948843

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948843


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread ofrijole
Cool, I finally got everything right and things are running!  Thanks for your 
help.  This means I get to go home tonight. ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948841#3948841

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948841


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Please help me on JTA's problem with oracle

2006-06-02 Thread [EMAIL PROTECTED]
Please take a look at the READ-ME-FIRST post at the top of this forum. 
Specifically look here:

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

and

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

At the very least tell me what version of Oracle, JBoss, OS etc, ec. 

Also, please post your *-ds.xml file. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948840#3948840

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948840


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread [EMAIL PROTECTED]
Sorry, I mispoke. You will have to convert your ra.xml file over to the 1.5 
format. 

If you look at any of the ra.xml files in the JBoss source tree:

connector
  -->src
 -->resources
 -->local-*
 -->xa-*
   -->META-INF
 -->ra.xml

You will see an example of how to do this. 

Note, you have the option of using the DummyResourceAdapter, but you probably 
just want to write one of your own. The ResourceAdapter class doesn't really 
have to do anything beyond being included in the rar. 

This is what we do with the DummyAdapter. 

Sorry for the confusion. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948839#3948839

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948839


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Forum portlet error

2006-06-02 Thread unibrew
"rutfield" wrote : Instead, per your suggestion, I took the latest from head.
  | The portal builds and deploys fine; however, building the forums gives
  |  the errors below. I can take care of the test ones, but am not sure where 
the MyFaces issues are from.

Now it should build without any errors and should work properly.

Cheers

Ryszard Kozmik
JBoss Forums Lead

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948838#3948838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948838


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread [EMAIL PROTECTED]
Sorry, I should have been more clear. 

You can do one of the following: 

In the 

 
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/connector_1_5.xsd"; 
version="1.5"> 

Section, you can either set this to "1.0" or just omit it all together. If you 
don't mind, could you post your ra.xml, just so I could have a look. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948837#3948837

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948837


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread ofrijole
Well, now things are happening when I copy the .rar into the deploy directory.  
Not sure why they weren't before.  In any case, I need to clarify which version 
of the dtd/xsd I should be using.  My existing ra.xml has the following header:


http://java.sun.com/dtd/connector_1_0.dtd'>

Should I be using the following instead:


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/connector_1_5.xsd";
   version="1.5">

Is this version="1.5" what you said I could omit?

I've tried modifying my old 1.0 dtd based ra.xml to remove the  
tags and I've tried omitting the above version property from a 1.5xsd based 
version of the ra.xml.

With both versions of the ra.xml, I'm getting an error like the following:

17:20:52,485 ERROR [MainDeployer] Could not initialise deployment: 
file:/C:/Apps/jboss-4.0.4.GA/server/default/deploy/myadapter.rar
org.jboss.deployment.DeploymentException: Error parsing meta data 
jar:file:/C:/Apps/jboss-4.0.4.GA/server/default/tmp/deploy/tmp51507myadapter.rar!/META-INF/ra.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948836#3948836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948836


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - EJB3 + WebServices + Type Schema Generation

2006-06-02 Thread pablojavierpy
Hi all.

I am having a little problem with EJB3 + WebServices exposed as SEI JSR-181.

I am using the JSR-181 annotations, JBoss 4.0.4 GA with JBossWS 1.0. 

I have no problems when using simple types.

But when it comes to complex types with arrays, I think I am getting wrong WSDL 
generated.

This is my WebService:


  | @WebService
  | (
  | name = "SessionManagement", 
  | targetNamespace = "http://com.roshka.services/myapplication/";, 
  | serviceName = "SessionManagementService" 
  | )
  |   
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | @Stateless
  | public class SessionManagementEJB {
  | 

The methods I am exposing are:


@WebMethod
  | public String getCurrentVersion()
  | {
  | return SessionManagementEJB.CURRENT_VERSION;
  | }
  | @WebMethod
  | public RUCASConnectResponse RUCASConnect(
  | AppInfo appInfo,
  | LoginMethod[] loginMethods,
  | CryptMethod[] cryptMethods
  | )
  | {
  |  return null;
  | }
  | 

The problem is that the WSDL I am getting generated contains two definitions of 
CryptMethod type in two different namespaces. Is it correct?




  |  
  |   
  |
  |
  |
  | 
  |  
  |  
  | 
  |  
  |  
  | 
  |
  |
  | 
  |  
  |  
  |  
  | 
  | 
  |
  |
  | 
  |  
  |  
  |  
  | 
  |
  | 
  |
  | 
  |  
  | 
  |
  |
  | 
  |  
  |  
  | 
  |  
  | 
  |
  |
  | 
  |  
  | 
  |
  |
  | 
  | 
  |  
  |  
  |  
  | 
  |
  |
  | 
  |  
  | 
  |  
  | 
  |
  |   
  |   
  |
  |
  |
  | 
  | 
  |  
  |  
  |  
  | 
  |
  |
  | 
  |  
  |  
  | 
  |  
  | 
  |
  |   
  |  
  |  
  |  
  |  
  |   
  | 
  |   
  |  
  |  
  |   
  |  
  |  
  |   
  |  
  |  
  | 
  |   
  |  
  |  
  |   
  |  
  |  
  |   
  |   
  |   
  | 
  |  
  |  
  |   
  |
  |
  |   
  |   
  |
  |
  | 
  |   
  |   
  |
  |
  |   
  |   
  |
  |
  |   
  | 
  |  
  |  
  |   
  |   
  |
  |
  | 
  |
  |
  | 
  | 
  |
  |   
  |   
  |
  |
  | 
  |
  |
  | 
  | 
  |
  |   
  |   
  |
  |
  | 
  |
  |
  | 
  | 
  |
  |   
  |   
  |
  |
  | 
  |
  |
  | 
  | 
  |
  |   
  |  
  |  
  |   
  |
  |   
  |  
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948835#3948835

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948835


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread ofrijole
Actually, when I copy the .rar into the deploy directory ... nothing happened 
at all.  It's almost like JBoss looks at the ra.xml and says ... I don't know 
what this is.  But, there's no error ... I've not turned done anything to try 
to run in more verbose mode, though.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948834#3948834

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948834


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Component Message Problem

2006-06-02 Thread brianleonard
I've taken your sample registration application and added HtmlMessages for each 
of the 3 input fields:


  |  
  |
  |  Username
  |   

  |
  |
  |  Real Name
  |   
  |
  |
  |  Password
  |   

  |
  |  
  |  
  | 

If you enter a password less than 5 characters, the message appears next to the 
component as expected. However, if you enter a username less than 5 characters, 
the message appears in the global messages component. I've spent the last 
couple of hours trying to figure out the difference, but alas, I surrender to 
you guys.

I'm using JBoss 4.0.4 GA and Seam 1.0.0CR3

Thanks,
Brian

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948833#3948833

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948833


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread [EMAIL PROTECTED]
Note, the other thing you could do is leave out the version in your ra.xml 
file. We default this to 1.0 which forces the deployer to use the DummyClass. 
This would be in the case that you don't want to use the class directly. 

I would venture a guess that the adapter might not be deploying for different 
reasons. Can you post a stacktrace? 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948832#3948832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948832


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Using old JCA adapter

2006-06-02 Thread [EMAIL PROTECTED]
There is a trick actually...not well documented for good reasons :-)

In your ra.xml you can put the following:



org.jboss.resource.deployment.DummyResourceAdapter
 

This will actually allow you to deploy the file. As a point of interest, this 
is actually how we deploy all of our JDBC adapters since they are 1.0. 

Probably best to upgrade the code, shouldn't be much of a rewrite since 
outbound adapters are pretty straightforward...but this should get you started. 





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948831#3948831

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948831


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Using old JCA adapter

2006-06-02 Thread ofrijole
I have an old JCA 1.0 adapter ... I'm wondering if there's any way to get it to 
work with the JBoss AS 4.0.4 without re-writing it.  I've not been able to 
deploy it successfully and I'm wondering if it simply won't work.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948830#3948830

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948830


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - listener does not currently know of SID given in connect des

2006-06-02 Thread rvan1
In the startguide, I got through Chap 8's MySQL part, and moved on to setting 
up Oracle. The connection doesn't work. The example is like 
"jdbc:oracle:thin:@monkeymachine:1521:jboss". 

I assume its OK to use 'localhost', and the Oracle interface shows the dbase 
name to be 'XA', so for my setup I used  "jdbc:oracle:thin:@localhost:1521:xa".

Why doesn't jboss know the SID?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948829#3948829

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948829


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - createQueueConnection(

2006-06-02 Thread joejack
I am trying to call connectionFactory.createQueueConnection("queueUser", 
"queueUserPassword") but I am getting a security exception. - the user is not 
authenticated.

What are ALL the DD pieces I need in order to create a valid user and password 
such that this call will authenticate my username and password?

I've read the How-To but it glosses over the details that I need, and after 
hours and hours of searching and reading I still don't know what is missing!

How do I create the role "queueUser" with the associated "queueUserPassword" 
password and give this role the proper access for this call to be successful?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948828#3948828

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948828


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Security Exception

2006-06-02 Thread [EMAIL PROTECTED]
I have added a testcase on jms, go to jboss-head/jms/test and call ant 
memory-leak-tests
(On windows only for now, using a JDK 5).


At the end of the test, I have these following unexpected objects. It doesn't 
seem a memory leak, just something that I didn't expect at this point.


  | [junit]  Class [Ljava.security.ProtectionDomain; had an increase of 10 
instances represented by 400 bytes
  | [junit]  Class EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker 
had an increase of 10 instances represented by 160 bytes
  | [junit]  Class java.lang.ThreadLocal$ThreadLocalMap$Entry had an 
increase of 30 instances represented by 960 bytes
  | [junit]  Class java.util.HashMap$Entry had an increase of 10 instances 
represented by 240 bytes
  | [junit]  Class java.security.AccessControlContext had an increase of 10 
instances represented by 240 bytes
  | [junit]  Class java.lang.Thread had an increase of 10 instances 
represented by 960 bytes
  | [junit]  Class [Ljava.lang.ThreadLocal$ThreadLocalMap$Entry; had an 
increase of 20 instances represented by 1600 bytes
  | [junit]  Class java.util.ArrayList had an increase of 10 instances 
represented by 240 bytes
  | [junit]  Class java.lang.ThreadLocal$ThreadLocalMap had an increase of 
20 instances represented by 480 bytes

Anyway, another similar testcase, without using ObjectSerialization or 
expressions didn't have this.

This won't change if you produce 1000 or 100 messages.


Anyway, the testcase is working. Maybe we could work in top of that.



Clebert

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948824#3948824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948824


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.03 ClassLoader problem!!

2006-06-02 Thread java123
I am using TransformerFactory.class . This class is included in 
JBOSS_HOME\lib\endorsed\xalan.jar. I also include xalan.jar in my war file. 
Everything works fine until I hot deploy my war file. After the hot deploy I 
get ClassCastException. I read the classloading diagram and this is what I 
understood. JBoss should load the class from my war file firs. If not present 
then based on the class loading configuration it can ask to load from UCL class 
loaders. If not present there then it looks in Server Class loader then the 
NoAnnotationURLClassLoader. But it seems like for this class it is loading from 
the NoAnnotationClassLoader or I am doing something terribly wrong. Here is my 
classloader config and the exception I get:



 com.zzz.xxx.myapp:loader=myapp.war 

java2ParentDelegation=false






java.lang.ClassCastException: org.apache.fop.render.pdf.PDFRendererMaker
at 
org.apache.fop.render.RendererFactory.discoverRenderers(RendererFactory.java:270)
at org.apache.fop.render.RendererFactory.(RendererFactory.java:56)
at org.apache.fop.apps.FopFactory.(FopFactory.java:64)
at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:126)
at 
com.bfm.app.viewserver.pdfwriter.PDFWriterServlet.(PDFWriterServlet.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:97)
at 
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at 
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:928)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:705)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:81)
at 
org.jboss.web.tomcat.tc5.session.JvmRouteValve.invoke(JvmRouteValve.java:73)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache

[JBoss-user] [JCA/JBoss] - Re: How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread [EMAIL PROTECTED]
Nope, don't shut up! 

Any question, comments etc, etc are always welcome. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948819#3948819

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948819


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread c_eric_ray
You are the man. Thanks so much. I'll shut up now. :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948818#3948818

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948818


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread [EMAIL PROTECTED]
Yep, that's pretty much it. If you read the Wiki pages, you will find varying 
ways to fine tune the pools as you see fit (transactions, min/max size, etc, 
etc)

Regards,

Weston

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948817#3948817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948817


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread c_eric_ray
>From what I read this is what I do...

place this (postgres-ds.xml) file in deploy-hasingleton

   
  | -  
  | -  
  | -  
  | -  
  | -  
  | -  
  | -  
  | -  
  | -  
  | - 
  | - 
  |   PostgresDS 
  |   jdbc:postgresql://localhost:5432/test 
  |   org.postgresql.Driver 
  |   dev 
  |   dev 
  | -  
  | -  
  | -  
  | - 
  |   PostgreSQL 8.0 
  |   
  |   
  |   

place the postgres jdbc driver in server/all/lib

When I start JBoss I see the following in the output:

15:47:53,515 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=PostgresDS' to JNDI name 
'java:PostgresDS'

Is that all there is too it? If so great, I'm ready to rock-n-roll and thanks 
for the help. If there's more, please let me know. 

Thanks for the quick response.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948816#3948816

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948816


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.

2006-06-02 Thread cliffb53
You can change the file 
<_server_>/deploy/jbossws14.sar/META-INF/jboss-service.xml from this:

  | ${jboss.bind.address}
  | 

to this:

  | www.example.com
  | 

And then use http://www.example.com:8080/jbossws/services to get a WSDL file 
for each of the published services.

Hope this helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948815#3948815

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948815


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WS-Security Signing for EJB

2006-06-02 Thread cliffb53
You're absolutely right, I went to check the userguide and the only mention to 
a client setup is when an EJB consumes a webservice (I think).

My next suggestion then is to check Axis 
(http://ws.apache.org/axis/java/user-guide.html#ConsumingWebServicesWithAxis) 
or the Java Web Services Developer pack from SUN. Actually, my best bet is 
JWSDP which is available at 
http://java.sun.com/webservices/reference/techart/index.html.

If you do get around to play with any of these, can you post back some results? 
Although I'm somewhat interested in those frameworks I have little to no time 
for playing with them at the moment.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948814#3948814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948814


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JSR-220 Final Release Support

2006-06-02 Thread [EMAIL PROTECTED]
crazy amounts of money.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948813#3948813

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948813


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB 3.0 RC8 Preview - FD Released

2006-06-02 Thread [EMAIL PROTECTED]
See release notes here.  

http://jira.jboss.com/jira/secure/ReleaseNote.jspa?version=12310827&styleName=Text&projectId=10021&Create=Create

@EJB has been moved from javax.annotation to javax.ejb,  
InvocationCOntext.getBean() renamed to getTarget().



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948812#3948812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948812


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Please help - TestNG Failed

2006-06-02 Thread nugyentv
I have this issue resolved. Thank you

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948811#3948811

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948811


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: MTOM -- Get samples...??? Where are they?

2006-06-02 Thread kevinwit
Okay, I updated the WSDL as per, and now I can generate a .NET client 
getting closer.

However, when I make the call, I get an error that the server can't find the 
attachment part (but it's there). I have a trace below (with most of the binary 
goo cut out for brevity)... but you can see the content that is being sent, and 
the response. It appears that the MIME attachement is there, referenced with 
the appropriate ID, etc... not sure why the server side is not detecting it. 
Any insights appreciated

Here's the trace:

- - - - - 


2006-06-02T13:12:47-07:00

2006-06-02T13:13:25-07:00
2006-06-02T13:13:25-07:00
2006-06-02T13:13:25-07:00
172.28.41.188
localhost:8080
25965
720
POST /jbossws-samples-mtom HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 
2.0.50727.42)
VsDebuggerCausalityData: 
uIDPo8alq9H4c1dGhr4MTZ2ewbMAOF+PlF68eU6ax3n4X1ot46koPebSUghHiHJMPqnVoOYACAAA
SOAPAction: ""
Host: kevinwit-acer:8090
Content-Type: multipart/related; type="application/xop+xml"; 
boundary=--MIMEBoundary632848508054661278; start="<[EMAIL PROTECTED]>"; 

start-info="text/xml; charset=utf-8"
Content-Length: 25428
Expect: 100-continue
Connection: Keep-Alive


MIMEBoundary632848508054661278
content-id: <[EMAIL PROTECTED]>
content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
content-transfer-encoding: binary

http://www.w3.org/2004/08/xop/include"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>urn:

uuid:76bc5695-51e8-4efa-9099-8291f641f1f4http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://kevinwit-acer:8090/jbossws-samples-mtom2006-06-02T20:13:25Z2006-06-02T20:18:25Z&l

t;/wsu:Timestamp>Testhttp://www.w3.org/2005/05/xmlmime"; xmlns="">
MIMEBoundary632848508054661278
content-id: <[EMAIL PROTECTED]>
content-type: application/octet-stream
content-transfer-encoding: binary

ÿØÿà JFIF  H H  (MORE BINARY data here that has been removed for this 
post)
MIMEBoundary632848508054661278--

HTTP/1.1 100 Continue

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.5.CR1 (build: CVSTag=Branch_4_0 
date=200605301628)/Tomcat-5.5
Set-Cookie: JSESSIONID=F71BE5F3854729A58C379288B7480308; Path=/
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 02 Jun 2006 20:13:25 GMT
Connection: close

51

2a
env:Client
c

6c
org.jboss.ws.WSException: Cannot find attachment part for: 
cid:1.632848508054817567@example.org
e

c

b

f

0



2006-06-02T13:18:28-07:00


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948810#3948810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948810


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread [EMAIL PROTECTED]
Ok, lets take one thing at a time:

I am assuing that you don't want to replace the default datasource, but rather, 
use one of your own. 

This is a good place to start for DataSources and JCA in general in JBoss

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

DataSources and specficially mentioned here:

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

Both of these are mentioned in the READ THIS FIRST post at the top of this 
forum. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948809#3948809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948809


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - How do I add Posgres 8 to JBoss 4.x

2006-06-02 Thread c_eric_ray
There is literally no information describing the procedure for using another 
datasource other the Hypersonic. I'm new to JBoss and J2EE programing so 
details are good.

All I've found so far is to create a postgres-ds.xml file and put it in the 
/deploy directory. I've seen references to postgres-service.xml, but where does 
it go and what goes in it. Finally, how do I tell JBoss to read these files 
instead of the hsqldb-ds.xml file and related files. I've looke at the mbean 
for datasource but don't know how to manage it.

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948808#3948808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948808


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMX RMI Connector from JDK1.5

2006-06-02 Thread PeterJ
Will this approach work with other app servers?  Probably.  I am in the middle 
of preparing a presentation for a conference in December (paper deadline is 
June 16th!) and I cover JMX (which is why I had a small example app already 
prepared).  I was going to try it with other app servers so I could give the 
audience some ideas on accessing other app servers, though that won't make the 
deadline cuz the week of June 12 I will be partying in Vegas (I mean, 
"attending JBossWorld and learning about all the latest JBoss-related 
technologies"; hope my boss doesn't read this forum!)

Not sure on registering for notifications, though.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948805#3948805

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948805


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.

2006-06-02 Thread [EMAIL PROTECTED]
Yes jboss-client.xml works but I have potentially up to a 1000 of endpoints for 
the same service. And they come and go. And the approach of

Stub stub = (Stub)port;
stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, this.TARGET_ENDPOINT_ADDRESS);

doesn't seem to work. Any other suggestions for the 1.0.0GA?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948804#3948804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948804


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMX RMI Connector from JDK1.5

2006-06-02 Thread wengong
Hi Peter,

Thanks for the suggestion.  Do you by any chance know if this approach is 
applicable across different JMX containers, for example, WebLogic Server?  
Anther issue might be the registration of notifications remotely -- can I 
register for notifications remotely with the MBeanServerConnection obtained in 
this manner? 

The other reason I'd like to use native JMX RMI connector is that I can access 
other JMX container as well.

It appears remoting service from JBOSS 5 might be the answer to this.  see 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JMX_Remoting_service_configuration

I'm not sure when this feature will be backported into JBOSS4.x though.

Thanks.

Wen 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948802#3948802

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948802


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: total noob question re: LDAP

2006-06-02 Thread raghuram11
Hi,

Even, I am having the same error while running the JBoss server.
So, now I am trying to make the changes as per the version 14. In this , the 
document doesnt says anything the changes to be done for the 
jboss-service.xml???

should we make the changes or not??



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948801#3948801

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948801


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - multiple datasources

2006-06-02 Thread jack70_chen
I am using SEAM, up to now, I think it's a great product comparing with 
anything i used before.

the question i'm asking is not directly related with SEAM, but I believe some 
of you must know the answer.

How can i make the EJB 3.0 entity beans access different datasources based on 
the user who login at runtime? 

Right now my application servers different client, but each client has its own 
schema. Is there a way to dynamically assign the datasource to the entity beans 
at runtime based on the user?

thanks
Jack




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948799#3948799

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948799


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Can I add another lib directory to the server for static

2006-06-02 Thread kurt_olsen
I found a solution I think. I'm runing the jboss/server/all profile. In this 
case, if you examine the server/all/conf/jboss-service.xml file you would see 
this at the top (in 4.0.4GA):

   
  | 
I added this just below it.

   

Then, before starting JBoss I created the jboss/server/all/lib2 folder and 
added our static jars into it. After restarting JBoss, it correctly seems to 
have added the lib2 folder to the classpath.

Now, if in doubt about the integrity of our static jars I can delete everything 
in lib2, run our build script and re-populate it without fear of removing any 
of the jars jboss needs to run.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948798#3948798

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948798


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - JBoss Portal 2.4.0 BETA2 released

2006-06-02 Thread rrajesh
JBossCache 1.4.0.Beta2 has been released and is available on sourceforge at

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=102339&release_id=421930


Release 1.4.0.BETA2 

A new feature release containing very significant performance enhancements in 
replication, pojo operations and
cache loaders, as well as features such as buddy replication.

** Bug
*  [ JBCACHE-352 ] Doing cache.remove() when a tx is running and a 
cacheloader is present, and doing a cache.get() within the same tx causes the 
cache to load the value from the cacheloader again
*  [ JBCACHE-435 ] Multiple attempts to remove an AOP object on putObject()
*  [ JBCACHE-477 ] Random removeing from Map/Collection in a transaction 
throws a IllegalStateException (InternalDelegate.resetRefCount(). Ref counter 
not -1 but 0 at fqn:...)
*  [ JBCACHE-491 ] EvictionException in JBossCache-1.2.4
*  [ JBCACHE-531 ] cache loader file location property isn't parsed 
correctly under JBoss AS
*  [ JBCACHE-532 ] Calling getRegion() before getRegions() on RegionManager 
may cause a condition where the defaultRegion always gets used.
*  [ JBCACHE-536 ] CacheStoreInterceptor does not erase old attributes with 
TreeCache.put(Map) call
*  [ JBCACHE-539 ] Incorrect path specified in runShellDemo.sh
*  [ JBCACHE-548 ] Transaction synchronisation afterCompletion() fails when 
using WebLogic TM
*  [ JBCACHE-551 ] TreeCache.getKeys() -- null or empty set for no 
attributes
*  [ JBCACHE-554 ] Nodes created in CacheLoaderInterceptor not rolled back 
in tx
*  [ JBCACHE-573 ] Beanshell script errors while running examples
*  [ JBCACHE-577 ] JUnit timeout problems
*  [ JBCACHE-579 ] FileCacheLoader throws NPE if location points to a file 
instead of a directory.
*  [ JBCACHE-587 ] Fqn.getName() directly casts to String
*  [ JBCACHE-592 ] JBossCache AS integration produces exception
*  [ JBCACHE-596 ] Building Distribution fails - JBossCache 1.4.0.Alpha
*  [ JBCACHE-597 ] Test failure - 
org.jboss.cache.aop.ReplicatedObjectGraphAopTest
*  [ JBCACHE-598 ] Test failure - 
org.jboss.cache.aop.eviction.AopLRUPolicyUpdateEvictionTest
*  [ JBCACHE-599 ] Plain Cache tutorial example broken.
*  [ JBCACHE-600 ] PojoCache sensor example broken
*  [ JBCACHE-604 ] org.jgroups.MethodCall writes a classReferences to 
AOPProxy what is not valid
*  [ JBCACHE-606 ] TimeoutException (and lock ownership problem) under load 
test
*  [ JBCACHE-608 ] Cache loader does not load data for cache.get(Fqn fqn) 
calls
*  [ JBCACHE-612 ] Race condition with 2-PC and pessimistic locking
*  [ JBCACHE-615 ] Test failure - 
org.jboss.cache.buddyreplication.BuddyPoolBroadcastTest
*  [ JBCACHE-616 ] Package org.jboss.cache.data missing in distribution 
(JBossCache 1.4.0.Beta)
*  [ JBCACHE-626 ] PojoCache bug in annotation checking optimization
*  [ JBCACHE-634 ] Using optimistic locking and setting UseMarshalling to 
true causes replication exceptions.
*  [ JBCACHE-635 ] Illegal characters in buddy backup node names
*  [ JBCACHE-636 ] Data Gravitation should pull back entire subtrees
*  [ JBCACHE-639 ] PojoCache fails to retry to with RollbackException using 
Collection

** Feature Request
*  [ JBCACHE-61 ] Buddy Replication
*  [ JBCACHE-76 ] Create an eviction interceptor
*  [ JBCACHE-198 ] ReplicationInterceptor: replace remote method calls with 
message ids
*  [ JBCACHE-451 ] Support @Transient annotation
*  [ JBCACHE-454 ] Support @Serialize annotation
*  [ JBCACHE-490 ] Create a new class name POJOCache to replace TreeCacheAop
*  [ JBCACHE-504 ] Optimise marshalling of Fqn, GlobalTransaction, etc
*  [ JBCACHE-505 ] Optimise references when streaming data on the wire
*  [ JBCACHE-516 ] putObject() should check for "__jboss::internal__" keys
*  [ JBCACHE-525 ] Add JDBM cache loader support to TreeCache
*  [ JBCACHE-526 ] Timed and/or batched synchronization of Async 
CacheLoader operations
*  [ JBCACHE-528 ] Make eviction a configurable option without passivation
*  [ JBCACHE-535 ] CacheLoaderInterceptor fetches data overwritten by 
CacheLoader.put(Fqn n, Map m)
*  [ JBCACHE-537 ] state transfer code to exclude under /_buddy_backup_ 
when marshalling the tree
*  [ JBCACHE-555 ] Reduce memory and increase basic performance
*  [ JBCACHE-564 ] Improve region matching algorithm in RegionManager
*  [ JBCACHE-581 ] Performance of Method.equals
*  [ JBCACHE-613 ] Provide skipLockInterceptor option for get and put
*  [ JBCACHE-624 ] PojoCache add an option to handle non-instrumented POJO 
and non-Serializable replication
*  [ JBCACHE-637 ] OPtion to bypass data gravitation

** Task
*  [ JBCACHE-7 ] PojoCache benchmark and performance tuning
*  [ JBCACHE-197 ] Review: can Node.data and Node.children bu a 
ConcurrentHashMap (efficiency)
*  [ JBCACHE-203 ] PojoCache get/put/r

[JBoss-user] [JBossWS] - Re: jbossws 1.0.1

2006-06-02 Thread acxjbertr
The roadmap also shows that only 39 of 60 issues have been resolved.  I imagine 
that all 60 will need to be resolved before they release 1.0.1.

Thomas, can you shed any light on this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948796#3948796

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948796


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WS-Security Signing for EJB

2006-06-02 Thread acxjbertr
I haven't been able to find anything in the User Guide about writing client 
code to consume Web Services protected by WS-Security.  The documentation 
didn't even have the jboss.xml information you provided.  In fact, the 
documentation is pretty sparse overall.  I understand this is just 1.0, but 
this seems like pretty basic stuff most people would want to do.

I also use SoapUI and am looking forward to more WS-Security integration in 
future releases.

Thanks again for your help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948795#3948795

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948795


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMX RMI Connector from JDK1.5

2006-06-02 Thread PeterJ
Yes, you can easily write a Java app to access MBeans within JBoss, and you 
don't need JDK 5 to do it.  Here is some simple code that prints out the 
attribute value of a particular mbean:

package foo.bar;
  | import java.util.Hashtable;
  | import javax.management.MBeanServerConnection;
  | import javax.management.ObjectName;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | public class MBean {
  | public static void main(String[] args) throws Exception {
  | Hashtable env = new Hashtable();
  | String factory = "org.jnp.interfaces.NamingContextFactory";
  | env.put(Context.INITIAL_CONTEXT_FACTORY, factory);
  | String url1 = "jnp://localhost:1099";
  | env.put(Context.PROVIDER_URL, url1);
  | Context ctx = new InitialContext(env);
  | MBeanServerConnection mconn = 
(MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
  | ObjectName name = new 
ObjectName("jboss.jca:name=ds/ProductDS,service=ManagedConnectionPool");
  | Object val = mconn.getAttribute(name, "InUseConnectionCount");
  | System.out.println(name + "\n\tInUseConnectionCount=" + val);
  | }
  | }

Note that the MBeanServerConnection is accessed via JNDI, and not via a 
JMXServiceURL.  (My search for a way to use a JMXServiceURL never turned up any 
schemes that worked.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948793#3948793

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948793


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Configuration files outside of war file

2006-06-02 Thread rknechtel
I have a configuration directory in $JBOSS_HOME/configs  I want to get at them 
from my application which resides inside a war file which is in an ear file.  I 
am going nuts trying to figure out how to load the configuration (.properties 
files) fron my application.

Anyone have any ideas/tips?

Thanks much

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948792#3948792

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948792


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Services EJB3

2006-06-02 Thread RamcisJBOSS
I tried to store data into database through web service call to EntityManager 
but it doesn't store data in Mysql. here is my source code.

Source code of web service : 
  | /**
  |  *
  |  */
  | package webServices.utilisateur.service;
  | 
  | import global.SOAP.StringSOAP;
  | import global.SOAP.UtilisateurSOAP;
  | import global.id.KeyGenerate;
  | import global.outil.ArrayToVector;
  | import global.outil.Converter;
  | import global.outil.VectorToArray;
  | import interfaceBean.UtilisateurInterface;
  | 
  | import java.rmi.RemoteException;
  | import java.util.Vector;
  | 
  | import javax.persistence.EntityManager;
  | import javax.persistence.EntityNotFoundException;
  | 
  | import data.UtilisateurBean;
  | import java.util.Properties;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | /**
  |  * @author Ntim
  |  *
  |  */
  | public class UtilisateurServiceImpl implements UtilisateurServiceSEI {
  | 
  | private Properties properties;
  | private Context context;
  | protected EntityManager utilisateurManager;
  | protected UtilisateurBean utilisateur;
  | 
  | public UtilisateurServiceImpl() {
  | properties = new Properties();
  | 
properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
  | 
properties.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
  | properties.put("java.naming.provider.url","localhost:1099");
  | try {
  | context = new InitialContext(properties);
  | utilisateurManager = (EntityManager) 
context.lookup("java:/EntityManagers/NtimBizEntityManager");
  | } catch (NamingException ex) {
  | ex.printStackTrace();
  | }
  | //utilisateurManager = emf.createEntityManager();*/
  | }
  | 
  | public StringSOAP ajouterUtilisateur(UtilisateurSOAP listeUtilisateur) 
throws RemoteException {
  | 
  | System.out.println("Appel reussi du web service");
  | //Extraire l'ensemble de son enveloppe
  | UtilisateurInterface[] listeUtilisateurAjout=   
listeUtilisateur.getListeUtilisateur();
  | 
  | Vector utilisateurNonInseres = new Vector();
  | UtilisateurInterface utilisateurTransfereInterface  =   new 
UtilisateurInterface();
  | UtilisateurBean utilisateurTransfereBean=   
new UtilisateurBean();
  | 
  | for(int i = 0 ; i < listeUtilisateurAjout.length; i++) {
  | //Extraire de la liste
  | utilisateurTransfereInterface = 
(UtilisateurInterface)listeUtilisateurAjout;
  | //convertir l'element
  | utilisateurTransfereBean = 
Converter.utilisateurInterfaceToBean(utilisateurTransfereInterface);
  | try{
  | //Serealise l'element
  | System.out.println(utilisateurTransfereBean.getRefObjet());
  | this.utilisateurManager.persist(utilisateurTransfereBean);
  | } catch (Exception eAjoutEchoue) {
  | 
utilisateurNonInseres.add((String)utilisateurTransfereInterface.getRefObjet());
  | }
  | }
  | //Remettre le resultat dans son enveloppe
  | StringSOAP listeUtilisateurNonInseres   =   new 
StringSOAP(VectorToArray.Vector2StringArray(utilisateurNonInseres));
  | return listeUtilisateurNonInseres;
  | }
  | }
  | 
  | 

here my persistence.xml 
  | 
  | http://java.sun.com/xml/ns/persistence";>
  |
  | org.hibernate.ejb.HibernatePersistence
  | java:MySqlDS
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948791#3948791

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948791


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portal in Cluster HOW-TO

2006-06-02 Thread [EMAIL PROTECTED]
What version of portal are you using and how did you configure your clusters?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948789#3948789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948789


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Suse 10 : bad argument for IP_MULTICAST_IF

2006-06-02 Thread rknechtel
I'm running JBoss on SuSe 10 as well. I didn't change the run.sh but I just 
added "--host=127.0.0.1" paramter to the run.sh command. (change 127.0.0.1 to 
the IP address of your machine) this is how I run it and it works great! 

I'm going to try the run.sh change to see how well that works.

Basically I run a script that does it, something like this:
nohup bin/run.sh -c $APP --host=$HOST >/dev/null 2>&1 &



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948788#3948788

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948788


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JMX RMI Connector from JDK1.5

2006-06-02 Thread wengong
Hi,

I'm interested in using JMX RMI connector from JDK1.5 to make remote 
connections and invocations from JBOSS MBeans.  

Does JBOSS4.0.2 support JDK1.5 for this purpose?

There is also a download for JavaTM Management Extensions (JMXTM) Remote API 
reference implementation, can I use this to create a client and expect it to 
connect to JBOSS server using the RMI connector?

Thanks.

Wen

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948787#3948787

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948787


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portal in Cluster HOW-TO

2006-06-02 Thread patrickdalla
JBoss Portal in a cluster environment with FARM.

I am finding some bugs in deployment of Portlets in the FARM directory of a 
cluster.

the log is:

  | 16:35:37,608 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jboss.portal.core.impl.model.portal.PortalImpl#46400]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1634)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2293)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2439)
  | at 
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:65)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:905)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer$1.destroyChild(PersistentPortalObjectContainer.java:105)
  | at 
org.jboss.portal.core.impl.model.portal.ObjectNode.removeChild(ObjectNode.java:135)
  | at 
org.jboss.portal.core.impl.model.portal.PortalObjectImpl.destroyChild(PortalObjectImpl.java:126)
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:249)
  | at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:208)
  | at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:244)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  | at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
  | at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | 16:35:37,611 ERROR [MainDeployer] Could not start deployment: 
file:/usr/java/jboss-4.0.3SP1/server/default/tmp/deploy/tmp49937internetportal.war/WEB-INF/
  | org.jboss.deployment.DeploymentException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jboss.portal.core.impl.model.portal.PortalImpl#46400]; - nested throwable: 
(org.hibernate.StaleObjectStateException: Row was updated or deleted by another 
transaction (or unsaved-value mapping was incorrect): 
[org.jboss.portal.core.impl.model.portal.PortalImpl#46400])
  | at 
org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:306)
  | at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:208)
  | at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:244)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  | at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
  | at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |   

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Single UPDATE instead of SELECT, then UPDATE

2006-06-02 Thread Lauri
The problem has been solved.
I'd like to share the story.

The question was going from obivious lack of J2EE and JBoss experience and 
understanding.
I was absolutely sure that dataSource.getConnection() returns free connection 
and this free connection means new transaction.

I've had tried to use same datasource for cmp beans and session beans. Lets say 
it is registered as java:jdbc/cmp in global evinonent (possibly other 
depoyments use java:DefaultDS or java:MySqlDS).
I've placed a ref link to it for my Session bean Cashier. In xdoclet attributes 
it looks like:

  | @ejb.resource-ref res-ref-name="dataSource" ref-type="javax.sql.DataSource" 
jndi-name="java:jdbc/cmp" res-auth="Container"
  | @jboss.resource-ref res-ref-name="dataSource" jndi-name="java:jdbc/cmp" 
  | 
Cashier session bean has a private field of javax.sql.DataSource type 
dataSource. It is being initialized in ejbCreate()

  | public void ejbCreate() throws CreateException {
  |try {
  |   InitialContext ctx = new InitialContext();
  |   this.dataSource = (DataSource) ctx.lookup("java:comp/env/dataSource");
  |   //
  |} catch (NamingException nEx) {
  |   throw new RuntimeException(nEx);
  |}
  | }
  | 
Now dataSource field is usable.
So deposit() method from example above has changed to

  | public void deposit(Integer customerId, int value) throws RemoteException {
  | Connection conn = null;
  | try {
  |conn = this.dataSource.getConnection();
  |PreparedStatement stmt = conn.prepareStatement("UPDATE customer SET 
credits=credits+? WHERE id =?");
  |stmt.setInt(1, value);
  |stmt.setObject(2, customerId);
  |stmt.executeUpdate();
  | } catch  {
  | /// bla bla. catch some  common exceptions
  | } finally {
  |if(conn != null) {
  |try {
  |   conn.close();
  |} catch (SQLException sqlEx) {
  |   // log error
  |}
  |} 
  | }
  | }
  | 
That is really simple and was hard for me to believe.
Queries generated inside new deposit method come inside transaction which is 
managed by container! (I've verified it from mysql query logs). It is forbidden 
to use conn.commit(), conn.rollback() and conn.setAutoComint(...) methods, an 
exception will be thrown and whole transaction will be rolled back.

Similar solution has been applied to many methods for local edition of the 
Cashier bean.

Total application has been stress tested with REPETABLE_READ isolation level 
for mysql. Works perfectly.

At least one drawback indeed exist, now sql code moved to java code (or 
deployment descriptors). It is not very beautiful to my humble opinion. 

P.S. Next question of curiosity. Will other containers behave in the same way? 
I hope it will never come to find an answer myself :).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948785#3948785

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948785


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Want to change listening interface (eth0, eth1, etc)

2006-06-02 Thread PeterJ
Try this:

run -b 10.1.1.10

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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948784#3948784

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948784


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Jasper compiler does not recognize variables declared by tag

2006-06-02 Thread pbotla
We are using Jboss 4.0.2 and defined a taglib which declares a variable 
validationDisplayStyle with AT_END scope as shown below -

validationDisplayStyle
java.lang.String
true
AT_END


This tag is referenced in JSP Pages, for ex -


Jasper, on compiling this JSP code, declares a validationDisplayStyle variable 
of String type, which can be referenced later in the page. 

But, in case of some jsp files (nothing special) it does not declare this 
variable. This causes JDT compiler to fail with unresolved symbol errors during 
compialtion of generated java file.

This tag works perfectly fine in websphere 5.1 (JSP 1.2). Any help in resolving 
this issue will be appreciated.

Thanks

Puru






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948783#3948783

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948783


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: SEAM configuration problem

2006-06-02 Thread organic
I found the examples on-line and deployed to JBOSS with ejb3 profile 
successfully. It seems that the Hibernate Tools has problem on generating 
reliable seam framework.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948782#3948782

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948782


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: SEAM configuration problem

2006-06-02 Thread organic
I found the examples on-line and deployed to JBOSS with ejb3 profile 
successfully. It seems that the seam ear file from Hibernate Tools has some 
problems.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948781#3948781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948781


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Blocking tasks

2006-06-02 Thread jliptak
I don't think you want to signal the node the process is in.  I think you want 
to complete the task.

That way, you will either loop back around and create a new task or you will 
finish the process.

If you single a node, it will do what you ask it to and move on.  It assumes 
you know what your doing ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948780#3948780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948780


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Want to change listening interface (eth0, eth1, etc)

2006-06-02 Thread aastaneh
Hello-

On my server there are two interfaces- eth0 and eth0:1
with IPs 10.1.1.10 and 10.1.1.11.

10.1.1.11 has a httpd daemon that MUST bind to port 8080 on this interface.

Currently the JBoss service binds to 10.1.11.10:8080 and 10.1.11.11:8080
when it starts.. making it impossible for jboss and httpd to both be up (port 
conflict)

How to I configure Jboss to bind to only the first interface?

Thanks
Amin

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948777#3948777

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948777


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem with timer

2006-06-02 Thread ashiiid
hello 

exception :

17:46:49,974 [main] ERROR GraphElement : action threw exception: service 
'scheduler' unavailable
org.jbpm.svc.JbpmServiceException: service 'scheduler' unavailable

any help plz??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948776#3948776

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948776


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @DataModel with Tomahawk with JBoss AS 4.0.4 and Seam 1.

2006-06-02 Thread [EMAIL PROTECTED]
OK, I am not able to figure out how to reproduce this. Please attach a runnable 
test case to reproduce this here:

http://jira.jboss.com/jira/browse/JBSEAM-248

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948775#3948775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948775


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Files Uploaded in CMS

2006-06-02 Thread Silicio
This is the log when I simply click on the eye after I've created prova.txt 
file:
2006-06-02 19:05:57,421 ERROR [org.jboss.portal.cms.impl.jcr.ContentGetCommand] 
Cannot get content
  | javax.jcr.PathNotFoundException: /prova.txt/en
  | at 
org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:263)
  | at 
org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:127)
  | at 
org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePath(HierarchyManagerImpl.java:202)
  | at 
org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:187)
  | at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:290)
  | at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:728)
  | at 
org.jboss.portal.cms.impl.jcr.ContentGetCommand.execute(ContentGetCommand.java:86)
  | at 
org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:61)
  | at 
org.jboss.portal.cms.impl.jcr.FileGetCommand.execute(FileGetCommand.java:88)
  | at 
org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:61)
  | at 
org.jboss.portal.cms.impl.jcr.FolderGetListCommand.execute(FolderGetListCommand.java:80)
  | at 
org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:61)
  | at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:475)
  | at sun.reflect.GeneratedMethodAccessor161.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:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy124.execute(Unknown Source)
  | at 
org.jboss.portal.core.portlet.cms.admin.CMSAdminPortlet.doView(CMSAdminPortlet.java:96)
  | at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:230)
  | at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:217)
  | at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360)
  | at 
org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:521)
  | at 
org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:433)
  | at 
org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
  | at 
org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87)
  | at 
org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
  | at 
org.jboss.por

[JBoss-user] [JBoss jBPM] - Re: BPEL Descriptor Question

2006-06-02 Thread ncapito
I thank you for your help... i updated it with a local wsdl and it worked 
fine





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948771#3948771

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948771


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Deploy portlet

2006-06-02 Thread asanchez_webnet
Hi guys!

I have to migration my portlet application from jetspeed portal to jboss portal.

I'm have a many problem when i try to start de the jboss portal :

1. How can i to set up the properties for no recreate db when starting ? 
2. Can I set up the properties of deployment from source files ? I don't want 
to use the jboss portal management to do this.

Someone can I help me ?

regards... Alexandre




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948773#3948773

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948773


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.4.GA Hibernate Exception

2006-06-02 Thread sramakrishnaiah
Actually the problem still exists, In Jboss 4.0.4 GA  jboss-hibernate.deployer 
folder has been removed and there is no indication of this in the release 
notes, any reason why? what is the alternate way to deploy hibernate in jboss?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948770#3948770

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948770


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - cannot run JBOSS on 8080

2006-06-02 Thread divsen
Hi,

I am new to JBoss.I was using Tomcat for some time.It was working properly.when 
i opened localhost:8080 the tmcat page came and when i opened my files put in 
webapp it was working correctly.tehn i started using netbeans.i did something 
on server admin i don't remember what.after that when i opened localhost it 
kept asking me for username and pwd.I tried everything but it did not 
enter.then i was using netbeans to run my projects.it uses port 8084.

i got an internship.they are using jboss.i wanted to set the same environment 
on my sytem so i can work from home also.but it has been a problem.do anybody 
know how to remove tomcat completely?i removed my environment variable.i 
removed all tomcat file.but it still kept asking fo username and pwd,when i 
opened 8080.then i uninstalled netbeans.it did the same thing.I don't know what 
i did suddenly it stopped asking.but even when i start the Jboss server and 
open 8080.It does nothing.it keeps on loading .some times it stops and then 
says page cannot be displayed.This is driving me crazy.

Can anybody plz help me.the place is a little far from my home.so i have to 
work atleast 1 or 2 days per week from my home.with this problem i cannot do 
anything.

pl plz help me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948769#3948769

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948769


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ExecuteQueue logs?

2006-06-02 Thread arlo
Thank you!

I succeed to create a script that write exactly the same informations as 
Weblogic.

BR,
Arlo.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948768#3948768

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948768


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - possible bug

2006-06-02 Thread shagy69
I receive an http error 401 from apache tomcat when trying to logout and 
relogon with a different user in a page different from the default page!!
Anybody knows something about this behaviour?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948767#3948767

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948767


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Howto Do

2006-06-02 Thread mwoelke
See EJB 3.0 Spec FR chapter 4.6.9.

Regards, Milan Wölke

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948766#3948766

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948766


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...

2006-06-02 Thread supernovasoftware.com
Actually some other strategy is used if this is left out.

For example one my sequence was at 18, but without the allocation size 
specified is was getting numbers close to 3000 and not incrementing my sequence 
at all.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948765#3948765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948765


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @EJB

2006-06-02 Thread epbernard
Yes JBoss probably should lazy initialize the session beans. Open a JIRA request

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948764#3948764

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948764


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...

2006-06-02 Thread epbernard
Hum, I'm actually realizing right now that we made a mistake on the default 
allocationSize.
It is 50 right now ; while more efficient, this is not the "default" people 
expect

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948762#3948762

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948762


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: my-service.xml having access to local ejbs

2006-06-02 Thread fkhan
The above does not actually solve the problem of addressing local ejbs from an 
Schedulable MBean.  Any advice would be apprieciated.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948761#3948761

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948761


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal Load Performance Test

2006-06-02 Thread patrickdalla
I simulated 50 requests to JBoss Portal 2.2 initial page. Each request was 
started 200 ms after the start of the previous request.
The average response time was  305 ms.

In the second test, all the requests were started the same time. 
The average time increased to 18 seconds.

It looks like some resources in JBoss Portal are accessed sequentially.

How can I improve this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948760#3948760

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948760


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Memory leak in PermGen space in 4.0.4

2006-06-02 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : I guess we could use the same idea with this 
testcase.

I mean... create a similar testcase withing EJB3 project.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948759#3948759

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948759


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Unable to get @Id @GeneratedValue to even appear to work

2006-06-02 Thread echon
the id generation annotations changed in some ejb rc. 
Try to test with JBoss 4.0.4 or the current EJB RC7.

Regards

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948758#3948758

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948758


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Memory leak in PermGen space in 4.0.4

2006-06-02 Thread [EMAIL PROTECTED]
That issue if for redeployment leakages.

But if we add some comment it could become general memory leaks IMO.


Anyway, at this point I'm creating a testcase for JMS, using JVMTIInterface 
from JBossProfiler.

Basically I'm doing:


// I have to pre-create every service.
  | 
  | // Execute the testcase at least once (to force creation of everything is 
supposed to be created)
  | 
  | Map inventory1 = jvmti.produceInventory();
  | 
  | . execute the testcase again.
  | 
  | 
  | // clear some stuff
  | 
  | Map inventory2 = jvmti.produceInventory();
  | 
  | assertTrue(jvmti.compareInventories(System.out,inventory1,inventory2,);
  | 
  | 


If nothing was created, compareInventories is going to pass, what would mean no 
memory leaks. This way we will avoid regressions of memory leaks on the future.

I guess we could use the same idea with this testcase.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948757#3948757

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948757


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - How to programmatically sign messages for WS-Security compli

2006-06-02 Thread acxjbertr
I have successfully deployed an EJB (JSR-109) based Web Service using WSTools 
and JBoss 4.0.4 GA that requires WS-Security signatures (see 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84221 for more info).

I wrote a DII client that can invoke this web service (as well as a SoapUI 
project) without WS-Security signatures.  Of course, now I need to be able to 
sign my requests.  How can I programmatically sign my requests from within my 
DII client?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948756#3948756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948756


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Some thoughts about the conversations

2006-06-02 Thread jajansen
"lcoetzee" wrote : The idea of starting with a new conversation every time the 
user selects a new sidebar menu item (e.g. User Management, Add new Issue ...) 
is very important to me. 

Same here! I am very interested to hear thought on how to solve this scenario. 
Do we have a workaround or do I need to wait for the "kill" option? 

What it comes down to is being able to leave/kill/pop the current conversation 
and start a fresh conversation in the same request when a user abandons his 
conversation by clicking another 'use case' from the side menu.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948755#3948755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948755


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Why are these files still in use?

2006-06-02 Thread PeterJ
Based on the file names, I am guessing that you are running on Windows.  If so, 
get FileMon from SysInternals (http://www.sysinternals.org/) and run it, that 
should tell you what is using those files.

>From personal experience, I ran into this situation in two ways: 1) my 
>anti-virus software was scanning the files  2) a corporate-required "virus" 
>that does software inventory had the files open. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948754#3948754

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948754


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.4GA and JAXB

2006-06-02 Thread tdevos
Thank you for solving this in the next release.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948753#3948753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948753


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Can you change the context root of a deployed ear?

2006-06-02 Thread [EMAIL PROTECTED]
EJB3 is fine I guess.  I'm not sure when we could get to this as another JBoss 
4.0.x release isn't scheduled for awhile and I think this requires changes to 
the EAR deployer.

Log in in the EJBThree module

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948752#3948752

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948752


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Query cache lock contention

2006-06-02 Thread [EMAIL PROTECTED]
Sorry about not getting back on this thread.  Pls see the last few comments on:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82714&postdays=0&postorder=asc&start=10

Basically this is a bug with the providers in Hibernate 3.2.0.CR2, and will be 
fixed when 3.2.0 releases.  It may even be fixed in Hibernate's SVN repository 
right now.

http://opensource.atlassian.com/projects/hibernate/browse/HHH-1796 

Cheers,
Manik



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948751#3948751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948751


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Memory leak in PermGen space in 4.0.4

2006-06-02 Thread pmpm
Thanks for reply, Bill
Is this EJBTHREE-551 issue on JIRA? If so, my case is not connected with 
redeployment, it also leaks on fresh deploy.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948750#3948750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948750


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Error while finding latest Process Defination.

2006-06-02 Thread sameer_ja1
Hi,  
I am using jbpm-starters-kit-3.1.1 to run the jboss server and Eclipse is 
3.1.2. Database is defualt database.

I created a new jbpm procss project in eclipse and deployed it as per 
instructions in JbpmGettingStarted guide.
Now I an trying to start the process as follows:..

JbpmContext jbpmContext =  JbpmConfiguration.getInstance().createJbpmContext();
processDefinition = 
jbpmContext.getGraphSession().findLatestProcessDefinition("simple");

I am getting follwing error :--
JDBCExceptionReporter : SQL Error: -22, SQLState: S0002
15:56:19,433 [main] ERROR JDBCExceptionReporter : Table not found in statement 
[select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, 
processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as 
ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from 
JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by 
processdef0_.VERSION_ desc]
15:56:19,664 [main] ERROR GraphSession : 
org.hibernate.exception.SQLGrammarException: could not execute query
org.hibernate.exception.SQLGrammarException: could not execute query
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)

Pls tell me what could be going wrong and how to resolve this.
Thanks in advance.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948749#3948749

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948749


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: TreeCacheListener doesn't receive all cache events

2006-06-02 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | In 2.0 we are going to change the JBossCache API won't even expose the Node 
object so people won't be tempted to bypass the cache.
  | 

This is not actually true at all.  We're changing it so that the Node becomes a 
top level construct, and the Cache is just a wrapper around the root Node.  All 
listeners, interceptors, etc. will intercept calls on the Node.

The reason for doing this is that it leads to a far cleaner object model, and 
allows for each Node to act independently of the overall Cache - a bit like a 
JNDI context.  

See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHabanero for more info.

Cheers,
Manik

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948748#3948748

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948748


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - 404GA: ALL installation : Where are EJB3.0 package ??

2006-06-02 Thread Yannick Biet
I'm trying to set up a new JBoss server on my personnal Dev machine @ work.


I've downloaded jboss-4.0.4.GA-Patch1-installer.jar (previous file I used was 
RC1)

I noticed first that installation file decreased (RC1-All : about 100MB / 
GA-All : 75 MB). But I ran into this problem when selecting the ALL packages 
config : I can't figure where is gone the EJB3 package (that is installed when 
using EJB3 option).

RC1 was installing EJB3 when selecting ALL option.
Is this behavior normal ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948747#3948747

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948747


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - @Predestroy in MDBs

2006-06-02 Thread georgesberscheid
Hi,

I deployed an EJB3 message driven bean on JBoss4.0.4GA which allocated a bunch 
of resources in the @PostConstruct method.
I'm wondering how to free those resources again when the MDB is undeployed. I 
thought @Predestroy would do the job, but that method is never called by the 
container. The result is, that undeploy-redeploy tries to reallocate the 
resources that have already been taken by the previous deployment and therefore 
fails.
Only workaround is to restart the application server.


  | @PreDestroy
  | public void die() {
  | /* Free a bunch of resources */
  | }
  | 

Any ideas?
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948746#3948746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948746


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Unable to get @Id @GeneratedValue to even appear to work.

2006-06-02 Thread oman
I have an abstract 'folder' class with the following annotations

@Entity
  | @Table(name="folder")
  | @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(
  | name="foldertype",
  | length=50,
  | discriminatorType=DiscriminatorType.STRING
  | )
  | @DiscriminatorValue("f")


and the following generatedValue annotation.

@Id @GeneratedValue(strategy=GenerationType.AUTO) 

on my getId method.

I have two subclasses of the folder class RootFolder and YearFolder.
I continue to then create a RootFolder


  | RootFolder r = new RootFolder();
  | hsession.saveOrUpdate(r);
  | 

But when I look in the database the id generated is 0.  So I'm not convinced 
that my auto generation annotation is working.

I then go to create the YearFolder with the following code:


  | Session hsession = HibernateUtil.getSessionFactory().getCurrentSession();
  | RootFolder rootFolder = (RootFolder)hsession.createQuery("from 
Folder").list().get(0);
  | YearFolder yearFolder = new YearFolder();
  | yearFolder.setYear(year);
  | yearFolder.setRootFolder(rootFolder);
  | rootFolder.addYearFolder(yearFolder);
  | hsession.save(rootFolder);  
  | 

but this fails as is complains that there is an id clash with the following 
error.  (because both Ids are zero)


  | a different object with the same identifier value was already associated 
with the session: [com.tier2.arena.domain.YearFolder#0])
  | 

I'm using MySQL and used the appropriate Dialect in the properties file.

Am I using GeneratedValue correctly?
Running 4.0.3sp1 and hibernate-annotations-3.2.0.CR1


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948745#3948745

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948745


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WS-Security Signing for EJB

2006-06-02 Thread cliffb53
I think that the User Manual has an example of that. If you're using some other 
framework you should consult their documentation as well.

I was only testing how to do that and I was using SOAPui which doesn't seem to 
support WS-Security so I haven't done a complete test (actually, I stopped as 
soon as I got that very same fault :-) ).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948743#3948743

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948743


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Why are these files still in use?

2006-06-02 Thread mboswort
Everything inside these four directories,
..\jboss-4.0.4.GA\server\default\work\,
..\jboss-4.0.4.GA\server\default\data\,
..\jboss-4.0.4.GA\server\default\log\,
and
..\jboss-4.0.4.GA\server\default\tmp\,
is somehow in use, despite the fact that jboss is not running. I can't update 
my jboss server if I can't overwrite it. I'm wondering what must be done to 
delete these files. And how is it possible that they are still in use?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948742#3948742

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948742


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: ExtendedFormAuthenticator touch-up

2006-06-02 Thread [EMAIL PROTECTED]
Chris, you are right - that we need to override "authenticate" method to 
populate the session.  I mentioned "invoke" without looking at the codebase.

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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948741#3948741

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948741


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - bijection problem

2006-06-02 Thread JXerXes
hello everybody!

i have a problem with a session bean instance that disappears somehow...

i just migrated from jboss 4.0.3SP1 and seam beta1 to
jboss 4.0.4.GA and seam cr3. my app was working on the old config.

i have two/three seam action session beans. in the first one i use a session 
bean with some business functions. then i outject it to jsf and when the next 
action is invoked it is injected into the next seam action component. i do this 
because the session bean contains a lot of data thats fetched in the beginning 
and is needed in the other actions too. this worked fine with jboss 4.0.3 and 
seam beta1. 
now i get the following exception when a method of the session bean is invoked 
from the second seam action component:


  | 17:10:33,890 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | javax.faces.FacesException: Error calling action method of component with 
id poconfirmationForm:_tagId39
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.faces.el.EvaluationException: /poconfirmation.xhtml 
@136,39 action="#{confirm.confirm}": javax.ejb.EJBNoSuchObjectException: Could 
not find Stateful bean: 5c4o1ef-p52s2o-enyjuz3d-1-enyobrxt-3o
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | ... 25 more
  | Caused by: javax.ejb.EJBNoSuchObjectException: Could not find Stateful 
bean: 5c4o1ef-p52s2o-enyjuz3d-1-enyobrxt-3o
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:266)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  

[JBoss-user] [JCA/JBoss] - Please help me on JTA's problem with oracle

2006-06-02 Thread yuanwh
I deploy oracle-xa-ds.xml and use JTA to commit a distributed transaction. It 
does not report error, but if I use sqlplus to select the data, I can not find 
the data is changed, unless I close JBoss server.
Who can tell me why?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948739#3948739

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948739


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Negotiate Authentication SPNEGO Runtime Settings

2006-06-02 Thread senthilid14
Thanks a lot to Jochen, I am slowly understanding Negotiate Authentication.

I am able to run Negotiate Authentication, I have Win XP workstation which is 
in Win 2000 Domain. My workstation is in India, our Win 2000 Domain Controller 
is in Toronto.  

So I could not see what are groupnames given to my username, I know every 
username in Active Directory will have a group called Domain Users, so I 
mentioned this as role-name in my web.xml and used the following code to 
display other group names(alloted for me)

<%
  |   out.println(request.getRemoteUser());
  |   Subject 
userSubject=(Subject)PolicyContext.getContext("javax.security.auth.Subject.container");
  |   out.println(""+userSubject);
  | %>

Wiki page says you have to replace WebCallbackHandler line with 
AdvancedWebCallbackHandler line. But there is no line as 
WebCallbackHandler. I just added the  line for 
AdvancedWebCallbackHandler

I am able to run on JBoss 4.0.2 with JDK 1.5.  If I am trying to run on JDK 
1.4.2, I am getting the following exception

14:52:17,665 ERROR [CoyoteAdapter] An exception or error occurred in the 
container during the req
  | uest processing
  | java.lang.NoClassDefFoundError: jcifs/ntlmssp/Type3Message
  | at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.authenticate(HttpServlet
  | RequestResponseValve.java:97)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
  | 
  | at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.invoke(HttpServletReques
  | tResponseValve.java:70)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http
  | 11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:11
  | 2)
  | at java.lang.Thread.run(Thread.java:534)
Please Let me know if anybody is able to run with JBoss 4.0.2 and JDK 1.4.2

But our project is on JBoss 3.2.3 (Porting into 4.0.2 will happen at 2007). But 
I have to implement Negotiate Authentication within one or two weeks time.  Is 
there any solution which can run on JBoss 3.2.3, And it should be free. I have 
to do this for Websphere, Weblogic, SAP Netweaver also.

If anyone is able run this(Negotiate Authentication) on JBoss 3.2.3, please 
tell me

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948738#3948738

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948738


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Is local debugging possible?

2006-06-02 Thread weazelb0y
When I develop applications using something like Jetty + Hibernate + Spring + 
Wicket, I'm able to debug everything locally inside Eclipse.  This is nice 
because I can hotswap classes while debugging and its quite easy to debug 
problems.  But with JBoss you always have to package and deploy a new EAR file 
any time you want to test something.  This can take up to 30 seconds even on a 
fast dual core machine.

I was wondering, is there is any way to setup and debug a JBoss application 
locally and hotswap classes?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948736#3948736

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948736


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: why is there a actorId and pooledActorIds?

2006-06-02 Thread kukeltje
Partly correct, since it is indeed possible to also add an individual (human) 
actor to the pooledActors.

If the actorid is e.g. group, and you at a certain moment want a specific 
individual actor to act on it, you leave the pooledActors intact, but set the 
actorID. It only shows up in the individual tasklist then. If the actorID is 
set to 'null' it is put back in the 'grouptasklist'



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948735#3948735

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948735


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: ExecuteQueue logs?

2006-06-02 Thread PeterJ
I think the data you are looking for is in the mbean named 
jboss.system:type=ServerInfo, attribute named ActiveThreadCount.  You can view 
this data online via the jmx-console.  Or you can use twiddle 
(http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#d0e3901) to 
access the data as follows:

>twiddle get "jboss.system:type=ServerInfo" ActiveThreadCount
  | ActiveThreadCount=57

While there is no "switch" that you can flip within the app server to get this 
data printed to a file, you can easily write a script to periodically call 
twiddle and output the results to a file, or you can even write Java code to 
lookup the mbean value.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948734#3948734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948734


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >