[jboss-user] [Beginners Corner] - Re: Can't find the SessionBean

2008-09-01 Thread jaikiran
Going by the jndi tree output, you posted, the remote bean is bound to 
c-backend-1-SNAPSHOT/CalculatorBean/remote and the local is bound to 
c-backend-1-SNAPSHOT/CalculatorBean/local. This is the default jndi naming 
scheme which is EARName/BeanClassName/remote or EARName/BeanClassName/local.




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

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


[jboss-user] [EJB 3.0] - How JSF portlet can access EJB 3.0?

2008-09-01 Thread mabimal
Hello all, 
I have configured EJB 3.0 and EJB 3.0 has been successfully coded. Now i need 
to get access EJB 3.0 from Portlet which has JSF implemention. The problem is 
that the JSF implemented portlet has the code in the  portlet.xml file as

  | portlet-classcom.sun.faces.portlet.FacesPortlet/portlet-class
  |init-param
  | namecom.sun.faces.portlet.INIT_VIEW/name
  | value/WEB-INF/jsp/index.jsp/value
  | /init-param
  | 
 In this case the java class of the portlet will not execute so that i can call 
EJB. What is the solution of it, please suggest me. I can not drop JSF 
implementation in Portlet and i need to access EJB. How can i do it?

In the anticipation of the solution
Mabimal

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

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


[jboss-user] [JBoss Portal] - Re: problem about cas sso:DBIdentityLoginModule can not get

2008-09-01 Thread jsports

  | import javax.security.auth.login.LoginException;
  | import javax.security.jacc.PolicyContext;
  | import javax.servlet.http.HttpServletRequest;
  | import org.jboss.portal.identity.auth.DBIdentityLoginModule;
  | 
  | public class CRMDBIdentityLoginModule extends DBIdentityLoginModule {
  | 
  | @Override
  | protected boolean validatePassword(String inputPassword,
  | String expectedPassword) {
  | //  logger.info(inputPassword==+inputPassword);
  | //  logger.info(expectedPassword==+expectedPassword);
  | HttpServletRequest request = null;
  | try {
  | request = (HttpServletRequest) PolicyContext
  | 
.getContext(javax.servlet.http.HttpServletRequest);
  | } catch (Exception e) {
  | log.error(this, e);
  | throw new RuntimeException(e);
  | }
  | Object ssoSuccess = request.getAttribute(ssoSuccess);
  | //  logger.info(ssoSuccess==+ssoSuccess);
  | if (ssoSuccess != null) {
  | return true;
  | }
  | return super.validatePassword(inputPassword, expectedPassword);
  | }
  |  
  | 
  | @Override
  | protected String createPasswordHash(String username, String password,
  | String arg2) throws LoginException {
  | return password;
  | } 
  | }
  | 

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

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


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-01 Thread jaikiran
anonymous wrote : 14:01:59,675 ERROR [MainDeployer] Could not initialise 
deployment: file:/Development/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
  | java.lang.NoClassDefFoundError: javax/ejb/Stateless 

I wouldn't expect the deployment to fail with a NoClassDefFoundError for this 
class. Is this a clean installation of JBoss? Did you do any changes after 
downloading JBoss? If not, then maybe the downloaded file was corrupt. Try 
downloading JBoss again.

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

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


[jboss-user] [Remoting] - Re: Compression marshalling

2008-09-01 Thread robert.geisler
finally... i solved it and got a solution...

i am using JBoss Remoting 2.2.2 SP8 now. 
therefor a replaced the jboss-remoting.jar in my server/lib/ directory and 
replaced the directory jboss/remoting/ in jbossall-client.jar with the one 
jboss-remoting.jar (2.2.2 SP8) includes. 
to throw exceptions when using http, i put return-exception=true as a 
parameter of the InvokerLocatorURL on the EJB3 Remoting Connector.

last but not least i would be interested in how to activate compression for EJB 
2.1...? thanks for any advice.

kind regards
robert

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

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


[jboss-user] [JBoss Messaging] - standalone client pooling of JMS resources

2008-09-01 Thread jonroler
I have a working standalone JBM 1.4 java client application that publishes 
messages to a JBoss Application Server running JBM.  It is a multithreaded 
application that will eventually produce (not receive) messages at a pretty 
high rate, so I will require some form of client-side caching/pooling of JMS 
connections/sessions/producers.  Does JBM provide any support for pooling of 
JMS resources in a standalone java client?  If JBM doesn't have any client-side 
JMS resource pooling support, can you recommend any other libraries that might 
be applicable?  I'd rather not have to write this myself.

I doubt this affects the answer, but I'll also mention (just in case) that my 
standalone java client also writes to the database and will need to use XA 
transactions so that database writes and the publishing of JMS messages are 
atomic.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss stuck in

2008-09-01 Thread [EMAIL PROTECTED]
is your server secured ? if yes, did you fillin username/password in the server 
settings ?

If not, we can't detect the server is up.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Tutorial for using seam 2.1 with jboss tools 3 alpha

2008-09-01 Thread [EMAIL PROTECTED]
there is zero difference between how to use Seam 1.2, 2.0 or 2.1 with jboss 
tools so not sure what kinda tutorial you are looking for ? ;)

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

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


[jboss-user] [JBossWS] - Re: Getting handle of the original XML message in JAX-WS

2008-09-01 Thread jimpo
Also, binding to a String is not a necessity. I could bind to a Document or an 
Element as well. As long as I can extract the xml easily, ie. not binding into 
a group of java objects.

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

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


[jboss-user] where to find properties-plugin for a Maven Build?

2008-09-01 Thread torsten . reinhard
Hi, 

JBoss has a class SystemPropertiesServiceMBean, located in 
server\default\lib\properties-plugin.jar. 
I couldn´t find this jar in any Maven repo, even not at 
http://repository.jboss.com/maven2/org/jboss/

I know i could deploy it myself to our repository by mvn 
deploy:deploy-file - but i like more just ready-made downloading from a 
repo, 
this is much more convenient and preserves me from managing dependencies, 
creating a group/artifactId and so on. 

Any other idea how to use JBoss' properties-plugin (class 
SystemPropertiesServiceMBean) from within a maven build? 

see this question also at 
http://www.nabble.com/how-to-use-JBoss-SystemPropertiesServiceMBean-in-a-Maven-build--td18530410.html

Thanx, 

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


[jboss-user] [Beginners Corner] - Re: java.lang.NoClassDefFoundError exception when starting 4

2008-09-01 Thread erasmomarciano
Try  as suggested jaikiran.

If your Jboss starting with error you check host file.


 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Tutorial for using seam 2.1 with jboss tools 3 alpha

2008-09-01 Thread campers
I've just done a clean install of gaynemede with jboss tool 3 alpha and have 
run into an issue with creating a seam project.

If I go Preferences - JBoss Tools - Web - Seam then I can create a seam 
runtime with version 2.0.

However if I then go New - Seam Web Project - [Next x3] then the seam runtime 
dropdown doesn't show the 2.0 seam runtime I created previously.  Also when I 
click the Add.. button it doesnt have the option to create a version 2.0 seam 
runtime like the dialog does from the Preferences.

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

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


[jboss-user] [EJB 3.0] - Re: Accessing JBoss Datasource from EJB 3.0

2008-09-01 Thread mabimal
Hello all,

I am now not using datasource but using my configuration file by reading it and 
sending to the XMLParser class. 

We need to copy the jar of EJB to client application in order to communicate to 
EJB by the client. I am now having confusion that, we have lot's of classes 
supporting connection pool, and there is just an EJB class that responses the 
client request and helps to establish connection to database.

Currently in my application the connection pool code and EJB interface are in a 
single jar which i think will cause the problem of more than one instance of 
the connection pool be created and to avoid that we need to make the connection 
pool jar and the EJB interface jar different.

But EJB interface and class must be linked with connection pool in order to 
have connection. So how to achieve this? 

In the anticipation of the solution
Mabimal


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Starting Jboss JBPM

2008-09-01 Thread MarquesTM
Installing Guide

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Starting Jboss JBPM

2008-09-01 Thread MarquesTM
Hi, i need help to configure jboss jpbm.

I downloaded eclipse ganymed,jboss 4.2.2, jboss tools and jbpm jpdl.

I need do configure all this stuff. But i have problems with jbpm. i dont know 
what to do.



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

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


[jboss-user] [JBoss Portal] - WSRP Producer: Need to set requiresInitCookie

2008-09-01 Thread jgrange
Hi,

I'm having some session problems when consuming jboss wsrp portlets in 
microsoft sharepoint.  Before posting the full problem here, I wanted to set 
the requiresInitCookie on the WSRP producer to perUser just to see if it helps 
- Unfortunately, I can't find out how to set it.  Can anybody help?

I'm using Portal 2.6.6 on AS 4.2.3 (windows 2k3 server)

TIA

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2 Session Replication Failover

2008-09-01 Thread [EMAIL PROTECTED]
Hi.. not sure if you still need an answer to this but you can customise how 
many nodes in the cluster the session data is replicated to by using the buddy 
replication configuration in the META-INF/jboss-service.xml file under the 
jboss-web-cluster.sar folder.  Hope this helps.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2 Session Replication Failover

2008-09-01 Thread erasmomarciano
I think that you  need  setting  in web.xml

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

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


[jboss-user] [JBoss jBPM] - Re: Global Actions/Common Actions

2008-09-01 Thread kukeltje
something like this:

http://docs.jboss.com/jbpm/v3.2/userguide/html/processmodelling.html#actionreferences

http://docs.jboss.com/jbpm/v3.2/userguide/html/jpdl.html#action.element

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

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


[jboss-user] [JBoss Tools (users)] - Re: Nightly: NPE DocTypeUtil.getDoctype(DocTypeUtil.java:137

2008-09-01 Thread nhpvti
Hi,

anonymous wrote : Yes, please report bugs in jira with steps on how to 
reproduce - otherwise we can't really give you news :)

I was not sure that this is a bug, it could be programming mistake or 
misconfiguration. 

There are no Null Pointer exceptions on Windows workstations, only on a Linux 
one.

After some research I've discovered that the problem occurs if our  XHTML files 
start with html xmlns=..., e.g.:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | ui:composition template=/layout/template.xhtml

And there is no problem when XHTML files start with ui:composition..., e.g.:

!DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  |   
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | template=layout/template.xhtml
  | 

Now after migration to the 2nd style there are no null pointer exceptions any 
more during opening XHTML files, 
but Visual Editor is still not working on my Linux workstation :-(

The following link didn't help:
http://wiki.jboss.org/wiki/JBosstoolsVisualEditorFAQ
There is already compat-libstdc++-5.0.7-22.2 installed and symbolic link 
libstdc++.so.5 pointing to it already exists.

But hope that this will help...
https://jira.jboss.org/jira/browse/JBDS-170

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Upgrading from 4.0.4 to 4.2.2

2008-09-01 Thread cs224
Hello Thanz,

were you able to solve your problem? I have the same problem with JBoss and 
Glassfish. I've filed a bug report at:
https://glassfishplugins.dev.java.net/issues/show_bug.cgi?id=55
publish failed using ant publisher: duplicate entry: .svn/all-wcprops

Any further information would be appreciated!

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

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


[jboss-user] [JBoss jBPM] - Re: error start JBOSS Application Server

2008-09-01 Thread mputz
Looks like there is an old version of log4j.jar around somewhere - TRACE level 
had been included since log4j version 1.2.12.

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

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


[jboss-user] Delivery Status Notification (Failure)

2008-09-01 Thread postmaster
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

   [EMAIL PROTECTED]



Reporting-MTA: dns;MS-CRM.JSC.TPCHEL.RU
Received-From-MTA: dns;mail.tpchel.ru
Arrival-Date: Mon, 1 Sep 2008 14:25:38 +0400

Final-Recipient: rfc822;glbuh@localhost
Action: failed
Status: 5.1.1
---BeginMessage---
itwLch.gif---End Message---
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: WSRP Producer: Need to set requiresInitCookie

2008-09-01 Thread [EMAIL PROTECTED]
There is currently no easy way to change the value of requiresInitCookie on the 
WSRP producer. I will file a JIRA to expose this configuration setting via the 
producer configuration interface. 
That said, the producer should already require initCookie to be performed on a 
per user basis. If not, this is a problem.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss4.2.1GA Installation and configuration

2008-09-01 Thread pb_1
Hi,

I have downloaded and unzipped JBoss4.2.1GA. I have added it as windows service 
on my windows XP machine by by installing JavaService.exe that i downloaded 
from net and also running the install.bat file that i downloaded from net. But 
jboss is accessible only as localhost. How do i make a  set up to access JBoss 
with ip address and hostname when i am starting it as a windows service? I have 
searched a lot on the net and din't find any working solutions. Please help me 
on this.

Thanks,
PB

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

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


[jboss-user] [JBoss Portal] - Re: WSRP Producer: Need to set requiresInitCookie

2008-09-01 Thread [EMAIL PROTECTED]
To be a little more precise, our WSRP producer does not currently require use 
of cookies so we did not include the capability for users to configure this 
option. 
Cookies initialized via initCookie are unrelated to session management and 
changing the initCookie policy should not have an impact on this.
We do currently require a call to initCookie to be made once per user but this 
is a workaround for an interoperability issue we found with some versions of 
BEA Portal.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss4.2.1GA Installation and configuration

2008-09-01 Thread erasmomarciano
You have to create a  start scritp for Jboss.

EX:

/home/jboss/jboss-4.0.4.GA/bin/run.bat -b 0.0.0.0.0 -c test1test1.log

-b 0.0.0.0.0: makes jboss listening on every address  

or

nohup /home/jboss/jboss-4.0.4.GA/bin/run.bat -b your-ip -c test1test1.log
 
-b  your-ip : makes jboss listening only on the given ip- address  


 

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

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


[jboss-user] [EJB 3.0] - Accessing EntityManagerFactory/SessionFactory via JNDI serve

2008-09-01 Thread matt10
Hi,

I have an application framework which scans the EAR it is contained in for EJB3 
entity bean classes and persistence units, to auto-detect them, in order to 
provide access to data through a facade SLSB.

I need to obtain the following programmatically:
1. A list of all Persistence Units
2. A list of all Entity Bean classes
3. The container-managed EntityManager for each Persistence Unit

Injecting the EntityManagers using annotations on beans is no good here because 
the PUs and Entity Bean classes will not be known by the application framework 
I am writing.
I want the facade to access data given only the simple class name of the entity 
bean.

I have a working theory of how to get the above but I've hit a blocking problem 
I can't get over during implementation.

In theory:
- I can get a list of all PUs from JNDI, as well as references to the 
SessionFactory or EntityManagerFactory objects.
- I can get a list of all entity classes in each PU by calling 
SessionFactory.getAllClassMetadata() on the SessionFactory for each persistence 
unit.
- I can get a SessionFactory from an EntityManagerFactory if I need to.
- I can get an EntityManagerFactory from an EntityManager if I need to.

I have tried to get a list of Persistence Unit names by scanning JNDI; either 
looking for the standard signature:
persistence.units:ear=TestEAR.ear,jar=TestApp.jar,unitName=default

.. or by explicitly registering all PUs in a JNDI folder e.g.
persistence-units/PU1
  | persistence-units/PU2


Both JNDI entries should provide access to SessionFactory or 
EntityManagerFactory objects as per specs and documentation I've read, but the 
bound object is always an instance of javax.naming.Reference instead of the 
className I expect: org.jboss.ejb3.entity.InjectedEntityManagerFactory, 
org.hibernate.impl.SessionFactoryImpl, or the interfaces; 
javax.persistence.EntityManager, EntityManagerFactory or SessionFactory. Any of 
these objects from JNDI would do, I've tried looking up them all.

I've looked all over the place for a solution to this javax.naming.Reference 
problem. I figured it might be due to the class loader isolation I have 
configured with this snippet in jboss-app.xml:

loader-repositoryorg.baselib:loader=Test.jarloader-repository-config 
  | java2ParentDelegation=false
  | /loader-repository-config 
  | /loader-repository
  | 

I need this isolation because I use a different version of BeanShell in my EAR 
than the one that ships with Jboss (using Jboss AS 4.2.0 at present; I have 
issues with most other versions except for 4.2.1). I have tried removing it, 
and verifying that isolation is not the default in ear-deployer.xml, but I 
still get javax.naming.Reference.

Other posts I've found refer to classpath problems with the client jar. However 
this code is running on the server so (if I understand how things work 
correctly) access to all the jboss classes is already available.

I'm currently working with a simple test case: TestBean.java that tries to look 
up EntityManagerFactories in JNDI:


  | @Service
  | @Management(IServiceManagement.class)
  | public class TestBean implements IServiceManagement {
  | 
  | public void create() throws Exception {}
  | 
  | public void destroy() {}
  | 
  | public void start() throws Exception {
  | logger.info(Starting TestBean service);
  | listAllPersistenceUnits();
  | }
  | 
  | public static void listAllPersistenceUnits() throws Exception {
  | InitialContext ctx = new InitialContext();
  | NamingEnumerationBinding list = 
ctx.listBindings(persistence-units);
  | while (list.hasMore()) {
  | Binding nc = (Binding)list.next();
  | logger.info(Persistence Unit EMF: +nc.getName()+ 
[class: +nc.getClassName()+]);
  | Object o = nc.getObject();
  | if(!(o instanceof EntityManagerFactory))
  | logger.warn(No good; o instance of 
+o.getClass().getName());  // javax.naming.Reference
  | }
  | }
  | 
  | public void stop() {}
  | 
  | protected static final Logger logger = 
Logger.getLogger(TestBean.class.getName());
  | 
  | }
  | 

persistence.xml for the test looks like this:

  |   persistence-unit name=default transaction-type=JTA
  | jta-data-sourcejava:/ApplicationDS/jta-data-source
  | properties
  |property name=hibernate.hbm2ddl.auto value=none/
  |property name=hibernate.dialect 
value=org.hibernate.dialect.PostgreSQLDialect/
  |property name=jboss.entity.manager.factory.jndi.name 
value=persistence-units/default/
  |!-- testing:
  |property name=jboss.entity.manager.jndi.name 
value=persistence-units/default/
  |  property name=hibernate.session_factory_name 
value=java:/session-factories/ / --
  | /properties
  | /persistence-unit

[jboss-user] [JBoss Tools (users)] - Re: Tutorial for using seam 2.1 with jboss tools 3 alpha

2008-09-01 Thread [EMAIL PROTECTED]
If you choose 1.x for the Seam facet version then a Seam 2 runtime won't show 
up.

Remember to set the facet version to 2 or choose the default configuration with 
Seam 2, not the Seam 1.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Nightly: NPE DocTypeUtil.getDoctype(DocTypeUtil.java:137

2008-09-01 Thread [EMAIL PROTECTED]
JBDS -170 is an old issue, did you open another one ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - @Filter don`t work on jboss

2008-09-01 Thread bmc
Hi everybody, 
I have a simple test application with @Filter feature. The problem is the 
filter don`t work (resulting SQL do not include filter condition).

The entity:

  | @Entity
  | @Table(name = test_a_table)
  | @FilterDef(name = valueTest)
  | @Filter(name = valueTest, condition = (value = 'test'))
  | public class A {
  | @Id
  | @Column
  | private String id;
  | 
  | @Column
  | private String value;
  | 
  | ...
  | }
  | 

DAO: 

  | @Stateless
  | public class ADaoImpl implements ADao {
  | @PersistenceUnit
  | private EntityManagerFactory emf;
  | 
  | public Session getSession() {
  | return (Session) emf.createEntityManager().getDelegate();
  | }
  | 
  | public ListA getAll() {
  | getSession().enableFilter(valueTest);
  | return getSession()
  | .createCriteria(A.class)
  | .list();
  | }
  | 
  | 
  | }
  | 

Result SQL Code:

  | /* criteria query */ select
  | this_.id as id72_0_,
  | this_.value as value72_0_
  | from
  | test_a_table this_
  | 

Here is maven project zipped: http://6709.su/test.zip (8KB)

PS: Jboss 4.2.2.GA (hibernate 3.2.4.sp1)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Nightly: NPE DocTypeUtil.getDoctype(DocTypeUtil.java:137

2008-09-01 Thread [EMAIL PROTECTED]
I can see https://jira.jboss.org/jira/browse/JBIDE-2711 have been created that 
resembles this issue.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP Producer: Need to set requiresInitCookie

2008-09-01 Thread jgrange
I've investigated the problem futher and it appears that the SharePoint WSRP 
web part is sending the JSESSIONID cookie on getMarkup requests but not on 
performBlockingInteraction requests.

The consequence of this is that a new session is created for processAction in 
my test portlet (source code below), but not for each doView.

BTW:  The actionURL.toString()+/wsrp_rewrite bit was needed to get sharepoint 
to rewrite the action url.  the /wsrp_rewrite at the end of the action url was 
there under portal 2.4.2, but appears to have disappeared for 2.6.6 - would you 
like that as a separate post?


package org.jboss.portlet.hello;

import javax.portlet.GenericPortlet;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.UnavailableException;
import java.io.IOException;
import java.io.PrintWriter;

import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.PortletMode;
import javax.portlet.PortletPreferences;
import javax.portlet.PortletURL;
import javax.portlet.WindowState;

public class HelloWorldPortlet extends GenericPortlet
{

public void processAction(ActionRequest request, ActionResponse response) 
throws PortletException { 
 
// process the salutation set by the user in the edit mode. 

String username = request.getParameter(username); 
request.getPortletSession().setAttribute(username, username);
Integer count = (Integer) 
request.getPortletSession().getAttribute(accesscount);
System.out.println(username =  + username + , count =  + count);



}

protected void doView(RenderRequest request, RenderResponse response) 
throws PortletException, IOException, UnavailableException
{
// prompt the user for the salutation. 

Integer count = (Integer) 
request.getPortletSession().getAttribute(accesscount);
if (count == null) {
count = new Integer(0);
}

count++;

request.getPortletSession().setAttribute(accesscount, count);
String username = (String) 
request.getPortletSession().getAttribute(username);
PortletURL actionURL = response.createActionURL(); 
 
response.setContentType(request.getResponseContentType()); 
 
PrintWriter writer = response.getWriter(); 
 
//writer.write(form method=\post\ action=\ + 
actionURL.toString()); 
writer.write(form method=\post\ action=\ + 
actionURL.toString()+/wsrp_rewrite); 
 
writer.write(\Name:INPUT TYPE=\TEXT\ 
NAME=\username\INPUT TYPE=\submit\ NAME=\SUB1\ VALUE=\Submit\);   
writer.write(Hello  + username + .  Access count= + count + 
);


writer.close();
}
protected void doEdit(RenderRequest request, RenderResponse response) 
throws PortletException, IOException, UnavailableException
{  
doView(request, response);
}
}


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Dependency problem with Scheduler

2008-09-01 Thread amedina
Ok I have found a working solution for this issue. It is possible to define the 
scheduler service inside the ear-file.

just put the following jboss-app.xml together with the scheduler-service.xml 
inside the META-INF directory of your .ear


  | jboss-app  
  | module 
  | serviceMETA-INF/scheduler-service.xml/service
  | /module
  | /jboss-app 
  | 

this works without defining any dependencies in the scheduler-service.xml mbean 
configuration. 

However, for me it's still a brainteaser why my first approach didn't work...

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

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


[jboss-user] [JBoss jBPM] - web service

2008-09-01 Thread vinodkv
Hello 

We are using jBPM 3.2.2.

We wish to instantiate a process using a web service interface. The process 
should be deployed as a web service and we wish to trigger the process from the 
ESB on the basis of some input received via email or http. 
Is it possible in the curretn version of 3.2.2??

We read on the forums that the web service interface is introduced in jBPM 
3.2.3. 

We also wish to consume a web service within a jBPM processs. Is there any out 
of box feature available to create a client for a web service in jBPM?

Regards,
Vinod.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP Producer: Need to set requiresInitCookie

2008-09-01 Thread jgrange
Sorry, I should have said on the previous post : have you any suggestions for 
how to get around this?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss4.2.1GA Installation and configuration

2008-09-01 Thread pb_1
But i am not running jboss from CMD. I am running it from services.msc.

How do i run it with ip address in that case?

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

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


[jboss-user] [EJB 3.0] - Deploying EAR and WAR separately

2008-09-01 Thread alexg79
I have some EJBs in an EAR file that I want to use in a separately deployed WAR 
file. I figured making them use the same unified class loader through 
jboss-app.xml/jboss-web.xml would solve this problem, but I'm still getting 
ClassNotFoundExceptions when I attempt to load the appropriate classes from the 
WAR. When deploying them in the same EAR, everything works fine.
Could someone point out the appropriate way to do this?

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

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


[jboss-user] [JBoss jBPM] - Re: web service

2008-09-01 Thread kukeltje
anonymous wrote : We read on the forums that the web service interface is 
introduced in jBPM 3.2.3. Correct, although I did not use it, and not sure 
about what is all possible with it. 

anonymous wrote : We also wish to consume a web service within a jBPM processs. 
Is there any out of box feature available to create a client for a web service 
in jBPM? Any java webservice client software can (should) be used for this. 

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

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


[jboss-user] [JBoss jBPM] - Re: error start JBOSS Application Server

2008-09-01 Thread miafonso2123
In that directory I think that old version of log4j?

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

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


[jboss-user] [JBossWS] - Re: Cannot find service endpoint target

2008-09-01 Thread PatrickMadden
I know this is asking a lot but it would be amazing if the the error that 
stated that it couldn't find the service endpoint target also put a warning in 
the log that said make sure your persistence.xml jta-data-source element 
matches your ${foo}-ds.xml's jndi-name element.

Otherwise it is very difficult to track down.

Thanks,

PVM

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

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


[jboss-user] [Security JAAS/JBoss] - Different Webapplications for a Security Domain

2008-09-01 Thread oozoo
Hi,

I have a SessionBean that is protected via @SecurityDomain(Webapp1), now 
there is a certain method that I want to access from another webapplication. I 
call the SessionBean via JNDI: When I mark the method as @PermitAll I still get 
the EJBAccessException - is there any possibility that I can access this method 
without assigning any roles to the Webapp2?

thanks

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Different Webapplications for a Security Domain

2008-09-01 Thread oozoo
For clarification: Webapp2 isnt protected via a LoginModule while Webapp1 is.

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

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


[jboss-user] [JBoss Portal] - Re: How to redirect to a different URL on click of Maximized

2008-09-01 Thread softkoti
This is an urgent requirement. Could any one in JBoss portal team could give me 
the solution?

Your help is appreciated

Thanks in advance
Rama

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

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


[jboss-user] Delivery Status Notification (Failure)

2008-09-01 Thread postmaster
This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

   [EMAIL PROTECTED]



Reporting-MTA: dns;MS-CRM.JSC.TPCHEL.RU
Received-From-MTA: dns;mail.tpchel.ru
Arrival-Date: Mon, 1 Sep 2008 18:22:12 +0400

Final-Recipient: rfc822;vetrov@localhost
Action: failed
Status: 5.1.1
---BeginMessage---
Ай как тридцать сильных русейских богатырей.  Картину эту образуют не столько 
имена бы-линных героев – они, как мы увидим, изменяются со временем, – не 
столько сюжетные коллизии – эти, напротив, очень мало изменяются от народа к 
народу и от эпохи к эпохе.  
Глава 1. От вехи к вехе. Проблема датировки былин   23Сразу же поймЈте цену 
тем фильмам, карти-нам и книгам, где воины не расстаются с полным вооружением 
ни на минуту. Поэтому вполне естест-венно, что князь ехал за данью, выражаясь 
совре-менным языком, «одетым по граждански». А кафтанчик у него чЈрна 
бархата.И, в конце то концов, смеяться над тем, чего толком не знаешь – тоже не 
дело. Как гласит посло-вица, смех без причины... мда, нездоровый 
симптом.Приложение 2. Богатырь – к пониманию слова   76Авторитет Бориса 
Александровича Рыбакова – патриота и замечательного учЈного, но вместе с тем 
человека увлекающегося – закрепил за поиска-ми летописных «прототипов» былинным 
героям и их приключениям имя «исторической школы» в бы-линоведении. Но при том, 
если богатыри недовольны кня-зем – они считают себя вправе уехать от него и 
ино-гда вспоминают, как служили у других правителей. Ну, кто же это – говоря 
языком исторической нау-ки? Да, задачка... для школьника – и то не читавше-го 
учебники по истории. 
RMKacQ.gif---End Message---
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Authorization in jBPM

2008-09-01 Thread philso
Hi , I am working with jBPM v 3.2.3 with Spring Modules .9 (with Spring 2.5.2 
and Hibernate 3.2.6) against a mySQL 5.1 DB. I can deploy Process Definitions 
and create Process Instances fine, However, it appears jBPM is not using any 
form Authorizaton. According to the manual I can use 
IdentityAuthorizationService to check a Tasks permission versus the actorid 
calling the task. Unfortunately this class is not implemented. Also, I'm 
wondering do I have to explicitly call this checkPermissions method of 
IdentityAuthorizationService each time I need to signal a token or is there a 
way of wiring the authorization up to the signalling process automatically?

I've added the following service element to jbpm.cgf.xml: 

service name=authorization 
factory=org.jbpm.security.authorization.IdentityAuthorizationServiceFactory 

in the jbpm-context element.


Many thanks for your time. Phil

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

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


[jboss-user] [JBossWS] - JBOSS Portal 2.6.4. Error on Startup

2008-09-01 Thread dtagjmh
Hi,

I'm getting an [org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] on 
startup which looks like this:

It was detected that '' is in namespace '', but components from 
this namespace are not referenceable from schema document 'file:.xsd'. If 
this is the incorrect namespace, perhaps the prefix of '' needs to be 
changed. If this is the correct namespace, then an appropriate 'import' tag 
should be added  to 'file:.xsd'.

Real names are replaced.

My question is, can I configure JBoss to keep the generated XSDs so that I can 
examine them.


Regards

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Accessing multiple EJBs on different JBoss AS instances

2008-09-01 Thread skajotde


  | login 1
  | access 1
  | login 2
  | access 2

Why this order is not enough ?

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

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


[jboss-user] [JBoss Cache: Core Edition] - trouble with invalidation replication

2008-09-01 Thread shulok
Nothing too fancy, just two simple caches, no isolation level, they work fine 
with REPL_SYNC and _ASYNC.  If I try to do invalidation instead, the changes 
never get propagated.  Just changing key/value pairs on a single node in the 
tree, but they never show up on the other three when I reference the node from 
there.  What am I missing?

Using the cache that comes with 4.2.2.

Thanks,
Thom

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Running jboss from services.msc and accessing with ip addres

2008-09-01 Thread pb_1
Hi I am running jboss from services.msc on windows xp machine.
Once started, server is accessible as localhost for eg:http://localhost:8080 
will work. But instead of localhost if i use my system's ip address or 
hostname, it doesn't work.

What i have to do to run it from services and access it with ip address or host 
name. Please help. Thanks in advance.

PB

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

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


[jboss-user] [JBossMQ] - 'default security config'

2008-09-01 Thread bel81
i've installed fresh jboss with default config and use testTopic

since something is going not the way i like, i've turned on TRACE log

i wonder what is the default security config from the
2008-09-01 18:20:00,324 DEBUG [org.jboss.mq.security.SecurityManager] No 
SecurityMetadadata was available for JMS_TQ1 using default security config 
like trace messages?

my particular ptoblem is about my clients can not see messages posted by 
clients from another subnets - but everything is ok with messages posted from 
the same subnet... i am sure the question is stupid but could it be something 
with JMS security?

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

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


[jboss-user] [JBossWS] - Exception Deploying JAX-WS on JBoss4.2.2GA with JDK1.5

2008-09-01 Thread SagarD
java.lang.ClassCastException: 
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
  at 
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
at 
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
at 
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at 
org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
at 
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Different Webapplications for a Security Domain

2008-09-01 Thread ragavgomatam
The PermitAll annotation specifies that all security roles are permitted to 
execute the specified method(s).  They must nevertheless be auhenticated

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

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


[jboss-user] [JBoss Getting Started Documentation] - Navigating by JBoss hosted documentation should more friendl

2008-09-01 Thread skajotde
Hi 

I have much bookmarks with JBoss Documentation. Sometime there are obsolete and 
there is no way to find correct URL, eg:

http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta500/html/Transactions_on_JBoss.html

Developing requires links direct to documentation not only to root like 
http://www.jboss.org/jbossas/docs/. I think first step is check 
...Server_Configuration_Guide/beta500/html/ but jboss.org server shows 
message Sorry, you don't have access to this resource.

Also link would be some shorter. Eg 
http://docs.jboss.org/jbossas/Server_Configuration_Guide/beta500/html/

Documentation should be more friendly ; Eg by enter 
...Server_Configuration_Guide/beta500/html/ I suppose to browse folder. 
Documentation is not secret thing ; It would be nice if by entering 
http://docs.jboss.org I could browse docs for all JBoss projects only by 
traverse folders.

Even free access should be allowed to read all docs by move/click accross 
folders (up folder). Sometimes I seek enter point to documentation long time 
but click one level up would be much faster. It is standard Apache behaviour.

http://docs.jboss.org
  |   - jbossas
  | - configuration
  |- beta500
  |- 4.2.2.GA
  | - gettingstarted
  |   - jbosstm
  |   - ...

Next implication is documentation will be searchable by Google ; only type eg 
gg site:docs.jboss.org transaction manager and developing will be simpler.

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

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


[jboss-user] [JBoss jBPM] - Re: Authorization in jBPM

2008-09-01 Thread kukeltje
correct, the authorizationservice is non functional atm You need to check 
those in your own application layer if you want to

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

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


[jboss-user] [JBoss.NET] - How to format Request/Response SOAP messages?

2008-09-01 Thread flsobral
Hi.

I implemented a webservice following this tutorial:
http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html

But using Eclipse Ganymede and JBoss 4.2.3.GA instead.

Using the web services explorer and the TCP/IP monitor, this is the request 
made by the web services explorer and the resulting response:

Request

  | ?xml version=1.0 encoding=UTF-8 standalone=no?
  | soapenv:Envelope xmlns:q0=http://wtp; 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   soapenv:Body
  | q0:celsiusToFarenheit
  |   q0:celsius37.0/q0:celsius
  | /q0:celsiusToFarenheit
  |   /soapenv:Body
  | /soapenv:Envelope
  | 

Response

  | ?xml version=1.0 encoding=utf-8 standalone=no?
  | soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   soapenv:Body
  | celsiusToFarenheitResponse xmlns=http://wtp;
  |   celsiusToFarenheitReturn98.6/celsiusToFarenheitReturn
  | /celsiusToFarenheitResponse
  |   /soapenv:Body
  | /soapenv:Envelope
  | 

It works, but I want the request without the q0 on the envelope and the 
namespace on the method tag (like the response or the image shown on the 
tutorial). It would also be great if I could also configure the namespace to 
show something better than http://wtp;

Thanks.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jacorb version packaged with JBoss 4.0.3 SP1

2008-09-01 Thread j75_woods
Hi all,

we recently deployed Adobe LiveCycle, some sort of PDF document factory which 
relies on top of Jboss 4.0.3SP1.

In the client production environment, we experience some weird deconnexions for 
connexions established on port 3528 (OAport). We guess that a firewall is 
teasing us (but we cannot investigate in our client prod environment)

I would like to enable TCP keepalive so as to fool the firewall (it will stop 
disconnecting idle connexions, since these connexions will not bee idle any 
longer thanks to keepalive packets). I found out that JacORB is able to enable 
TCP keepalive, but only starting with version 2.3.

Do you now the version of the Jacorb packaged with JBoss 4.0.3 ?
Is is possible (and easy) to upgrade Jacorb in a Jboss environment (in case 
JBoss 4.0.3 embeds a Jacorb version lower than 2.3)?

Thanks in advance.

Patrick.F



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem With SymLinks, Apache, AJP

2008-09-01 Thread soundz
Hi,

My apache, mod_proxy_ajp configuration is having issues following any symlinks 
in docroot. Trying to access any URL that is a symlink results in 404.

Here is my setup:
Ubuntu 7.10 64bit
Apache 2.2.4 (installed from respository)
default mod_proxy_ajp install with apache
mod_proxy_ajp configured with JBoss 4.0.5

FollowSymLinks is turned on for all directories and virtual servers.  Here are 
the lines I added to Apache configuration to enable pass-through to Jboss:



  | ProxyRequests Off
  | Proxy *
  | Options Indexes FollowSymLinks MultiViews
  | AllowOverride None
  | Order allow,deny
  | Allow from all
  | /Proxy
  | 
  | ProxyPass / ajp://127.0.0.1:8009/
  | ProxyPassReverse / ajp://127.0.0.1:8009/
  | 

I made a simple symlink test with test2.html - test1.html. To test the 
permissions, I set them to 777 and tried chowning to root, www-data, my 
username. All test fail with 404.

If I disable ajp, all symlinks work fine in the default apache DocumentRoot.

Any suggestions?

Thanks,

Jimmy

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

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


[jboss-user] [JBoss jBPM] - Re: web service

2008-09-01 Thread vinodkv
Thank you Ronald for the quick response.

anonymous wrote : Any java webservice client software can (should) be used for 
this. 
I would try out the Web Service client for this.

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

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


[jboss-user] [JBoss jBPM] - Re: Error while attempting to send mail

2008-09-01 Thread sagyer
Yes, the code is working from the same machine.

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

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


[jboss-user] [JBoss Portal] - Re: Full Portal Page Refresh Problem

2008-09-01 Thread dynamolalit
One more thing i noticed while administrating the JBoss Portal is that we have 
option of partial refresh of portal under admin link.Under Portal objects 
link,for a specific portal page,this property can be checked fro partial 
refresh,but when i checked it and updated my portal page, my portlets are not 
working.Quite confusing i can say.Also no specific docs i found relating to 
this so far.

Anyone to help please??

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

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