[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread jaikiran
anonymous wrote : adder-web.war | / Try this http://localhost:8080/beanClient.jsp While posting the logs or xml content or code, 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 your post is correctly forma

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread pepelara
application.xml.- http://java.sun.com/j2ee/dtds/application_1_2.dtd'> MyAdder This is the implementaion of the Adder application adder-ejb.jar adder-web.war /

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread pepelara
I have try but it does not work. On your response, I thought the problem is that I use the same name for all the files, that is adder.jar, adder.war and adder.ear. I have proved to give them different names, that is adder-ejb.jar, adder-web.war and adder-app.ear to the files and try again and d

[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss

2008-05-10 Thread chaminda_jboss
Thank you very much Vickyk, Thanks lot, I will try and let you know the progress.. Best Regards Chaminda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149979#4149979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=414

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Stuck messages in JMS queue

2008-05-10 Thread ksamkari
I tried to use MySQL as the queue's database instead of Hypersonic. Well, I'm still confused and don know if the problem is really solved, but what i'm sure about is that the frequency of the problem occuring is decreased. View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[jboss-user] [JBoss Portal] - Re: Portlet deploying on multiple pages

2008-05-10 Thread PeterJ
The portal layout is kept within a database. Once a portlet is placed on a page via the *-object.xml file, the only way to remove the portlet from that page is to use the management porltet (log on as admin and go to the admin portal). Changing the location of the portlet using the *-object.xml

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access JBoss 4.2 from internet when run as Window

2008-05-10 Thread jbn1v
Trying a different account didn't help with JavaService. So I tried the suggestion of using JBossNative. Initially this had an error during startup until I tried the suggestion of using a different account (the error was very different than what I was getting from JavaService -- but I was desp

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: A question about Configure Persistence Context with Orac

2008-05-10 Thread PeterJ
Place the oracle-ds.xml file into the deploy directory and it will be deployed. Leave the jta-data-source as java:/OracleDS. The jta-data-source entry refers to the JNDI name for the data source, which comes from the jndi-name entry within the oracle-ds.xml file. The persistence.xml file goes i

[jboss-user] [Beginners Corner] - Re: Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread PeterJ
If your war file is named xxx.war, and the jsp is named yyy.jsp, and the jsp is in the base of the war file, you can access it by opening a browser and going to url http://localhost:8080/xxx/yyy.jsp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149972#41499

[jboss-user] [JBoss jBPM] - Re: Can jbpm run without database?

2008-05-10 Thread salaboy21
jbpm use database to store the process information and context because jbpm is designed to execute long running processes.. (like process that run for years).. so you must persist the state of all running process to restore the state in case of your machine goes down.. or in case that you have t

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: scheduled service not running after porting to 4.2.2

2008-05-10 Thread AndrewThio
Hi Everyone Seems that the problem is due to a corruption with the SAR file. thanks for your help :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149969#4149969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149969 __

[jboss-user] [JBoss jBPM] - Can jbpm run without database?

2008-05-10 Thread youhaodeyi
I am new to JBPM. JBPM has a configuration that can configure its database connection. Can JBPM run without database? Why does JBPM need a database? What kind of information it wants to store in database? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149970#

[jboss-user] [JBoss jBPM] - Re: JBoss jBPM has the fundationation for an ERP?

2008-05-10 Thread kukeltje
wow, if you have 5 full-time developers for 1.5-2 years, I'm jealous. Certainly if it is for an internal ERP project. But I always thought compiere/adempiere was not monolithic. Afaik, they have webservices access to their system as well. Adding/changing compiere (if it does not fit your needs)

[jboss-user] [JBoss Portal] - Portlet deploying on multiple pages

2008-05-10 Thread daedalus001
Hi I'm writing a portlet and I decided to create a new page where to display it by adding the "" (-object.xml) inside a "" tag. The new page is created fine, but the portlet is not removed from the old page (default page at first, then inside any window I specify in ). Is this a bug, or am I mis

[jboss-user] [Beginners Corner] - Call a jsp inside an ear file deployed on JBoss 4.0.0

2008-05-10 Thread pepelara
Hi, I have an ear file deployed on JBoss and it is done. It has a war and a jar files. The application is just a Stateless Session Bean that adds two integers and returns the result. This is my jar file. In the other side, the war file that is a simple jsp that shows the result. The applicat

[jboss-user] JBOSS CLuster Performance TCP vs. UDP

2008-05-10 Thread M Wagad
We have 2 nodes jboss cluster for Enterprise Application. It is currently using default UDP, we have done a test, where we turned off the slave node and make the load balance 100 to the master node, The Application performance was much faster and we received less user complains, then we turned o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem with Velocty 1.4 and jboss 4.0.5

2008-05-10 Thread Elhananm
hi.. i am attemping to use an ear which has velocity 1.4 in it. when i'm using the web portion i'm getting ResouceNotFoundException, and i AM using ClassPathResourceloader. i tried upgrading to velocity 1.5 and it's worse becouse then i get ClassDefNotFoundException on context class , and vel

[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples

2008-05-10 Thread salaboy21
BE SURE TO UPDATE YOUR TRUNK BEFORE FOLLOWING THIS STEPS If you configure trunk/components/build/local.properties with your deploy directory and your jboss install dir.. then you canri run ant installSSO in trunk/components/build and all that you need will be copied to your deploy directory...

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: A question about Configure Persistence Context with Orac

2008-05-10 Thread thomas2008ch
OK, I find the file "oracle-ds.xml". It should be the correct one. Besides I find some examples from the internet. The "persistence.xml" for Oracle looks as follow: | | | java:/OracleDS | | | | | | But: 1. WHere can I put this file in my project?

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: A question about Configure Persistence Context with Orac

2008-05-10 Thread PeterJ
Note that the persistence.xml file references a jta-data-source. You define this in a *-ds.xml file. You can find example *-ds.xml files for a variety of database in docs/examples/jca directory. The database information, such a username and password, go into the *-ds.xml file. View the original

[jboss-user] [JBoss Portal] - Re: JBOSS PORTAL SERVER INSTALLATION

2008-05-10 Thread PeterJ
The first line of your console output suggests that there were earlier errors. You need to capture and post the first error that appears. It would also help if you post the first 30 or so lines of the console output so that we could see the startup and configuration messages. Also, what Linux?

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access JBoss 4.2 from internet when run as Window

2008-05-10 Thread PeterJ
I looks like are trying to run JBossAS under the System account. Check the Services control panel and change the your service to run under another account. Usually you should create an account specifically for the service. (You should also do this if you move to JBoss Native.) View the original

[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples

2008-05-10 Thread yyovkov
Hi again, again it is a little bit different. I compiled successfully the trunk, but I am not sure which package contain jboss sso, so I am not able to proceed with test. This is the list of file in output-jars: jboss-federation-server.ear jboss-federation-server.jar jboss-federation-server.sar

[jboss-user] [JNDI/Naming/Network] - Re: Thru MBean or any code get values in *-ds.xml file

2008-05-10 Thread PeterJ
The *-ds.xml file is used to create up to 7 different MBeans, and the various values in the *-ds.xml file are distributed among those MBeans. Here are the seven MBeans, where XXX is the data source name: jboss.jca:name=XXX,service=DataSourceBinding jboss.jca:name=XXX,service=LocalTxCM jboss.jca:

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to change the HTTP port in jboss 4.2.2 ?

2008-05-10 Thread PeterJ
If you are using the binding service (sample-bindings.xml), then change only that. The port settings in server.xml are ignored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149942#4149942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [EJB 3.0] - Re: In which JAR can I find

2008-05-10 Thread PeterJ
I use a utility called jarfinder (http://www.isocra.com/2006/02/jarfinder/ to determine in which jar a class is hiding. Even works for properties files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149941#4149941 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss jBPM] - jBPM with VCS as backend?

2008-05-10 Thread jcantonio
Hello, I am evaluating jBPM to use with a version control system (VCS). I know that jBPM is designed to be used in conjunction with hibernate, but I would like to replace the RDBMS by the version control system repository. (at least for task and process instances and process definitions) The pro

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - A question about Configure Persistence Context with Oracle

2008-05-10 Thread thomas2008ch
How can I write the persistence.xml for connection to Oracle Express 10g? I've read the documentation from JBoss but I find the docs is not so good. Besides, which file should have in which I can put the user name and password for the database? Does someone know any documentation about this? R

[jboss-user] [JCA/JBoss] - Re: Quartz-ra + JobstoreCMT + XA

2008-05-10 Thread vickyk
"pkles" wrote : | Am I doing something wrong or this resource adapter does not work with JobStoreCMT and XA datasources obtained from the Application server? | Looks like you are making correct configuration , there is a known similar issue here also http://jira.jboss.org/jira/browse/EJB

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: A question about Configure Persistence Context with Orac

2008-05-10 Thread thomas2008ch
Here is an example for using HSQL. But how can I set the username and password? | | | java:/DefaultDS | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149936#4149936 Reply to the post : http://www.jb

[jboss-user] [EJB 3.0] - Re: EJB3 & SSL not working in JBoss 5 Beta3?

2008-05-10 Thread javidjamae
Excellent, that worked! Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149934#4149934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149934 ___ jboss-user mailin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access JBoss 4.2 from internet when run as Window

2008-05-10 Thread jbn1v
Running from run.bat with the -b 0.0.0.0 works fine. Running as a service w/o the "-b 0.0.0.0" also works fine. I didn't know about JBossNative -- I found an article recommending JavaService on the JBoss site somewhere (maybe it was the wiki). But I'll try JBossNative tonight. Thanks. Vie

[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss

2008-05-10 Thread vickyk
"chaminda_jboss" wrote : | Can somebody tell me how can configure Siebel Resource Adapter on Jboss, | Configuring the Seibel RA should not be different from configuring the generic RA , I am assuing that you are configuring the Seibel RA as the outbound RA . All you need to do is to follo

[jboss-user] [JCA/JBoss] - Siebel Resource Adapter for JBoss

2008-05-10 Thread chaminda_jboss
Hi Gurus, Im new to both siebel and JCA, But I have to configure a Siebel Resource Adapter on Jboss, Can somebody tell me how can configure Siebel Resource Adapter on Jboss, I saw one thread in http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022424#4022424 related me but that inform

[jboss-user] [JBossWS] - Which Version Of JBossWS for JBoss AS 4.0.4.GA

2008-05-10 Thread mjrother
Which version of JBossWS should I be using for an application on 4.0.4.GA ? I need the ability to generate the java artifacts from the wsdl file. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149924#4149924 Reply to the post : http://www.jboss.com/i

[jboss-user] [Javassist user questions] - Creating wrapper objects

2008-05-10 Thread DonnieDarko1985
My problem is this. I have a target object tarObj. Now using javassist I want to create a wrapper object or metaobject for this such that the target class is renamed (to say origTarObj) and the new class contains a field of type origTarObj ...someting like this.. tarObj: OrigTarObj origObject;

[jboss-user] [EJB 3.0] - Re: In which JAR can I find

2008-05-10 Thread jaikiran
Answering your question in the subject line- Which version of JBoss are you using? Can you post the exception stacktrace if you are seeing any? If you are using 4.0.4 then you can find the class javax.ejb.EJBNoSuchObjectException in jboss-ejb3x.jar which will be inside %JBOSS_HOME%\server\< se

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Default ports?

2008-05-10 Thread jaikiran
"vestlink" wrote : | | Are there other ports that get assigned dynamicly? | | As far as i know, there aren't any dynamic ports which JBoss opens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149916#4149916 Reply to the post : http://www.jboss.c

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access JBoss 4.2 from internet when run as Window

2008-05-10 Thread jaikiran
Does the server start without any errors when you don't start it as a service and instead use: run.bat -b 0.0.0.0 Also, using JavaService is not recommended. Instead you can use JBossNative (which can be downloaded from http://www.jboss.org/jbossweb/downloads/jboss-native/?action=a&windowstate

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-10 Thread timfox
Not sure why you would need to patch JBM. AFAIK this is a JBoss Remoting issue. You should post this in the JBR forum so they are aware of this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149913#4149913 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss jBPM] - Re: JBoss jBPM as the fundationation for an ERP?

2008-05-10 Thread vncoder
I did have a quick look at Compiere and its fork, Adempiere. Without much knowledge of either of the two, I am not sure these two will serve the needs/wants yet. I will look into these two in more detail. However, I am thinking of getting away from the "monotithic" ERP system and get into more w

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-10 Thread Laurent K
Sorry, I did misunderstand you... (I was a little tired, on friday...) If thought it was already fixed in the 2.4.0.CR2 and thought this was only a problem with jboss remoting. I made all of this work by patching Jboss-remote (to fix this) Caused by: org.jboss.remoting.CannotConnectException: C

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: scheduled service not running after porting to 4.2.2

2008-05-10 Thread AndrewThio
Jaikran, thanks for the repy. i'm not sure about this (as it was done by my predecessor) but I think the depends timer is to allow redeployments. see http://wiki.jboss.org/wiki/Scheduler On the timer config, yes, I also read that in the manual. But the deployment in 4.01 didnt seem to have thes

[jboss-user] [JBoss jBPM] - Re: How to decide whether to persisitent a process into data

2008-05-10 Thread kukeltje
sorry, this is not possible when using the same jBPM core. You can however use two different configured ones in parallel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149907#4149907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBoss jBPM] - Re: Is it possible???

2008-05-10 Thread kukeltje
sorry, I do not have the time for that. Since it is *basic* stuff, I'd suggest reading about JSF, looking at jBPM examples (e.g. including testcase in the source) etc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149906#4149906 Reply to the post : http://w

[jboss-user] [JBoss Portal] - JBOSS PORTAL SERVER INSTALLATION

2008-05-10 Thread srinivasan.sathyanarayana
Hi, In Linux machine while i am trying to install jboss + portal i am getting the following error in console. please give any solution. at java.lang.Thread.run(Thread.java:595) 2008-05-10 14:56:36,090 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web

[jboss-user] [JBoss Portal] - Jboss deployment

2008-05-10 Thread rajesh_css
Hi all- I didn't find anything in the guides about installing the Portal SAR to an existing JBoss 4.2.2 installation, but I tried to do this and get a ton of errors upon startup: Code: ObjectName: portal:service=Hibernate,type=CMS State: CONFIGURED I Depend On: jboss.jca:service=DataSo

[jboss-user] [JBoss Messaging] - Re: QueueConnectionFactory.createQueueConnection is bloked

2008-05-10 Thread timfox
anonymous wrote : | Thank you very much Tom, that helps. No problem ;) By the way, my name is "Tim", not "Tom" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149901#4149901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Messaging] - Re: Improve performance on sending messages to a queue

2008-05-10 Thread timfox
This question is completely impossible to answer since it is totally subjective and lacks any meaningful information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149900#4149900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss Messaging] - Re: Add setters/getters to the JMX MBean interface to MDB?

2008-05-10 Thread timfox
What has this got to do with JBoss Messaging? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149899#4149899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149899 ___ jboss-use

[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-10 Thread timfox
Please see my previous comment, here it is again :) anonymous wrote : | JBM doesn't support clients in applets or other restricted sandboxes (like webstart), this is because JBoss Remoting (which JBM 1.x uses) doesn't support this. | | This is being fixed in JBoss remoting 2.4.0, see JIR

[jboss-user] [JBoss Messaging] - Re: How to prevent firewall from closing client connections

2008-05-10 Thread timfox
You can't configure JBoss Messaging to prevent your firewall closing connections! If your firewall decides to close connections then no application can stop it - if it could it would be a pretty useless firewall (think of the exploits). You need to read your firewall manual and find out how to

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-10 Thread timfox
If you create a non durable subscriber it will only receive messages that are sent while that subscriber exists. That is *as per JMS spec*. If you want to receive messages that were sent while the subscriber is not is connected, you need to use a durable subscriber. Again, I would suggest readi

[jboss-user] [Remoting] - Re: Is there away to not open new TCP connection for each ca

2008-05-10 Thread [EMAIL PROTECTED]
1. You could try running AS 4.2 with Remoting 2.4. It hasn't been tested, but I believe it should work. No promises, though. 2. You could apply the change from JBREM-877 "New Socket Connection is being Created for Every Client Request to the Server" and roll your own jboss-remoting.jar. 3.

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools targeting Eclipse 3.4/Ganymede

2008-05-10 Thread amitev
Answer n1 is the right way View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149893#4149893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149893 ___ jboss-user mailing list jbos

[jboss-user] [JCA/JBoss] - Re: No Managed connection available within configured blocki

2008-05-10 Thread vickyk
"ckpatil" wrote : Is there any leak in the pool when a deadlock happens? connection.close() we call in finally block always. That is what you have to find out . Check for the CacheConnectionMBean's(CCM) listInUseConnection() operation to figure out if there is a leak's from your application ?

[jboss-user] [Clustering/JBoss] - Cluster and context parameters

2008-05-10 Thread gejzir
Hi All, Sorry for duplicate posting, but I don't know if this was a clustering issue or a tomcat configuration issue. I have a web application, which reads config URL mappings from the context parameters placed in the web.xml file (FacesContext.getExternalContext().getInitParameterMap()). Usin