[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread [EMAIL PROTECTED]
decompile will not be a problem for our system because we are using one-time key for encryption and the key will be loaded from somewhere else and existing no where besides jboss's memeory. no clear key in code,only a batch of APIs. like this some side effects do exist. I am still trying to do

[jboss-user] [Beginners Corner] - Re: problem with class loader

2008-09-10 Thread jaikiran
Even post the entire console logs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175765#4175765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175765 ___ jboss-user mailing l

[jboss-user] [EJB/JBoss] - Re: class loader exception

2008-09-10 Thread jaikiran
Being discussed here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142156 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175764#4175764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175764 _

[jboss-user] [Beginners Corner] - why Session would close under stress test?

2008-09-10 Thread gan.gary
I have a JBoss under stresstest and under what condition the Session would close? and the very first log is: 2008-09-10 09:01:40,695 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for nu

[jboss-user] [Beginners Corner] - Re: problem with class loader

2008-09-10 Thread jaikiran
Please post the entire exception stacktrace. Are you deploying this application as a jar file or an EAR file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175762#4175762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Verification of Enterprise Beans failed

2008-09-10 Thread jaikiran
Please post the entire exception stacktrace that you see on the console. Also which version of Java do you use? While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure yo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problems for windows service

2008-09-10 Thread jaikiran
anonymous wrote : wrapper.app.parameter.3=-b 192.XXX.XXX.XXX You should be passing the -b and the IP address as two separate parameters. See this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115500 for details. View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBossWS] - Re: jbossws first steps

2008-09-10 Thread [EMAIL PROTECTED]
"TonyR" wrote : | However when I check the http://jbws.dyndns.org/mediawiki/index.php?title=Supported_Target_Containers, the matrix implies that only jbossws-native-3.0.3 is compatible with the application server 4.2.3. So does that mean, I should download the 3.0.3 stack and install it? O

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Verification of Enterprise Beans failed

2008-09-10 Thread rajasekharreddym
hi , i'm using Jboss 4.0.1 . i'm getting the following error when i deploy my application . " could not create deployment: file:/C:/Java/jboss-4.0.1/server/default/deploy/plansetup/plansetup-ejb.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed " what c

[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread skajotde
You can encrypt password in -ds.xml or set permission that only jboss process can read this file. Consider that creating DS in Java has the same security problems how -ds.xml because anybody can decompile class files from deployed application (unless you use obfuscator or something similar) Vi

[jboss-user] [Beginners Corner] - Confusion about Eclipse

2008-09-10 Thread jabailo
I'm confused about what in Eclipse I need minimally to create a servlet for JBoss 4.2 This tutorial shows basic Eclipse and he uses J2EE/Web Project to get started. http://www.laliluna.de/first-java-servlets-jsp-tutorial.html However, the is also this add on for JBoss http://www.jboss.org/tool

[jboss-user] [JBoss Portal] - Can I specify the size of the portlet being displayed on the

2008-09-10 Thread m.paranjape
Hi All, I am rendering some portlets on JBoss portal. I would like to specify the size of the portlet, specially the Width of each of the portlet so that my UI looks polished. Is there any way I can do it? Any help is highly appreciated. Regards, Milind. View the original post : http://ww

[jboss-user] [Beginners Corner] - Hello World Servlet

2008-09-10 Thread jabailo
Just getting my feet wet with Jboss 4.2-GA running on Windows. I'm looking for a tutorial to build a super simple Hello World servlet. One that can be the target of a jsp page POST and can read one or two request variables. Sample code would be nice, something I can just insert into an explode

[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client

2008-09-10 Thread eefahs
anonymous wrote : Also look at the ejb-jar.xml dtd which allows a "run-as" http://java.sun.com/dtd/ejb-jar_2_0.dtd. You can use that on the MDB definition in the ejb-jar.xml and specify the role name which has access to the secured EJB. Yes, that did it. Thanks Jai Kiran. Solved my problem..

[jboss-user] [Beginners Corner] - Re: Windows Authentication with Jboss

2008-09-10 Thread Mangal9i
Hi Peter, I check into the server Info and I saw this JbossWeb/2.0.0GA. So I guess it's web server. Anything more? And as I told previously, I din't istall the Jboss Seperatly, It got installed with the setup of Pentaho open source BI. So don't even have any configuration information documents

[jboss-user] [JBoss Portal] - Re: Problem with Custom Auth Module

2008-09-10 Thread jsports
there is still a important step before the 2 steps. You should make cas sso integrate with portal first. then you can follow the 2 steps. jboss portal reference docs can tell you how to integrate cas and jboss portal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Portal] - Re: Problem with Custom Auth Module

2008-09-10 Thread jsports
It's very easy to do. There are 2 steps. 1.Cas Authentication You can write a public class CASAuthenticationService implements org.jboss.portal.identity.sso.AuthenticationService , then define it as a MBean in jboss-portal.sar/meta-inf/jboss-service.xml, the MBean should like this: | |

[jboss-user] [JBoss Portal] - Re: Problem with Custom Auth Module

2008-09-10 Thread youssef.mohammed
"jsports" wrote : BTW,I have done custom SSO with cas successfly. | | congrats ! mind to share the experience ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175743#4175743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [Clustering/JBoss] - JBoss node joining wrong cluster

2008-09-10 Thread dyazbek
I am trying to setup an environment of more than one cluster in the same network. Each cluster will have two JBoss instances, and I want them to be totally isolated. Here is what I have done so-far. Setup two machines with JBoss EAP 4.3 on them, configured the partition name to be different fo

[jboss-user] [JBoss Portal] - Re: Problem with Custom Auth Module

2008-09-10 Thread jsports
BTW,I have done custom SSO with cas successfly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175741#4175741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175741 ___ jbos

[jboss-user] [JBoss Portal] - Re: Problem with Custom Auth Module

2008-09-10 Thread jsports
An advice,you should use org.jboss.portal.identity.auth.IdentityLoginModule or org.jboss.portal.identity.auth.DBIdentityLoginModule or org.jboss.portal.identity.auth.SynchronizingLDAPExtLoginModule as you custom loginmodule base class. It's not a good idea to extend from UserNameAndPasswordLoginM

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problems for windows service

2008-09-10 Thread quintenjiang
I follow instruction "Use the JavaServiceWrapper" and run jboss service, it work well, but only for localhost. i try to modify command line in the wrapper.conf wrapper.app.parameter.3=-b 0.0.0.0 OR IP address wrapper.app.parameter.3=-b 192.XXX.XXX.XXX But it still does not work as remote

[jboss-user] [JBoss Portal] - divRenderer custom attributes

2008-09-10 Thread abbasi81
Hi, Is there any way to make divRenderer output extra attributes. By default it outputs: < div id='regionA' >...< div >. I want it to output somthing like: < div id='regionA' class='someclass'>...< /div > Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread [EMAIL PROTECTED]
Thank you guys. I will give it a try now. But I don't think to create *-ds.xml file is a good idea for security reasons. Is there a solution that i can remove the *-ds.xml file after data-source deployed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175

[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?

2008-09-10 Thread quintenjiang
Thanks, run jboos: run -b 0.0.0.0 is for remotely connection. But when I try to run jboss as window service. i try to change line in the wrapper.conf wrapper.java.additional.1=-Dprogram.name=run.bat into wrapper.java.additional.1=-Dprogram.name=run.bat -b 0.0.0.0 Jboss server can not start.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss vs Weblogic: classloading

2008-09-10 Thread samkhanski
Hi, I'm working on an app that is app server agnostic (in theory). Here's the exploded deployment structure: app.ear + first.war + second.war + third.war + META-INF + APP-INF ++classes ++ lib As some of you may know, Weblogic will load binaries from the classes fold

[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
ic nevermind heh So the target and server provider need to match exactly as it is defined *-jms-ds.xml *palm forehead* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175724#4175724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[jboss-user] [JBoss Portal] - Problem with Portal and ESB install

2008-09-10 Thread troy.sellers
Hi, New to JBoss stack, trying to install the AS with ESB and Portal. Install steps were conducted in the following order.. Windows XP SP2, MySQL 5.1, jdk1.6.0_02 1 - Download jboss-4.2.3.GA.zip, unpack ... 2 - Download jboss-messaging-1.4.0.SP3, use to replace JBossMQ as described in the

[jboss-user] [JBoss Getting Started Documentation] - Re: instrucitons for building roster application screwed up

2008-09-10 Thread MikePhoenix
update: I also tried setting the properties file as follows: j2ee.home=C:\\jboss-4.2.3.GA BUILD FAILED C:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not properly set in /j2eetutorial14/examples/common/build.properties. Set the j2ee.home property to the location of yo

[jboss-user] [JBoss Cache: Core Edition] - Re: Need Help: Implementing JBoss Cache 3.0.0 BETA1 in Hibe

2008-09-10 Thread kevingre
Manik, That's just the encouragement I needed - I'll report back once I get things going. Thanks again, Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175718#4175718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Messaging] - Re: Clustering JBM

2008-09-10 Thread jbossnoob
The db is used for message storage so you get the durability aspect. I guess someone would say you add db redundancy to provide what you are looking for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175717#4175717 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Getting Started Documentation] - instrucitons for building roster application screwed up

2008-09-10 Thread MikePhoenix
I am trying to build the roster application to test my connection to MySQL and am using this version of the getting started manual: http://docs.jboss.org/jbossas/getting_started/v4/html/cmp.html It gives me the following instruations: 7.1. Building the Example The EJBs are packaged in two separ

[jboss-user] [JBoss Messaging] - Clustering JBM

2008-09-10 Thread tuomo
Hi, I want to use jboss with jboss-messaging as cluster. I don't know how it should work. My scenario is the following: I have 2 hosts with a seperated instance of jboss 4.2.0 GA (including jbm). As datastore runs postgres 8.3. I thought the clustering of jboss is independent from the databa

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

2008-09-10 Thread patwary_shiva
Peter, The code is in serverImpl.java of jboss-system.jar initBootLibraries() method which is private. /** * Initialize the boot libraries. */ private RepositoryClassLoader initBootLibraries() throws Exception { // Build the list of URL for the spine to boot Lis

[jboss-user] [Security & JAAS/JBoss] - LDAP with Domino -- No roles found/Access Denied

2008-09-10 Thread tjpfister
I'm having an issue integrating JBOSS's security in my application. When logging into my application, the LDAP server is correctly verifying the user name and password, but it cannot find the roles on the LDAP server. Since it cannot find the roles, the user is redirected to a 403 error page:

[jboss-user] [JBossWS] - Re: Webservice impl from WSDL

2008-09-10 Thread PeterJ
Are you doing a POJO web service or an EJB3 web service? They are slightly different. For a simple pojo 'hello world' service, you need: WEB-INF/web.xml WEB-INF/classes/pojo/ws/*.class (the wsconsume-generated classes) WEB-INF/classes/pojo/ws/HelloImpl.class (the class you coded) WEB-INF/wsdl/hel

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

2008-09-10 Thread PeterJ
One possible solution: create a deploy.last directory in the deploy directory, and move jar2 to that directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175707#4175707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
Looking at the JMX Console it looks as if the JMSProvider is there, its status is also started. MBean Name: Domain Name:jboss.messaging | service:JMSProviderLoader | name: HAJNDIJMSProvider | MBean Java Class: org.jboss.jms.jndi.JMSProviderLoader | | StateSt

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment order in jboss

2008-09-10 Thread rgudepu
I have 2 jar files that I deployed (copied into the deploy folder) into Jboss 4.2.2. During the next server restart, I want jar1 to be deployed first and then jar2 to be deployed. Is there a way to control such deployment order through any configuration ? Thanks, -rg View the original post

[jboss-user] [EJB 3.0] - Possibility to test passivation / activation of SFSB

2008-09-10 Thread sebgerpb
Hi everyone, is there a possibility to test passivation and activation of a SFSB via a unit-test or something like that? I read in the forums that EJB3 Embeddable does not support passivation of EJBs. Is there any other way to do this? Thanks for your answers! View the original post : http://

[jboss-user] [JBossWS] - Webservice impl from WSDL

2008-09-10 Thread sr_ren
I have a JBoss 4.3 with "[NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)". I am trying to implement the WSDL using "start from WSDL" approach to implement server side webservice. First I tried using Eclipse 3.4 plugin that can generate server side code, however the deployme

[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule

2008-09-10 Thread ragavgomatam
Not a straightforward way. But there was a post earlier, that advises users to use interceptor pairs on client & server. Client interceptor captures ip address in addition to login & sends that across to server interceptor pair. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Messaging] - Re: Need help with configuring message bridge from JBM-1.4.0

2008-09-10 Thread samdoyle
I see the exact same error as well. Getting the bridge to work as been a pain. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175685#4175685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175685

[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
I guess I was supposed to use HAJNDIJMSProvider for the name value however that didn't solve anything and I still see the same error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175679#4175679 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBossMQ] - Re: HAJNDIJMSProvider mbean not installed

2008-09-10 Thread samdoyle
Did you ever get an answer for this question? I know this isn't the JBoss Messaging forum but I'm seeing the same issue as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175678#4175678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
I did try the configuration from the bridge example originally but it resulted in the same problem. | | jboss.messaging:service=JMSProviderLoader,na | me=JMSProvider | | | jboss.messaging:service=JMSProviderLoader,na | me=JMSProvider View the original po

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hot Deploying Themes

2008-09-10 Thread thetikigod
thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175674#4175674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175674 ___ jboss-user mailing list jboss-user@lists.jboss.o

[jboss-user] [JBoss Messaging] - JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
Hello, I keep running into this issue on startup when trying to make use of the messaging bridge. --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider | State: NOTYETINSTALLED | Depends On Me: | jbo

"Beautiful Arab Woman" Tuqaa Profile

2008-09-10 Thread eDmund Muskie
"looking for a hereo & not zero" I AM LOOKING FOR A MAN THAT LOVES TO HAVE FUN AND LOVES SPORTS. I LOVE A MAN THAT DOESN'T ARGUE OR DISAGREE ON STUPID THINGS. http://www.arabbeautifulwomen.com/profile051.html . Arabic Girl Amal Free EMAIL Photo I am funny and happy a

[jboss-user] [JBoss jBPM] - Re: Process Logging Not Happening Correctly

2008-09-10 Thread kukeltje
anonymous wrote : Is it a configuration error (transaction setup?) or bug in the enterprise package? Might be either... Not sure how the transaction of the CommandServiceBean is configured in jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175665#417566

[jboss-user] [JBoss jBPM] - Re: ProcessDefinition to XML

2008-09-10 Thread kukeltje
Ah... you are British I presume... anonymous wrote : | We shall go on till the end. | We shall fight in france, | we shall fight in the seas and oceans, | we shall fight with growing confidence | and growing strength in the air, | we shall defend our island, | whatever the cause may

[jboss-user] [JBoss jBPM] - Re: API questions: how to...

2008-09-10 Thread kukeltje
like you described above for the image 2b: No View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175663#4175663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175663 ___ jboss-us

[jboss-user] [JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)

2008-09-10 Thread kukeltje
What if you put *everyting* related to your webservice outside the jbpm war. It definately is a classloader issue. Can you e.g. in tree format specify what anonymous wrote : Webservice deployed from JDPL - with JAR means. e.g. | deploy/ |jbpm.war/ |libs/ | jaxws.ja

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when calling DatabaseMetadatat functi

2008-09-10 Thread PeterJ
There are issues with accessing a data source from a remote client. Looks like you just ran into one of them. I would guess that there is some issue with serializing an object that the JDBC driver created. Try adding the JDBC driver JAR file to your client's classpath. If that doesn't work, yo

[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return

2008-09-10 Thread PeterJ
JBoss AS logs information to two locations. First, to the console. Second to the file server/xxx/log/server.log. The console log output would be the best - the server.log tends to be verbose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175658#4175658 Repl

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss JMXConsole ManagedConnection Pool Question

2008-09-10 Thread JKV
Yes, I will do that. Thanks for the replies... Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175657#4175657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175657 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Use updated classes/jsp pages without reboot

2008-09-10 Thread zlf
Thank you for your reply. But unfortunately, it does not work for my web app. It tried host=localhost,path=/jbossws,type=Loader, does not work as well. I'm using JBoss4.2.2. Can you tell me your JBoss version? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when calling DatabaseMetadatat functi

2008-09-10 Thread tonioinho
Thanks for the quick answer. This is the full stack trace I get (except the line referring to the calling code). I should have mentioned that the code is called from a remote client and that the metadata.getColumns() function works fine inside a session bean. The driver is the one provided by

[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return

2008-09-10 Thread acastanheira2001
Hi Peter, I´m looking for a file that logs jmx-console´s info, but I didn´t find. What is the name and path of the jmx-console log file? Thanks again, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175653#4175653 Reply to the post : http://www.jbo

[jboss-user] [EJB 3.0] - Problem with stateful session bean and connection

2008-09-10 Thread Marcos_APS
Hello, everybody! I have a stateful session bean with the following code: | @Stateful | public class PaginadorMateriaisBean extends PesquisaAcervoBase | implements IPaginadorMateriais | { | private Connection fConexao; | private CallableStatement fProcedimentoArmazenado;

[jboss-user] [JCA/JBoss] - Re: problem of connectivity Jboss - Oracle RAC

2008-09-10 Thread vickyk
"ersuarez" wrote : | | jdbc:oracle:thin:@(description=(address_list=(load_balance=off)(failover=off) | (address=(protocol=tcp)(host=nodo1)(port=1521)) | (address=(protocol=tcp)(host=nodo2)(port=1521))) | (connect_data=(server=dedicated)(service_name=SID_RAC) | )) | | Looks to

[jboss-user] [EJB/JBoss] - class loader exception

2008-09-10 Thread devireddy
Hi I am new to Jboss and to ejb development. I am stuck at a point for two days now. searched online examples and didnt get any thing so trying to find help in forums. I am trying to get a message driven bean(ejb 2.1) to work. my environment is jboss 4.2.3 eclipse IDE 3.4 on vista. I have

[jboss-user] [JCA/JBoss] - Re: How to mark DataSource as temporarily unavailable

2008-09-10 Thread vickyk
"kenevel" wrote : for example throwing a custom RuntimeException along the lines of a DataSourceTemporarilyUnavailableException. This could travel up the stack to the front-end and result in appropriate messages being generated for the system's users. Why can't you guys handle this in through t

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

2008-09-10 Thread rossmills
I found a solution to this problem. It was posted here... http://forums.sun.com/thread.jspa?messageID=10397605 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175648#4175648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Jboss Server Crashed ! ! !

2008-09-10 Thread gothemilan
Hi, What is the core function of this file jbossjca-service.xml , is this causing the issue? For the further information, We have been using apache 2.0.52 and jboss 4.0.3SP1 and mod_jk combination. Thanks Milan Gothe View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread vickyk
Check this http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129581#4129581 In Jboss5 the -ds.xml file does not get converted to xml service through xslt subdeployer but the new jca deployers create the same set of MBeans and start the service through new jca deployers. View the origi

[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?

2008-09-10 Thread PeterJ
anonymous wrote : Could not obtain connection to any of these urls: 10.0.2.35 Which version of the JBoss Application Server are you using? If 4.2.x, did you read the readme.html file - first item under JBossAS 4.2.0 in the Configuration Issues section. Or see http://wiki.jboss.org/wiki/JBoss42FA

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss JMXConsole ManagedConnection Pool Question

2008-09-10 Thread PeterJ
Erratic? Possibly. I doubt that you would ever be in a situation where 200 connections get used and are in use continually. You would have to monitor the in use connection count for a period of time to determine the exact usage pattern. If you want to only ever create 200 connections, then set

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss JMXConsole ManagedConnection Pool Question

2008-09-10 Thread JKV
Thanks Peter. So you mean to say that the connection created count is the total number of connections created by the datasource anew that also includes connections that were created because some connections were closed on timeout. One other question. Can I assume that my DB connection usage is

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-10 Thread lingareddy
Thanks for your reply. nope. same error. can you tell jndi configuration settings for jboss 4.0.2. i am trying to call local ejb. jndi properties are required or not? I am getting same error-Reason? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175642

[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?

2008-09-10 Thread quintenjiang
Think, the easy way is to save message into database from MDB, the get message from back bean, but it is slow. By the way, may I know how to do cofiguration, to allow remote JMS client to run on diffrent machine, I just change java.naming.provider.url=localhost into Jboss Server IP, but get

[jboss-user] [Beginners Corner] - problem with class loader

2008-09-10 Thread devireddy
HI I am new to JBoss and EJB development. I am stuck at one point for 2 days now, I had been searching example documents but could not get any help so trying to get soem help from forums. Am trying to write a simple message driven bean (ejb 2.1 spec) and am using jboss 4.2.3 and eclipse 3.4

[jboss-user] [JBoss Portal] - Re: jboss portal jboss-portal-2.6.6.GA-bundled intallatios p

2008-09-10 Thread PeterJ
anonymous wrote : i have run the run.bat like the way you tell me but at the command prompt it says "..29 more " What you are telling me is that you open a command prompt, you go to the jboss-home/bin directory, you enter "run" and at that time what appears in your command prompt window is EXAC

[jboss-user] [JBoss Messaging] - Re: JBM with more than one DBMS

2008-09-10 Thread PeterJ
No. Having said that, you could write your own data source, connect Messaging to your data source, and have that data source handle the multiple databases. I would definitely run all of the unit tests to verify correct operation before putting into production. I also wonder if Sun has any JMS c

[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?

2008-09-10 Thread PeterJ
The only thing I can think of is to have the MDB place the message in a third location (database? mbean? seam conversation?) and have the JSF bean pick it up from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175636#4175636 Reply to the post : http

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when calling DatabaseMetadatat functi

2008-09-10 Thread PeterJ
Please post more of the stack trace - the first line is not sufficient. From what you posted I cannot tell if the issue is with the JDBC driver (which is what I would guess) or with some code in JBoss (not likely because as you said "The code works fine using Mysql or SQL Server datasources").

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hot Deploying Themes

2008-09-10 Thread PeterJ
Yes, you can package a theme as a war file. My JBossWorld presentation shows how to do this. http://jbossworld.com/downloads/pdf/friday/11-1150am_JBoss_Portal_How-To_Guide_Peter_Johnson.odp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175633#4175633 Reply

[jboss-user] [Beginners Corner] - Re: jmx-console - blank page return

2008-09-10 Thread PeterJ
Do you see any errors in the console log? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175632#4175632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175632 ___ jboss-user ma

[jboss-user] [JCA/JBoss] - Re: How to programmatically create datasource in Jboss5.

2008-09-10 Thread PeterJ
Have you tried with 5.0? I believe that the same set of MBeans are still being created for a data source. The only difference is how they get created, but the end result is still the same. Of course, the best was to programmatically create a data source is to create the *-ds.xml file and then m

[jboss-user] [JBoss Portal] - Re: jboss portal jboss-portal-2.6.6.GA-bundled intallatios p

2008-09-10 Thread a_katsoulotos
dear Peter, i have run the run.bat like the way you tell me but at the command prompt it says "..29 more "and not the "Started in xxx seconds" text. i can login to the portal as admin , and the portlal works fine. is the installation done? or do you want to send you the log to see what it happe

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss JMXConsole ManagedConnection Pool Question

2008-09-10 Thread PeterJ
This is the number of connections created over time, not the number of currently active connections - that should never go over 200 based on you settings. Example: your app opens a connection and 100 connections are created. Then the app asks for more connections. At some point the app reaches

[jboss-user] [JBoss Cache: Core Edition] - Re: Does the log show my entities are loaded from cache?

2008-09-10 Thread mircea.markus
this has nothing to do with JBossCache View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175627#4175627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175627 ___ jboss-user maili

[jboss-user] [JBossWS] - Re: jbossws first steps

2008-09-10 Thread TonyR
Finally found this! (took awhile to get the right keywords in search) I'm using jboss-4.2.3.GA and when I start my server I found these lines: 0:19:57,234 INFO [NativeServerConfig] JBoss Web Services - Native | 10:19:57,234 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=2008

[jboss-user] [JBoss Messaging] - JBM with more than one DBMS

2008-09-10 Thread tuomo
Hi, can I use JBM with more than one DBMS? Maybe with mysql and postgres at the same time? Or with two instances of postgres? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175623#4175623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [Beginners Corner] - Re: Windows Authentication with Jboss

2008-09-10 Thread PeterJ
JBoss 2.0? Are you using JBoss Web Server? Also, is it really version 2.0 or is it 2.1? I ask because I could not find where to download 2.0 (I could find only 1.0.1 and 2.1). The wiki link is for the JBoss Application Server, and though it mentions version 4.0.3, the steps apply to 4.2.x and

[jboss-user] [Security & JAAS/JBoss] - Re: How to authenticate to the JBoss server without FORM aut

2008-09-10 Thread clevelam
Did you ever find an answer to your problem. I'm experiencing the same exception with jboss 4.2.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175620#4175620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175620 ___

[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?

2008-09-10 Thread quintenjiang
Thanks, I just want to dispaly message in the view(JSF pages) when MDB received message ( onMessage ), it is no way to deliver this message from MDB to jsf back bean, then go to viewer. I try to implement this onMesage on the JSF back bean directly, but have error (close socket) with no success

[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss

2008-09-10 Thread PeterJ
If, when you enter the 'run' command, you get no output and it just goes back to the command line, edit the run.bat file, commenting out the "@echo off" line and try it again - post that output. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175616#4175616 R

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Use updated classes/jsp pages without reboot

2008-09-10 Thread francis17101970
ops sorry I didn't read correclty your question: so you don't want even to reload your ear... Go to http://localhost:8080/jmx-console/ 1. see section jboss.web 2. click on host=localhost,path=/Test,type=Loader (here Test is web application name) 3. make reloadable attribute’s value = true 4.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Use updated classes/jsp pages without reboot

2008-09-10 Thread francis17101970
why rebooting ? it's really not necessary. Simply redeploy your ear package and the application will be reloaded. A shortcut is deploying the ear as exploded directory. Then change the timestamp of META-INF/application.xml file In unix $ touch META-INF/application.xml or simply add an empty sp

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when calling DatabaseMetadatat functi

2008-09-10 Thread tonioinho
The related datasource file : | | | | | | | | false | | Test/DataSource/Data | | jdbc:oracle:thin:@localhost:1521:XE | oracle.jdbc.driver.OracleDriver | username | password | org.jboss.resource.adapter.jdbc.vendor.OracleE

[jboss-user] [JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)

2008-09-10 Thread chrlyck
Sorry for the confusion in the above post - in my debugging i have now moved the ws to org.me.calculator. So 2nd error in the previous post is actually the following. Error: Cannot load service endpoint interface: org.me.calculator.CalculatorWS View the original post : http://www.jboss.com/ind

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: DI and annotations not working

2008-09-10 Thread irinac
Here is the code for the java side | | @Stateless | @WebService(serviceName="TestService") | @SOAPBinding( | style=javax.jws.soap.SOAPBinding.Style.RPC, | use=javax.jws.soap.SOAPBinding.Use.LITERAL) | public class TestWebService extends Remote implements TestWebServiceI

[jboss-user] [JBoss jBPM] - Re: Consuming webservice in jBPM JPDL (Eclipse)

2008-09-10 Thread chrlyck
Hi again Thanks for the reply. I have been looking into this thoroughly. I have tried two things, my original setup where i deploy the WS jars using JPDL, then not deploying them. Then the same two options with the custom-made jar in the classpath. Here are my results: Webservice NOT deployed

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ClassCastException when calling DatabaseMetadatat functions

2008-09-10 Thread tonioinho
Hi, Using JbossAS 4.2.2GA and Oracle 10g, I access a DataSource through JNDI lookup. Everything works fine until I try to call methods of DatabaseMetadata which return a ResultSet. | InitialContext ic = new InitialContext(); | DataSource datasource = (DataSource) ic.loo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Hot Deploying Themes

2008-09-10 Thread thetikigod
Is it possible to hot deploy themes, and then be able to select it from the list of themes in the admin portal? The only way I have been able to add a theme is to go into jboss-portal.sar > portal-core.war > WEB-INF > portal-themes.xml and add the theme manually. Also, is there a way to specify

[jboss-user] [Beginners Corner] - jmx-console - blank page return

2008-09-10 Thread acastanheira2001
Hi, I invoke http://myserver:8080/jmx-console/ and it returns a blank page, without any errors. Any ideas to solve this mistery? Thanks, Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175596#4175596 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss jBPM] - Re: API questions: how to...

2008-09-10 Thread roberto
Thank you do you know the name / java source name of that component (to get the task/process instance image) ? for 2.b) so the standard jdpl designer doen't support it directly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175595#4175595 Reply to the post

[jboss-user] [Security & JAAS/JBoss] - Peer address from LoginModule

2008-09-10 Thread jopersson
Hi, Building a LoginModule in Jboss base class AbstractServerLoginModule and need to get client peer address IP from within 'login' method? tia johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175593#4175593 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Portal] - Re: sever closing automatically

2008-09-10 Thread [EMAIL PROTECTED]
The right url for guide: http://docs.jboss.com/jbportal/v2.6.6/quickstartuser/html/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175582#4175582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175582 __

  1   2   >