[jboss-user] [Remoting] - Review of JBossRemoting + JBossSerialization: Nice. Very nic

2009-04-15 Thread ron.si...@jboss.com
Check out "JBoss Remoting + JBoss Serialization kills JavaRMI and Spring 
Remoting", a blog about the combination of JBossSerialization and JBossRemoting:

http://www.theserverlabs.com/blog/2009/02/19/jboss-remoting-jboss-serialization-kills-javarmi-and-spring-remoting/comment-page-1/#comment-1530

-Ron

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Clustering

2009-04-15 Thread ssidhanta
How do I setup a horizontal cluster for JBoss portal 2.6.7GA?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Remoting release 2.5.1 is available

2009-04-15 Thread ron.si...@jboss.com
Remoting version 2.5.1, the version targeted for JBoss Application Server 
5.1.0.CR1, is available. It features 

* a security fix

* improved configurability

* a number of bug fixes

To see the release notes, go to 
https://jira.jboss.org/jira/secure/ReleaseNote.jspa?version=12312978&styleName=Text&projectId=10031&Create=Create
 .

Version 2.5.1 of jboss-remoting.jar may be found

* in the old repository at http://repository.jboss.com/jboss/remoting/ , and

* in the maven2 repository at

https://svn.jboss.org/repos/repository.jboss.org/maven2/org/jboss/remoting/jboss-remoting/

or

http://anonsvn.jboss.org/repos/repository.jboss.org/maven2/org/jboss/remoting/jboss-remoting

The distribution zip file may be found at 
http://www.jboss.org/jbossremoting/downloads/ .

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Jboss Portal Related Issues

2009-04-15 Thread sahayaraj1983
Hi Friends I am new for portal devlopment. I have few issues. Already some one 
have mentioned this issues but no reply thats why I post the issues again.

I am using jboss server 4.2.2 GA and portal 2.7.0

1 )  How to use drag and drop functionalities

2 )  I have created one portal. It contains three portlets ie, calendar, 
country and sites(these are available in left region). user can select the 
value from left navication portlet. Based on the result we create some dynamic 
charts portlet in center region.   

Problem : I have created three user and three user has rights to access the 
portal which I have created. One user logged in and created some dynamic 
portlet(in center region). If another user logged in, he can see some chart 
portlet in center region. But he did not create any portlet in center region. 
The first users chartportlet is reflected this user also.
How can I avoid this problem.

3 ) In admin side we can create user. Is it possible to create subUser for that 
user.

4 ) If I use Https:// the partial refresh functionalities is not working. 
How can I solve this.

5 ) Can I store the user details in my database When Icreate the user in admin 
side. 

I am expecting your replys

Thanks in advance



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] hi

2009-04-15 Thread Brajesh Patel
Hi
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Unknown column 'NODE_ID' in 'where clause'

2009-04-15 Thread gaohoward
Hi, can you please check in your mysql database that the table JBM_TX, like 
this:


  | mysql> desc JBM_TX;
  | +++--+-+-+---+
  | | Field  | Type   | Null | Key | Default | Extra |
  | +++--+-+-+---+
  | | NODE_ID| int(11)| YES  | | NULL|   | 
  | | TRANSACTION_ID | bigint(20) | NO   | PRI | 0   |   | 
  | | BRANCH_QUAL| varbinary(254) | YES  | | NULL|   | 
  | | FORMAT_ID  | int(11)| YES  | | NULL|   | 
  | | GLOBAL_TXID| varbinary(254) | YES  | | NULL|   | 
  | +++--+-+-+---+
  | 5 rows in set (0.00 sec)
  | 

And see if there is a column named NODE_ID (as bove). If not, try to drop all 
JBM_* tables and restart the server. If problem still, check the 
mysql-persistence-service.xml in your deploy/jboss-messaging.sar if the table 
create statement are correct. If not, then you probably got wrong version of 
JBM.




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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: my enterprise apps deploys in 4.2.1 fine but not 5.0.1

2009-04-15 Thread jaikiran
Please provide more details about your application. Do you have self injection 
in beans? That is PageDataManagerSlb has a @EJB injection on itself? Can you 
post the relevant code of the beans?

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225783
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB 3.0 with Stateless Session Bean as instance variable

2009-04-15 Thread jaikiran
Why do you want to maintain a instance of SLSB in a MDB? Note that the MDBs are 
pooled and its not guaranteed that the JMS message is always handled by the 
same MDB.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225781
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Specifying default values to @Service attributes (JBoss

2009-04-15 Thread jaikiran
anonymous wrote :  According to jboss' official ejb3 tutorial I should be able 
to reference the service using the  tag within either ejb-jar.xml or jboss.xml

The service element in not available in ejb-jar.xml. Its available only in 
jboss.xml. Could you point us to the doc which says that its available in 
ejb-jar.xml? We'll fix it. The new tutorials for AS-5 are here 
http://www.jboss.org/jbossejb3/docs/

Specifically, the @Service using deployment descriptors 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.4/html/Service_POJOs_through_deployment_descriptors.html

The env-entry can be specified for the services in the jboss.xml. If that 
doesn't work then please post the contents of your jboss.xml and the entire 
exception stacktrace.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Unauthorized Access

2009-04-15 Thread paramsevak
I am currently evaluating JBOSS SSO with jboss-epp-4.3. Mainly I need to verify 
JBossSSO can handle 

1- Application SSO for applications deployed on the same server
2- Application SSO for applications deployed on different servers
3- SSO for the JBoss Portal
4- SSO for the portlets deployed within the portal

I have tried working with the stable and beta releases, only to run into bugs 
that have yet to be fixed. Therefore now I moved to the latest source from SVN. 
I have been able to get further along. However I am currently getting the 
following error during server startup.

So far, I have used 'build installPortal' command to install the 
jboss-portal.sar and jboss-sso.sar to the server's deploy directory. Without 
much documentation, I can only guess this command installs portal-integration 
resources/classes to the server. 

Logging into the portal works fine but when I try to logout I get the following 
exception.

17:12:33,260 ERROR [SSOAutoLogout] 
org.jboss.security.valve.SSOAutoLogout[/portal]
  | javax.servlet.ServletException: org.jboss.security.saml.SSOException: 
org.jboss.security.saml.SSOException: Unauthorized Access
  | at 
org.jboss.security.portal.PortalSSOTokenManager.invoke(PortalSSOTokenManager.java:221)
  | at org.jboss.security.valve.SSOAutoLogout.invoke(SSOAutoLogout.java:190)
  | at 
org.jboss.security.valve.SSOFederationRouter.invoke(SSOFederationRouter.java:148)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.security.saml.SSOException: 
org.jboss.security.saml.SSOException: Unauthorized Access
  | at 
org.jboss.security.saml.JBossSingleSignOn.getTokenSecret(JBossSingleSignOn.java:504)
  | at 
org.jboss.security.saml.JBossSingleSignOn.generateAuthResponse(JBossSingleSignOn.java:209)
  | at org.jboss.security.sso.util.SSOUtil.generateToken(SSOUtil.java:183)
  | at org.jboss.security.valve.Util.sendSSOTokens(Util.java:29)
  | at 
org.jboss.security.portal.PortalSSOTokenManager.invoke(PortalSSOTokenManager.java:170)
  | ... 12 more
  | Caused by: org.jboss.security.saml.SSOException: Unauthorized Access
  | at 
org.jboss.security.saml.JBossSingleSignOn.getTokenSecret(JBossSingleSignOn.java:480)
  | ... 16 more
  | 17:12:33,260 ERROR [CoyoteAdapter] An exception or error occurred in the 
container during the request processing
  | javax.servlet.ServletException: javax.servlet.ServletException: 
org.jboss.security.saml.SSOException: org.jboss.security.saml.SSOException: 
Unauthorized Access
  | at org.jboss.security.valve.SSOAutoLogout.invoke(SSOAutoLogout.java:196)
  | at 
org.jboss.security.valve.SSOFederationRouter.invoke(SSOFederationRouter.java:148)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.servlet.ServletException: 
org.jboss.security.saml.SSOException: org.jboss.security.saml.SSOException: 
Unauthorized Access
  | at 
org.jboss.security.portal.PortalSSOTokenManager.invoke(PortalSSOTokenManager.java:221)
  | at org.jboss.security.valve.SSOAutoLogout.invoke(SSOAutoLogout.java:190)
  | ... 11 more
  | Caused by: org.jboss.security.saml.SSOException: 
org.jboss.security.saml.SSOException: Unauthorized Access
  | at 
org.jboss.security.saml.JBossSingleSignOn.getTokenSecret(JBossSingleSignOn.java:504)
  |  

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-15 Thread patweb99
Good to know information!

I am going to just toss this Barney's way to see what he thinks...

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB 3.0 with Stateless Session Bean as instance variable

2009-04-15 Thread wichkabashir
Example.
@MessageDrivenBean 
public class CalculatorMDB { 
@EJB Calculator cal; 
onMessage()
{
...
}

} 

I have injected a stateless session bean instance in MDB and  that there are 5 
mdbs in the pool but every time mdb receives a message different instance of 
stateless session bean is created. Is there way to make one to one instance 
mapping so that every invocation of mdb doesn,t create a new session bean 
instance. It seems mdb resets it's instance variables and creates new instance 
variable for every message it gets from jms topic. 

Suggestions appreciated. 
Ahmed 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Inheritance mapping question.

2009-04-15 Thread allanjun
Hi there,

The DB I'm working on has a generic table called REF_CODES to store all types 
of codes and their descriptions. eg, address type, contact type ect. 

schema of REF_CODES:
domain, code, description (domain and code are pk columns)

example data
add_type, P, postal
add_type, R, residential
contact_type,G, general
contact_type,O, other

what I wanted to do is do inheritance mapping as follow:

@Entity
@Table(name = "ref_codes")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "domain")
public abstract class RefCodes {
@EmbeddedId
private RefCodesId id;

@Embeddable
private class RefCodesId implements Serializable {

@Column(name = "domain")
private String domain;
@Column(name = "code")
private String code;

   }
}

@Entity
@DiscriminatorValue(value = "add_type")
public class AddressType extends RefCodes implements Serializable {

@Column(name = "code")
private String code;

   @Column(name = "description")
private String description;
}

And then the AddressType can be used by Address class in ManyToOne mapping as 
follow;
@Entity
@Table(name = "addresses")
public class Address implements Serializable {

   private String name;

   @ManyToOne
   @Joincolumn(name = "add_type_code")
   private AddressType type;

}

The problem I'm having is that in Address class the ManyToOne mapping to 
AddressType needs to join 2 columns as AddressType(RefCode) has a composite PK, 
but the Address table only stores address code, how do I let the join query 
know the value of the domain as 'add_type' then.
Or, is there a way to override the id of AddressType class as 'code'?

Is this mapping doable? Thanks.




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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: SSL Client truststore

2009-04-15 Thread zurchman
Here's what it took to run a JAX-WS RI SSL client with the JBossWS 
3.0.1-native-2.0.4.GA delivered with jbossesb-server-4.5.GA.

The post that made the difference was the one by Alessio at the end of this 
topic: 

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=141843

I don't recommend doing it this way, but all the artifacts were built with the 
RI.  The only class compiled against the JBoss classes was the service mainline.

1) Set the truststore in the javax.net.ssl.trustStore property

2) Include org.jboss.ws.core.StubExt

3) Set the "Config" name to "Standard WSSecurity Client"


  | System.setProperty("javax.net.ssl.trustStore", 
  | "path-to-my-truststore");
  | BindingProvider bp = (BindingProvider) default_webservice;
  | Map context = bp.getRequestContext();
  | context.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 
  |   endpoint);
  | System.out.println("new endpoint: " + endpoint);
  | ((StubExt)default_webservice).setConfigName("Standard WSSecurity 
Client");
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - my enterprise apps deploys in 4.2.1 fine but not 5.0.1

2009-04-15 Thread swyitch
here is the trace, im not sure what its complaining about because there is 
nothing wrong with the class in question

any thoughts would be appreciated


DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment 
"jboss.j2ee:ear=livestats.ear,jar=livestats-ejb.jar,name=PageDataManagerSlb,service=EJB3"
 is missing the following dependencies:
Dependency ""
 (should be in state "Described", but is actually in state "** UNRESOLVED 
Demands 
'jndi:livestats/PageDataManagerSlb/local-com.buzztime.livestats.pagedata.api.IPageDataManagerLocal'
 **")
  Deployment 
"jboss.j2ee:ear=livestats.ear,jar=livestats-ejb.jar,name=XmlFeedMessageListenerMdb,service=EJB3"
 is missing the following dependencies:
Dependency ""
 (should be in state "Described", but is actually in state "** UNRESOLVED 
Demands 
'jndi:livestats/PageDataManagerSlb/local-com.buzztime.livestats.pagedata.api.IPageDataManagerLocal'
 **")

DEPLOYMENTS IN ERROR:
  Deployment ""
 is in error due to the following reason(s): ** UNRESOLVED Demands 
'jndi:livestats/PageDataManagerSlb/local-com.buzztime.livestats.pagedata.api.IPageDataManagerLocal'
 **
  Deployment ""
 is in error due to the following reason(s): ** UNRESOLVED Demands 
'jndi:livestats/PageDataManagerSlb/local-com.buzztime.livestats.pagedata.api.IPageDataManagerLocal'
 **

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225768
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-15 Thread denstar
I'm pretty sure the problem stems from the dynamic nature of CF + Groovy.

CFGroovy is doing quite a bit of shuffling with the current context 
classloader, and that's what Hibernate uses to keep track of where it's at, 
sorta, so...

I'm thinking pre-compiled domain objects will work fine, since theoretically 
they'll be in the same loader, but I haven't tested yet.

To be clear, I don't think the problem lies with JBoss or Hibernate, as 
Hibernate is doing (as far as I can tell) the only logical deal, from it's 
perspective, and JBoss is just using Hibernate.

It's a similar problem to commons-logg'n, IMHO... just the nature of the beast.

FWIW, since CF is dynamical, it probably is pretty easy to compile the domain 
classes (Groovy or Java) and jar them up even, before loading up the groovy 
stuff.

Actually, I kind of like the idea of jaring up the domain classes, hbm mappings 
and whatnot, and deploying that instead... but I digress.

I'm pretty sure that if Barney tweaked his code a little, CFGroovy would work 
with a classloaded hibernate... you just have to be careful not to use stuff 
from outside the loader (like a 'different' dom4j, loading resources, etc.).  
I've sorta done it, but not with Groovy (just a classloaded Hibernate and 
JBoss), which is why I think it's possible... but I might very well be 
mistaken.  I'm not infallible.  More like fallible...  =]

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-04-15 Thread PeterJ
Sorry, but I have never deployed an Spring Web Flow apps in JBoss Portal.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss property files error

2009-04-15 Thread akazakov
Yes. It seems to be a bug of JBoss Tools editors. But we have to reproduce the 
bug to fix it. Could you show .project and .classpath here?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting transaction timeout in JBoss 5.0.1.GA

2009-04-15 Thread prasanthreddy
Thanks for the link.

Seems like the reaperTimeout is the sleep time for the reaper itself.
com.arjuna.ats.arjuna.coordinator.defaultTimeout seems to be the maximum time a 
transaction can take before getting rolled back by the reaper. 

I tried setting the defaultTimeout but didn't see like it worked.

In the deploy folder there is a file called transaction-jboss-beans.xml in this 
file  I have set transactionTimeout that did the trick.



  |  
  | 
@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=TransactionManager",
 
exposedInterface=com.arjuna.ats.jbossatx.jta.TransactionManagerServiceMBean.class,
 registerDirectly=true)
  | 
  | 1800
  | ${jboss.server.data.dir}/tx-object-store
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: What happened to jBPM 3.3.x ?

2009-04-15 Thread kukeltje
Petr,

Please use some search functionality. You'll find the answer to this question 
then.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss property files error

2009-04-15 Thread krasig
Hi Alexey,
I have many projects and every project have 2 source folders (one native and 
one shared. I don't know how to remove this src and src-1 but they pointed to 
same place ).
I known that is difficult to reproduce, but i have 10 colleagues and all they 
have this problem.

Actually the problem is that when something of they opened wrong file, after 
save all going worst (damaged hibernate.cfg.xml, lo4j.properties, 
messages.properties.).



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: birt intergration param tag

2009-04-15 Thread snjeza
I have created a jira for this issue - 
https://jira.jboss.org/jira/browse/JBIDE-4188
It would be good if you would attach an example of your report and DDL script 
in order me to reproduce the issue.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Questions about doXslTransform

2009-04-15 Thread sarishjain
Is this supported i am getting exactly same problem..
I dont see the function in the xsd for bpel as well.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: error at bpel hello world deployment

2009-04-15 Thread alex.gui...@jboss.com
No environment description was provided. Please specify your JDK and app server 
versions.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-04-15 Thread santhoshradari
Hey Peter,

Could you please respond if ou have any clue on deploying the app on jboss 
portal?

Thank you,
Santhosh

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: First webservice

2009-04-15 Thread Renani
Assumed you were right. Created a package, got a new error (classNotFound), 
deleted the project, created a new project, new webservice in a package and it 
worked.

Thanks for the help, PeterJ.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Two contexts of a single web application

2009-04-15 Thread mrjavadude
In servlet, each context IS a web application, so what you asking doesn't make 
much sense.

But if you create a ROOT context, then you may have two URL mapping of admin 
and client that looks like what you described, but it would still under a 
single ROOT context.

I think latest Tomcat release supports something call SubContext though, so 
that might be something you are looking for too.

Have fun,
Zemian

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Exporting bundles as MBeans

2009-04-15 Thread pilhuhn
Hi,
what do I have to do to see the bundles of the runtime in the MBean server?
The user guide mentions the MicrocontainerService and your blog talks about 
"Management View

JBossOSGi registers the Framework and every deployed Bundle with the JMX 
MBeanServer."

But they don't show up in the JDK mbean server.

Can you give me a hint please?

Thanks
  Heiko


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Specifying default values to @Service attributes (JBoss 5.0.

2009-04-15 Thread csorbag
Hi,

I have a service ejb annotated with @Service. It has an attribute I'd like to 
assign different default values in different environments. 

For example:


  | @Service
  | public class MyService {
  |   private int simpleAttribute;
  | 
  |   public int getSimpleAttribute() {...}
  | 
  |   public void setSimpleAttribute(int value) {...}
  | }

I have a build script that generates two different EARs. One for test 
environment and one for production environment. I'm looking for a way to  
specify different default values to attributes for test and production 
environments. My idea was to use injection and env-refs in ejb-jar.xml or 
jboss.xml to inject different values. According to jboss' official ejb3 
tutorial I should be able to reference the service using the  tag within either 
ejb-jar.xml or jboss.xml. But whenever I specify the  tag I get an exception 
when deploying the ejb, telling me that "service" is not a valid child of 
enterprise-beans tag. I also tried to reference the service as a regular ejb 
using  tag, but than I get an exception while deploying the bean: 
java.lang.UnsupportedOperationException: Instead use JBossServicePolicyDecorator

What is the standard way to assign default values to service EJB's attributes 
without hardcoding them into source code?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to access my EAR app in JBoss outside localhost (in

2009-04-15 Thread PeterJ
See if this helps:  https://www.jboss.org/community/docs/DOC-10179

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Different jboss-aop.xml files for unit testing

2009-04-15 Thread flavia.rain...@jboss.com
This is unexpected. There must be some detail that we are overlooking, or the 
call pointcut should work.

I think that the fastest way of discoverying what is wrong is enabling verbose 
mode (-Djboss.aop.verbose=true) and see what JBoss AOP says about the class 
that should be woven. Since you're using call pointcut, the class I refer to is 
the Test class, because that's where the call you want to intercept is.

Please, look for every reference to your test class in the JBoss AOP verbose 
output and let me know what you get.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - how to access my EAR app in JBoss outside localhost (in coll

2009-04-15 Thread CommanderShepard
hi

a have a simple app (EAR) in JBoss 
in my home the address is

http://localhost:8080/project/page.jsf

but I want to access it in college too.. how do I do something like below?

http://MyIPNumber:8080/project/page.jsf

sorry the bad english
thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread akazakov
Eclipse WTP seemed not to removed old problem markers from old workspace... We 
changed marker IDs for Seam problem. It could be a reason. But anyway WTP 
should have removed them...

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225719
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
I tried setting the DefaultDS as a XA Data Source using a datasource descriptor 
I found on the net (I can't vouch for it's correctness) and leaving my 
application's data source as a local-tx (like what is found in 
docs/examples/jca).


  | 
  |   
  | DefaultDS
  | 
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
  | jdbc:mysql://localhost:3306/jbossdb
  | user
  | pass
  | 
TRANSACTION_READ_COMMITTED
  | 
  | true
  | false
  | 
  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | mySQL
  | 
  |   
  | 
  | 

My application deploys with this configuration, and my regression tests all run 
and pass. I do get an error on start up, however.

  | 11:14:51,021 INFO  [SessionSpecContainer] Starting 
jboss.j2ee:ear=myapp.ear,jar=myapp-beans.jar,name=AgingImpl,service=EJB3
  | 11:14:51,021 INFO  [EJBContainer] STARTED EJB: 
myapp.control.aging.AgingImpl ejbName: AgingImpl
  | 11:14:51,036 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | myapp/AgingImpl/remote - EJB3.x Default Remote Business Interface
  | myapp/AgingImpl/remote-myapp.client.control.aging.Aging - EJB3.x 
Remote Business Interface
  | 
  | 11:14:51,239 ERROR [TimerImpl] Error invoking ejbTimeout
  | org.jboss.aop.DispatcherConnectException: EJB container is not completely 
started, or is stopped.
  | at 
org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:304)
  | at 
org.jboss.ejb.txtimer.TimerImpl$TimerTaskImpl.run(TimerImpl.java:561)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | 
  | ...(following INFO [JndiSessionRegistrarBase] Binding messages omitted)...
  | 

I haven't been able to find any information on this one yet, but I'm guessing 
that a persisted timer is firing before the container is ready for it.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
That seemed ok - deleting all of the Eclipse meta files from my project 
(including .project) and then recreating the project seems to have resolved the 
issue.

Thanks for your help.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Unknown column 'NODE_ID' in 'where clause'

2009-04-15 Thread nvijsan
Hi,

I am trying to use jboss-messaging-1.4.2.GA-SP1 in jboss-4.2.1.GA and am stuck 
with this issue -


  | 2009-04-15 10:46:18,238 (main) ERROR 
[org.jboss.messaging.util.ExceptionUtil] ServerPeer[0] startService
  | com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 
'NODE_ID' in 'where clause'
  | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)
  | at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)
  | at 
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager.retrievePreparedTransactions(JDBCPersistenceManager.java:336)
  | at 
org.jboss.messaging.core.impl.tx.TransactionRepository.loadPreparedTransactions(TransactionRepository.java:176)
  | at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:330)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | 

The database has been recreated to check whether the issue gets resolved, but 
that hasn't helped.  Has anyone encountered this issue?  Any thoughts on how 
this can be overcome?

Thanks,
Naga Vijayapuram

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225715
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004

2009-04-15 Thread Frank.Feinbube
Has anyone any further suggestions? I am running out of time and it seems that 
no one has a solution to this problem.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
Progress update:

1) Copied the deploy/mysql-ds.xml file to deploy/app-mysql-ds.xml
2) Changed the JNDI name, changed the URL, changed the credentials in 
app-mysql-ds.xml
3) Restarted JBoss
-- No errors and no new warnings --
4) Deployed my JMS queues
-- No errors --
5) Deployed my app and I get a slew of warnings

  | 09:50:27,318 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be 
used via the bean container
  | 09:50:27,318 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be 
used via the bean container
  | 09:50:27,318 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void myapp.control.aging.AgingImpl.cancelTimer()
  | 09:50:27,334 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void 
myapp.control.aging.AgingImpl.initializeTimer(java.util.Date,long)
  | 09:50:27,349 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public long myapp.control.aging.AgingImpl.getTimeRemaining()
  | 09:50:27,365 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void myapp.control.aging.AgingImpl.initializeTimer()
  | 09:50:27,381 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void 
myapp.control.aging.AgingImpl.ejbTimeout(javax.ejb.Timer)
  | 09:50:27,381 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void myapp.control.aging.AgingImpl.cancelTimer()
  | 09:50:27,396 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void 
myapp.control.aging.AgingImpl.initializeTimer(java.util.
  | Date,long)
  | 09:50:27,412 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public long myapp.control.aging.AgingImpl.getTimeRemaining()
  | 09:50:27,427 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void myapp.control.aging.AgingImpl.initializeTimer()
  | 09:50:27,443 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public void 
myapp.control.aging.AgingImpl.ejbTimeout(javax.ejb.Timer)
  | 09:50:27,459 INFO  [AgingImpl] Initializing aging timer.
  | 09:50:27,459 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be 
used via the bean container
  | 09:50:27,459 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use 
InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be 
used via the bean container
  | 09:50:27,459 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.lang.Object 
myapp.control.setting.SettingsImpl.get(myapp.client.control.setting.Key)
  | 09:50:27,474 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.lang.String 
myapp.control.setting.SettingsImpl.getRaw(myapp.client.control.setting.Key)
  | 09:50:27,474 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.util.EnumMap 
myapp.control.setting.SettingsImpl.getAll()
  | 09:50:27,490 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.lang.Object 
myapp.control.setting.SettingsImpl.get(myapp.client.control.setting.Key)
  | 09:50:27,506 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.lang.String 
myapp.control.setting.SettingsImpl.getRaw(myapp.client.control.setting.Key)
  | 09:50:27,506 WARN  [InterceptorRegistry] applicable interceptors is 
non-existent for public java.util.EnumMap 
myapp.control.setting.SettingsImpl.getAll()
  | 

If my internet searching is correct, these can be safely ignored 
(http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.0/html/EJB3_Interceptors.html
 the very bottom of the page).

The one that concerns me however is this one.

  | 09:50:27,631 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple last resources is disallowed. Current resource is 
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource
  | @26eac5
  | 09:50:27,631 ERROR [AgingImpl] EJB Exception during create timer : 
javax.ejb.EJBException: Failed to create timer
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - How to locate MDB MXbean via JNDI?

2009-04-15 Thread tajh
I've searched the documentation and the forums, wasn't able to find this 
particular issue addressed anywhere.

I have a MDB (called MyMDB) deployed in a JAR, and I have a custom JMX bean 
deployed in a SAR.  I would like to access the 
org.jboss.ejb.plugins.jms.JMSContainerInvokerMBean corresponding to my MDB so 
that the custom JMX bean can call the startDelivery() and stopDelivery() 
methods on the JMSContainerInvokerMBean.  So far, I have been unable to locate 
the JMSContainerInvokerMBean in JNDI from within the SAR.  

I have tried the following JNDI contexts, to no avail:

anonymous wrote : java:/comp/env/MyMDB
  | java:/com/MyMDB
  | java:/MyMDB
  | local/MyMDB
  | /MyMDB
  | MyMDB
  | 

The JNDIView service in the JMX Console reports the following:

anonymous wrote : Ejb Module: MyMDB.jar
  | 
  | java:comp namespace of the MyMDB bean:
  | 
  |   +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
  |   +- ORB (class: org.jacorb.orb.ORB)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  | 

And of course I can access the desired JMSContainerInvokerMBean via the JMX 
console also, at something like the following:

anonymous wrote : jboss.j2ee
  | 
  | * 
binding=message-driven-bean,jndiName=local/my...@9049759,plugin=invoker,service=EJB
  | 

That number following the @ sign seems to be different every time I start 
JBoss, and this JNDI name seems to only apply from within the MDB's JAR scope 
itself.  At first, I wasn't sure I could get access to the 
JMSContainerInvokerMBean from outside the MDB's JAR, but if the JMX Console can 
do it, I should be able to do it from within my custom JMX bean in my SAR.  

So does anyone know the correct JNDI path to construct to get a handle to this? 

For reference, I am running the following:
JBoss AS 4.2.2 GA
JBoss Messaging 1.0
Java SDK 1.5.0_12

And this is what my client JNDI lookup code looks like:

JMSContainerInvokerMBean mbean = null;
  | try {
  | Context context = new InitialContext();
  | mbean = (JMSContainerInvokerMBean)context.lookup(jndiName);
  | } catch (NamingException ne) {
  | log.error("Unable to retrieve JMSContainerInvokerMBean at JNDI context 
" + jndiName, ne);
  | } catch (ClassCastException ce) {
  | log.error("Object at JNDI context " + jndiName + " is not instance of 
JMSContainerInvokerMBean", ce);
  | }

Any help is appreciated.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-15 Thread jaikiran
Could you try renaming the "remove" method on the Stateful bean (and its 
interface) to something else. Example:

/**
  |  * this method remove a mission
  |  * @see appli.persist.ComintPojo#remove(java.lang.Object)
  |  */
  | @Override
  | public void testingRemove(Mission pojo) {
  | Mission result = em.merge(pojo);
  | em.remove(result);
  | }
  | 
  | 
  | 
And then in client:

pojo.testingRemove(st)
Let us know how it goes.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread akazakov
Could you create new Seam project and copy the problematic code there? Is the 
issue still reproducable there? If so could you report it to jira and attache 
that project.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Yes, cleaned several times..

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss and Oracle DB Question

2009-04-15 Thread jaikiran
anonymous wrote : 
com.vitechinc.core.model.BlobType.nullSafeSet(BlobType.java:94) 

Looking at this line in the code, i guess this belongs to your application and 
this piece of code is passing the connection to the oracle driver method which 
probably excepts it to be of a different type.

In your com.vitechinc.core.model.BlobType.nullSafeSet you might want to do 
something like:

  | DataSource ds = ctx.lookup("dsname");
  | Connection conn = ds.getConnection();
  | // JBoss returns a "JBoss specific" wrapped connection, so let's give it a 
try
  | if (conn instanceof org.jboss.resource.adapter.jdbc.WrappedConnection)
  | {
  |  Connection underlyingConnection = ((WrappedConnection) 
conn).getUnderlyingConnection();
  |  // pass it on to the oracle driver
  |  
  | }
  | else {
  |  // pass the connection as-is to the driver
  | }

All this is a guess, based on the stacktrace. Not sure whether this is going to 
work.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread akazakov
It could... Have tried clean/build all your projects?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Nope, clean install.

Same workbench folder as I had with JBDS v1 - can that have impact?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss property files error

2009-04-15 Thread akazakov
Looking at the screenshot...
Actually you seem to have one project and a few source folder there. Correct? 
I'm just trying to reproduce the issue. No luck yet.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread akazakov
Hm... I can't reproduce it in GA and I remeber these bugs in some beta...
Have you updated your JBDS from beta?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Hi,

I am definately using the GA:

JBoss Developer Studio
Version: 2.0.0.GA
Build id: R200903141247-H4
Build date: 200903141316

And the version of JBoss Tools update site is:

JBoss Tools 3.0.0.GA-R200903141626-H5

The Seam bit is:

Seam Tools for Eclipse

Version: 3.0.0.GA-R200903141626-H5

any suggestions gratefully received..


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread cpslo1999
I started with a clean copy of the "standard" server and applied the 
instructions from http://www.jboss.org/community/docs/DOC-12255

This is JBoss 5.0.1.GA and MySQL 5.1.33

Here are my notes corresponding to the step in the instructions:
1) Done
2) Done
3) Done
4) Referenced file (standardjaws.xml) not found, step skipped
5) datasource - No change needed; datasource-mapping - It was commented out 
with "optional since 4.0", I uncommented it and put in the suggested value of 
mySQL; fk-constraint - changed as instructed
6) Added the specified security realm inserting my databases credentials 
(leaving the already present HsqlDbRealm)
7) Referenced file (hsql-jdbc2-service.xml) was not found, substituted 
hsqldb-persistence-service.xml and mysql-persistence-service.xml in this step 
instead.
8) As in (7) the file was not found, using mysql-persistence-service.xml 
instead, the referenced elements were not present, and the data source seemed 
to be set to DefaultDS already.
9) Referenced file (hsqldb-jdbc-state-service.xml) was not found

I started JBoss without my application deployed and got the following message:

  | 08:57:58,476 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI 
name 'java:DefaultDS'
  | 08:57:58,820 WARN  [JDBCPersistenceManager] JBoss Messaging Warning: 
DataSource connection transaction isolation should be READ_COMMITTED, but it is 
currently REPEATABLE_READ. Using an isolation level less strict than 
READ_COMMITTED may lead to data consistency problems. Using an isolation level 
more strict than READ_COMMITTE may lead to deadlock.
  | 08:57:59,007 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
  | 08:57:59,038 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to 
JNDI name 'java:JmsXA'
  | 08:57:59,070 INFO  [TomcatDeployment] deploy, ctxPath=/
  | 08:57:59,117 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
  | 08:57:59,163 ERROR [ProfileServiceBootstrap] Failed to load profile: 
Summary of
  | incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS MISSING DEPENDENCIES:
  |   Deployment 
"jboss.messaging.connectionfactory:service=ClusterPullConnectionFac
  | tory" is missing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  | ...
  | 

I added the element to deploy/mysql-ds.xml

  | TRANSACTION_READ_COMMITED
  | 

I restarted JBoss and got the following message:

  | 09:13:23,431 ERROR [ProfileServiceBootstrap] Failed to load profile: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS MISSING DEPENDENCIES:
  |   Deployment 
"jboss.messaging.connectionfactory:service=ClusterPullConnectionFac
  | tory" is missing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment 
"jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is 
missing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" 
is mi
  | ssing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is 
missing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" 
is mis
  | sing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is actually in state "Configured")
  |   Deployment "jboss.messaging:service=PostOffice" is missing the following 
dependencies:
  | Dependency "jboss.jgroups:service=ChannelFactory" (should be in state 
"Create", but is actually in state "** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **")
  | 
  | DEPLOYMENTS IN ERROR:
  |   Deployment "jboss.jgroups:service=ChannelFactory" is in error due to the 
following reason(s): ** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **
  | 
I commented out the element jboss.jgroups:service=ChannelFactory
 in the file deploy/messaging/mysql-persistence-service.xml
  | 

JBoss now starts with this warning:

  | 09:18:12,162 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute 
is true on connection factory: 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post 
office is non clustered. So connection factory will *not* support failover
  | 09:18:12,16

[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread akazakov
It seems you are using some early JBDS 2. Some beta or even alpha. Please 
update it to JBDS 2.0 GA (or JBoss Tools 3.0 GA). We have fixed all these bugs 
there.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Parameter Binding Coordination: Portlets from 2 differen

2009-04-15 Thread chris.lap...@jboss.com
At this point, you need to initiate the configuration of explicit coordination 
features using the *-object.xml deployment descriptors as explained in the 
documentation. There's an issue with the admin portlet that prevents it to 
display the proper information if no coordination elements have been defined in 
your *-object.xml files.
https://jira.jboss.org/jira/browse/JBPORTAL-2288

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - strage problem with deploying an application

2009-04-15 Thread wciesiel
Hi there,

I don't know where should I post it, as the problem is possibly related to one 
of:
* JBoss 4.0.5GA
* Richfaces
* Maven

... so I am cross-posting this on Richfaces, JBoss AS and Maven forums.

The problem is:

I have a web application which is to be deployed on a JBoss 4.0.5GA. I was 
developing it using web-related features of Eclipse (MyEclipse edition, to be 
specific), with exploded deployment used on local machine during development. 
Everything was working ok. Problems started when I tried to deploy WAR built 
with maven... Application is starting, but AJAX-related features of Richfaces 
are not working: after submitting a4j:form blank pages are being rendered 
without any error message, reRender-related features are not working on 
AJAXified pages etc...

The strange thing is, that my application is working correctly in two 
situations:

* when it is deployed by Eclipse as an exploded archive
* when such an exploded archive is manually packed into a .war file by me and 
deployed.

but is NOT working, when maven creates an archive...

I've made sure compiler is set to source and target version of 1.5 in both 
Eclipse and maven configuration. I've tried to compare created archives and 
there are only two differences:

* when eclipse is setting up a deployment folder, it puts compiled resources of 
my project's sub-modules directly into WEB-INF/classes folder. When maven is 
building an archive separate .jar files for each module are created and put in 
WEB-INF/lib folder. One of those sub-modules is containg common JSF files 
(taglibs, some converters defined within a sub-module's faces-config.xml etc).
* compiled .class files differ by a slight margin (like 4450 bytes vs 4467 
bytes) in size.

All library jars in the WEB-INF/lib folder are the same in both cases

I'm astonished by this situation. What's more unfortunate is that I have 
absolutely no idea how to chase this problem further... Any ideas would be 
highly appreciated...

here comes full list of my library JARs:
activation-1.0.2.jar
antlr-2.7.6.jar
asm-1.5.3.jar
batik-awt-util-1.6-1.jar
batik-ext-1.6-1.jar
batik-gui-util-1.6-1.jar
batik-util-1.6-1.jar
cglib-2.1_3.jar
commons-beanutils-1.7.0.jar
commons-beanutils-core-1.7.0.jar
commons-cli-1.1.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-dbcp-1.2.2.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-lang-2.3.jar
commons-logging-1.1.1.jar
commons-pool-1.3.jar
commons-validator-1.3.1.jar
dom4j-1.6.1.jar
ejb3-persistence-1.0.2.GA.jar
el-api-1.0.jar
el-ri-1.2.jar
geronimo-j2ee_1.4_spec-1.0.jar
hibernate-annotations-3.4.0.GA.jar
hibernate-commons-annotations-3.1.0.GA.jar
hibernate-core-3.3.1.GA.jar
itext-1.4.8.jar
java-core-2.4.1.jar
javassist-3.8.0.GA.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.9.jar
jaxws-api-2.1.jar
jaxws-rt-2.1.5.jar
jsf-api-1.1_02.jar
jsf-facelets-1.1.14.jar
jsf-impl-1.1_02.jar
jsr181-api-1.0-MR1.jar
jsr250-api-1.0.jar
jstl-1.1.0.jar
jta-1.1.jar
junit-4.4.jar
jyaml-1.3.jar
log4j-1.2.14.jar
mimepull-1.3.jar
mysql-connector-java-5.0.5.jar
ojdbc-10.2.0.4.jar
oro-2.0.8.jar
p4pl-core-1.0-SNAPSHOT.jar
p4pl-core-ws-1.0-SNAPSHOT.jar
p4pl-www-commons-1.0-SNAPSHOT.jar
resolver-20050927.jar
richfaces-api-3.1.6.GA.jar
richfaces-impl-3.1.6.GA.jar
richfaces-ui-3.1.6.GA.jar
saaj-api-1.3-SNAPSHOT.jar
saaj-impl-1.3-SNAPSHOT.jar
saaj-impl-1.3.2.jar
slf4j-api-1.5.6.jar
slf4j-log4j12-1.5.6.jar
spring-2.5.6.jar
spring-test-2.5.6.jar
stax-api-1.0.jar
stax-ex-1.2.jar
streambuffer-0.8.jar
tomahawk-1.1.8.jar
utils-1.07.jar
wstx-asl-3.2.3.jar
xercesImpl-2.8.1.jar
xml-apis-1.3.03.jar
xmlParserAPIs-2.0.2.jar


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - What happened to jBPM 3.3.x ?

2009-04-15 Thread xnejp03
Hello,

have I missed something or has the version 3.3.x been discontinued? Latest 
release was 3.3.1.GA, but on the roadmap I can see only 3.2.x and 4.0.x 
releases.

Petr

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JDBC persistence speed

2009-04-15 Thread desbonns62
Oh sorry, I'm new in Jboss and it is not so easy to understand all concepts.
So ok I will try to search idea around 'transactions', I didn't found much info 
on the documentation... I will search on the forum.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: First webservice

2009-04-15 Thread PeterJ
This is just a guess, but notice this method in the stack trace: 
org.jboss.wsf.common.JavaUtils.getPackageName. Now look at your web service - 
it has no package. You should never write packageless classes.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss and Oracle DB Question

2009-04-15 Thread PeterJ
All connections are wrapped and there is no way to prevent it. The 
WrappedConnectionJDK5 class implements Connection, so there should not be an 
issue unless the Oracle driver is casting the connection to something else.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Seam validation issues

2009-04-15 Thread pdhaigh
Hi,

I am using JBDS v2.

The Seam support is great, but there seem to be a reasonable number of flaws in 
the validation. To list a few:

ERROR: Duplicate variable name when using @DataModel and @Factory:

@DataModel
public ArrayList bookingsForApproval;

@Factory("bookingsForApproval")
public void findBookingsForApproval()
{
   bookingsForApproval = new ArrayList(forApprovalBookings.getResultList());
}

WARNING: "0" cannot be resolved in #{featuredFeedback.resultList[0]}

WARNING: components declared in components.xml cannot be resolved. This 
includes entityManager (i.e. @In EntityManager entityManager gives a warning), 
identity and a number of central components, as well as user-specified 
components.

WARNING: pages.xml validation
 #{s:hasRole('blah'} gives 2 warnings, one that s cannot be resolved and 
another that hasRole can't be resolved
All actions such as: #{webpageHome.setId(15)}  give validation warnings - seems 
it doesn't like method expressions.

The project runs fine ignoring these errors, but it's irritating that genuine 
problems can be masked by these.

Any chance of fixes?



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Upgradation

2009-04-15 Thread PeterJ
The AprLifecycleListener log entry is not a problem. This simply means that APR 
will not be used, and you do not need it.

With JBoss AS running, run netstat and determine which ports JBoss AS had open.

anonymous wrote : Yes i tried the same and its working fine.

Please define "the same". My prior post contained several things for you to 
try, which one did you try that worked? I am especially interested in the 
results of running telnet.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Problem with custom Authenticator and Login Module

2009-04-15 Thread stephaner
Hello,

I use JBoss 4.2.2.

I need a custom Web Authenticator with a custom Login Module. I think that my 
configuration is correct. My Authenticator is called, and in this one, when I 
call the authenticate method of the realm, my login module is called. The call 
is the following:

Principal principal = context.getRealm().authenticate(ntlm.getUsername(),"");

The problem is, that my principal is null after this call.

My Login Module extends AbstractServerLoginModule. The login() call is 
successful and the attribute "loginOk" is set to true. The method getIdentity() 
is never called.

Thank you for the help.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: net/sf/hibernate/Hiberna

2009-04-15 Thread PeterJ
anonymous wrote : Why are non-jca things being discussed here? 

For one, I don't often look at which forum a question is in when i answer it 
(comes from answering the questions as they come into my inbox).

Second, I doubt that most JBoss AS users could tell the difference between a 
question that is appropriate for this forum, or that should go into one of the 
other forums - JCA is not a very clear category, especially since JCA is used 
to connect to a multitude of things, including databases.

rasa - did you try it? Did it work? (I think you want to declare only one 
loader repository, though.)

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: libraries incompatibilities?

2009-04-15 Thread PeterJ
I cannot think of anything else to look at. Unless someone else has an idea, I 
think you will have to debug your tk tag.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: error at bpel hello world deployment

2009-04-15 Thread b16d
I have the same problem, did you find a solution?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Release ManagedConnectionFactory associated work

2009-04-15 Thread bortx
Ok, the question is as simple as this:

Is there a way of handling the ManagedConnectionFactory lifecycle¿? Methods 
like start() or stop()  to implement in order to take actions when a 
ManagedConnectionFactory is unbounded...

Thanks a lot

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

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

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


[jboss-user] [Beginners Corner] - Re: First webservice

2009-04-15 Thread Renani
Oh, and I forgot to mention that I could find the error message String out of 
bounds associated with my project in JBoss logs.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread PeterJ
anonymous wrote : apparently it is not common with MySQL as the database as 
there is very little information to be found on how to configure JBoss.

http://www.jboss.org/community/docs/DOC-12255

http://www.jboss.org/community/docs/DOC-12244

I have another resource but it not free (though the code is), I can provide a 
URL if interested.

anonymous wrote : I found out that it failed because there are two local-tx 
data sources

That should not matter (I typically have two, occasionally a few more). 
However, the server will complain if two datasource have the same JNDI name.

1) The name "DefaultDS" is scattered across several configuration files. There 
is nothing magic to that name - you could change all occurrences to "FooBar" 
and it would still work. The whole point, however, of leaving it at DefaultDS 
is so that you don't have to hunt down all of those references.

2) See the URLs I gave above (I use both MySQL and PostgreSQL, and in my one 
production environment we use MySQL)

3) No.

4) No, having multiple *-ds.xml files, each using a different jndi-name and 
each referencing a different database within MySQL is the way to go.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: How to configure region based caching & use multiple cac

2009-04-15 Thread bstansbe...@jboss.com
Correct.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure MySQL datasource for JBOSS 5.0.1

2009-04-15 Thread PeterJ
I don't know of any specific docs or tutorials for that, but you could start 
with one of the *-xa-ds.xml files in the docs/examples/jca/ directory and use 
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource as the xa-datasource-class.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - First webservice

2009-04-15 Thread Renani
Hi,
I'm trying to create a webservice. I followed the tutorials at 
http://www.javabeat.net/articles/40-creating-webservice-using-jboss-and-eclipse-europa-1.html.

The server would not run the war file created by following these steps. I've 
debugged all day but could not find the reason for it. What I figured out was 
that the WSDL file was not created. Strangely, the index.html, a static web 
page I've created for test would not run either.

In the book "JBoss in Action", chapter 9 I read that wsprovide is the program 
used to generate wsdls and it could be used manually. I attempted to do so and 
I think I figured out where it all fails. The message I got in Dos prompt is: 
Error: Could not generate. (use --show-traces to see full traces)
  | java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  | at java.lang.String.substring(String.java:1768)
  | at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:533)
  | at 
org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:
  | 700)
  | at 
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.pr
  | ocessWebService(JAXWSWebServiceMetaDataBuilder.java:313)
  | at 
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.bu
  | ildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:107)
  | at 
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProv
  | iderImpl.java:108)
  | at 
org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProv
  | iderImpl.java:124)
  | at 
org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)
  | at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)

The java code I'm trying to generate wsdl for is:


  | import javax.jws.WebService;
  | import javax.jws.WebMethod;
  | 
  | @WebService
  | public class Greeting
  | {
  |@WebMethod
  |public String greetClient(String userName)
  |{
  |   return "Greeting " + userName + "! Have a nice day...";
  |}
  | }
  | 

I'm certain that there is an error, not perhaps in the code it self but maybe 
with my configuration of eclipse (or is it JBoss)? 

Would be grateful for any help!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-04-15 Thread jaikiran
anonymous wrote : 1) How important is it to have JBoss infrastructure use the 
DefaultDS while applications use something else? (Stated in another way, what 
advantage does this configuration provide?) 

As Peter rightly mentioned, using just a single database to host everything (= 
server's data and your app's data) isn't the right thing since that data is not 
related to each other. 

anonymous wrote : 2) Is this a supported (as in tried and tested, not as in 
paid support) configuration using MySQL and JBoss 5.0? 

Yes MySQL datasource works against JBossAS-5.0

anonymous wrote : 
  | 3) Is there really a need to use XA data sources when one source is for 
JBoss infrastructure and the other is for my application? 

You mentioned that you ran into Multiple 1PC exception.  Can you post that 
entire exception stacktrace? And when do this happen? Does it happen in a 
transaction where you trying to use your app's datasource (to save something to 
DB) and in the same transaction, send a message JMS message to queue/topic? In 
that case you are involving 2 transaction aware resources - one is your app's 
datasource and one is the datasource of JMS (used for message persistence). If 
you don't want them to be part of the same transaction, probably you can break 
them into different transactions.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - JBoss property files error

2009-04-15 Thread krasig
I have 3 projects (Project A,Project B and Project C)
In every project I have log4j.properties file.
If i click on log4j.propertie file in "Project B", in "JBoss Tools properties 
Editor" i see file from "Project A". If i try to open with "Properties 
FileEditor" or "Text Editor" everything is ok.

See pic:  http://screencast.com/t/MspGsoI2


P.S. This happen also with hibernate.cfg.xml

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss and Oracle DB Question

2009-04-15 Thread sahmed223
Peter/All

I have spoke to one of the developer.  We realized that JBoss is wrapping all 
the connection pool to Database.

java.lang.ClassCastException: 
org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5 

Is there any way to prevent that?  Let me know if you need more information.


Thanks
Sayef


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Adding a portlet to an existing portlet page

2009-04-15 Thread malmit
"malmit" wrote : Is it possible to add a portlet from a different portlet web 
application to an existing portlet page?  Right now, I have to manually add the 
portlet to the page via the portlet admin console.

I forgot to mention deployment via configuration/deployment descriptor since it 
is already possible to do this from the web admin console

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error in jboss

2009-04-15 Thread Wolfgang Knauf
Hi,

this is the important part of your error log:

(java.lang.ClassNotFoundException: Unexpected error during load of: 
com.microsoft.sqlserver.jdbc.SQLServerDriver, 
msg=com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor 
version 49.0 

You are running a JBoss with JDK 1.5, but the JDBC driver seems to be compiled 
with 1.6

Either run JBoss with JDK 1.6 (you will need another JBoss download for that), 
or search a Java 1.5 compiled MSSQL JDBC driver.

Hope this helps

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-15 Thread chris.lap...@jboss.com
The wiki is your friend (at least, when it's not broken as it seems the link to 
the FAQ is currently broken):
http://www.jboss.org/community/docs/DOC-13228

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: How to configure

2009-04-15 Thread joncmuniz
It's very very easy!

  |   
  | 
CHANGE FOR THIS --

  | 
  | 
  | 
  | 
  | com.sun.jndi.ldap.LdapCtxFactory
  | 
  | 
  | ldap://YOUR IP:PORT LDAP/
  | 
  | 
  | simple
  | 
  | uid=
  | 
  | ,ou=users,dc=cds,dc=com
  | 
  | 
  | 
  | ou=groups,dc=cds,dc=com
  | 
  | member
  | true
  | 
  | cn
  | false 
  | 
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Adding a portlet to an existing portlet page

2009-04-15 Thread malmit
Is it possible to add a portlet from a different portlet web application to an 
existing portlet page?  Right now, I have to manually add the portlet to the 
page via the portlet admin console.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Load balancer to wit till the jboss server started

2009-04-15 Thread tosaravananm
We use JAAS Authentication policy.

To explain the problem clearly,

We have a rich client developed on eclipse rcp, login to the application will 
be done using this rich client. And we use client side interceptor as a load 
balancer and RoundRobin as a load balancing policy.

RoundRobin load balancing algorithm will select the targets(JBoss servers) in a 
circular fashion. 

We get the problem in the following sequence
1. Start the target1 (JBoss server1)
2. Login to the application (After server1 started fully)
3. Start the target2(JBoss server2)

The calls are hitting the server2 before it started fully, and the method 
invocation end up in a failure because the call was for the service which is to 
be deployed( because the server is in the process of starting and some of the 
services needed are not deployed yet).

Is there a way we can notify the load balancing algorithm(RoundRobin) to choose 
the target(JBoss server for invocation) which is fully started with all the 
services deployed(meaning that the server is fully started with the attribute 
change notification org.jboss.system.server.started).

And to discard the targets for invocation if the target is in the process of 
starting.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - birt intergration param tag

2009-04-15 Thread sjikkebats2

   
   

gives a NPE:

org.jboss.seam.birt.ui.UIParameter.restoreState(UIParameter.java:151)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1141)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:414)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:290)
org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:93)
com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:316)
org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:141)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)

what can be the problem?

I use:
jboss-seam-2.1.1.GA
jboss-eap-4.2
BIRT Reporting Runtime Component 2.3.0
Seam Tools for Eclipse Version: 3.0.0.GA-R200903141626-H5
Eclipse Platform Version: 3.4.2



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - How to configure to sup

2009-04-15 Thread joncmuniz
How to configure   to support LDAP?

The file login-config.xml has a setting where I get User and roles from a file 
properties (jbossws-roles.properties,jbossws-users.properties), how do I get 
these users and roles of an LDAP repository?


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ClassNotFoundException: org.jboss.resource.deployers.man

2009-04-15 Thread Rhodan
anonymous wrote : What is rcp pluging? 
see http://wiki.eclipse.org/index.php/Rich_Client_Platform.

Meanwhile we found the reason for the ClassNotFoundError(s). When packaging 
jboss inside an rcp-plugin, then the root classloader isn't the jboss one 
anymore, instead it is the bundle-Classloader of the eclipse equinox/osgi 
platform. So we had to make the relevant jboss jar's known to the equinox 
platform via their MANIFEST.MF.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-15 Thread samuel.michelot
Thanks for the link !

I am running Portal 2.7.2 (the last one).


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Parameter Binding Coordination: Portlets from 2 different ve

2009-04-15 Thread malmit
I tried to use parameter binding coordination to wire 2 different portlets 
residing in 2 different web applications.  I added public render parameters to 
both portlet.xml files and also added  to 
both portlet differents.  When I bring up the admin console in jboss, I added 
both portlets to the same page and tried to configure parameter bindings for 
them and was not able to.  There was a message telling me that there weren't 
any public render parameters defined eventhough I defined them in the 
portlet.xml.  I was able to configure alias parameters with the public render 
parameters that I defined.  Do parameter bindings really work in JBoss Portal 
V2.7.0?  All I've seen people recommending is alias bindings on this forum and 
not parameter bindings.

Thanks in advanced!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: JBoss/ActiveMQ Messages never delivered to MDB

2009-04-15 Thread rchristy
I have an update on this.  We applied jboss-messaging-1.4.0.SP3 on top of the 
4.2.2 distribution (part of a different experiment) that was the cause of this 
unstable behavior with ActiveMQ.  On a clean 4.2.2 distribution, this problem 
doesn't occur.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225626
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS with JBoss Embedded

2009-04-15 Thread skajotde
I'm also curious results.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: net/sf/hibernate/Hiberna

2009-04-15 Thread vickyk
Why are non-jca things being discussed here?


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Configuration of data source

2009-04-15 Thread vickyk
You are messing up the things IMO.
Why do you want to keep the DefaultDS as the jndi name for the mysql datasource 
which you are configuring?
Creating the MySql DB should be simple thing, just refer this 
http://www.jboss.org/community/docs/DOC-12244



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-15 Thread thomas.he...@jboss.com
You can find the code for those examples here:
https://svn.jboss.org/repos/portal/modules/portlet/tags/JBP_PORTLET_2_0_5/samples/src/main/java/org/jboss/portal/portlet/samples/shoppingcart/

Not sure about the other error, the TLD should have been included. What version 
of JBoss Portal are you running ?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ClassNotFoundException: org.jboss.resource.deployers.man

2009-04-15 Thread vickyk
"Rhodan" wrote : Hello 
  | we are using jboss 5.0.1 inside an rcp plugin. 
  | 

What is rcp pluging?
How are you using it?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: JBoss Connection Pooling Problem With Unisys DMS-II JDBC

2009-04-15 Thread vickyk
"acastanheira2001" wrote : 
  | My theory is: JBoss is not managing correctly connection pooling with 
DMS-II Jdbc Driver. Every time a connection is requested JBoss establish it 
with DMS-II Database and do not release it after use. When the number of 
requests reaches its maximum value new connections are refused and the old 
connection are not release for reuse. 
  | 
  | I am use JBOSS 4.2.0-GA-SP2 , JDK 1.5.0.15 .
  | 
  | Can anybody help me???
  | 
  | Thanks 
  | 
  | Andre

I bet that your application is not releasing the connection back to the pool, 
you ready for the bet ;)
Use listInUseConnections() operation of the CacheConnectionMBean to determine 
which part of the code is causing the connections to leak
For more details refer this
http://www.jboss.org/community/docs/DOC-9255


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Upgradation

2009-04-15 Thread jaikiran
That log is just a INFO message. That won't come into picture for what you are 
running into.

anonymous wrote : I have changed my port no as 8585

Let's not make a lot of changes, since it becomes difficult to track what might 
be wrong. Switch back to 8080 since we saw that the server was starting up fine 
with that port.

As Peter suggested,
"PeterJ" wrote :  One way of verifying that it to run "telnet hostname 8080" 
and see what you get back.

what output did you get with 

telnet your-server-ip-address 8080

on the system where you are trying to access the server.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Reauthenticated Connection

2009-04-15 Thread vickyk
Check this 

https://jira.jboss.org/jira/browse/JBAS-1429


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-15 Thread jaikiran
Could you please open a topic in the JBossWS forum for discussing the injection 
of EJB in WebServices 
http://www.jboss.org/index.html?module=bb&op=viewforum&f=200? From what i see 
in the JBossWS JIRA, support for @Resource injection was added in WebServices 
but it does not mention @EJB injection. Someone from the JBossWS team might be 
able to provide some clue as to why the injection doesn't happen.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225606
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Upgradation

2009-04-15 Thread rasa
I have changed my port no as 8585 and when i gone through the log i got 
following error.

 [AprLifecycleListener] The Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
/home/java5/jdk1.5.0_18/jre/lib/i386/server:/home/java5/jdk1.5.0_18/jre/lib/i386:/home/java5/jdk1.5.0_18/jre/../lib/i386
  | 

May be this is the issue.  Please help me to solve the issue.

Thanks and Regards
Rasa

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225605
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-15 Thread samuel.michelot
Thanks for your answer Thomas !

The shopping cart and catalog portlets looks great for my needs, but I can't 
find them  here :
http://www.jboss.org/portletswap/portlet_main.html
Where can I download the source code ?


The sun examples are recognized by JBoss Portal, but when I display them, I 
have this Exception:

11:55:32,743 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lancé une 
exception
org.apache.jasper.JasperException: L'uri absolue: http://java.sun.com/portlet 
ne peut être résolu dans le fichier web.xml ou dans les fichiers jar 
déployés avec cette application
at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)

It's maybe nothing, but I prefere to start with the shopping cart, once I'll 
get the source code.


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

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

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


[jboss-user] [JBoss Portal] - Re: Page Layout Issue

2009-04-15 Thread peris
we have to use same portal but based on the user we have to show different 
portlet.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225603
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassCastException: $Proxy78 cannot be cast to

2009-04-15 Thread areyyyyy
Hi,

  Thanks for ur reply.
 Here i am providing remote interface and stateful session beans:



@Stateful(name = "uhomeSession")
@Remote( { LoginSession.class })
public class LoginSessionBean implements LoginSession {
@PersistenceContext(unitName = "Model")
private EntityManager em;
private PropertyLogger pl;
private Ruser sessionUser;
private FinderMethods fm;

public LoginSessionBean() throws UnknownException, WarningException {
pl = PropertyLogger.getInstance();
fm = new FinderMethods();
pl.write("Leaving LoginSessionBean constructor", 1, 
"LoginSessionBean",
"LoginSessionBean");
}

...  some more methods
}


@Remote
public interface LoginSession {
Object mergeEntity(Object entity);
void checkSessionUser(String methodName) throws WarningException;
void logout();
...  some more methods
}



and i am working with server JBOSS4.2.3GA.

Still i am getting same exception mentioned earlier.

and JNDI VIEW is
 +- uhome (class: org.jnp.interfaces.NamingContext)
  |   +- DefaultSessionBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (proxy: $Proxy96 implements interface 
com.vs.uhome.model.session.DefaultSession,interface org.jboss.ejb3.JBossProxy)
  |   +- uhomeSession (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (class: java.lang.Object)
  |   |   +- remoteStatefulProxyFactory (proxy: $Proxy65 implements interface 
org.jboss.ejb3.ProxyFactory)


I have deployed both stateless (DefaultSessionBean) and stateful 
(LoginSessionBean).I could call stateless from my servlet but i could not call 
statefull session beans.

and to mention i have deployed web files in war and all ejb files as jar inside 
uhome.ear file with application.xml file given below

http://java.sun.com/j2ee/dtds/application_1_2.dtd";>

Uhome Application


ViewController.war
/ViewController



Model.jar



Please tell me why stateful session beans remote node did not implement  the 
proxy of loginsession? and what  jndi string  should  i use to lookup for the 
login session?
Thanks



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225601
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-15 Thread skajotde
"epbernard" wrote : If we are OK to go the non standard route, I can look at 
adding  a method on HibernateEntityManagerFactory. 
  | Set> getEntities();
  |  returning the list of entities.
  | 
  | Or even better you can do
  | 
  | Collection metadatas = (Map) ( (HibernateEntityManagerFactory) emf 
).getSessionFactory().getAllClassMetadata().values();
  | 
  | for(ClassMetadata metadata : metadatas) {
  |   Class entityType = metadata.getMappedClass(EntityMode.POJO);
  |   if (entityType != null) 
  | doStuffCauseItsAnEntity( entityType );
  | }

I think it is good way, so 

public Collection> discoverEntities();

is executed in context of deployed PU. EMF should take responsibility to 
discover which entities belong to it and expose API to get that information. So 
code for hibernate is ready, and for EMF which now doesn't expose similair API 
code discoverEntities should throw exception ..?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225600
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Upgradation

2009-04-15 Thread rasa
Yes i tried the same and its working fine. But still its not giving the 
requested page. But still its not working. One thing i have noticed is one 
tomcat is configured in the same machine for the same port but now that process 
is not running. So please guide me to find the solution.

Thanks and Regards
Rasa

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: net/sf/hibernate/Hiberna

2009-04-15 Thread rasa
Hope this is rt ?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-15 Thread japase
Hi,

It can't be true.

According to Java EE 5 specification web service endpoints can either be 
defined through "@WebService" annotation inside EJB 3 code (i.e. "@Stateless") 
_or_ as separate stand alone classes packed as war application, as in our case.
Of course, our "@EJB" declarations in web service code refer to EJB 3 EJBs.

BTW: EJB injection in web service endpoints deployed as war application _does_ 
work in both GlassFish and WebLogic.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225595
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >