[Installation, Configuration & DEPLOYMENT] - jboss eclipse integration
by manjuv
Hi,
I have installed jboss jboss-5.0.0.GA on windowsxp sp3 in D:\JBOSS\jboss-5.0.0.GA.
Eclipse is installed in D:\eclipse\eclipse
Environment variables.
Eclipse_home=D:\eclipse\eclipse
JBOSS_HOME=D:\JBOSS\jboss-5.0.0.GA\
Path=D:\ANT\apache-ant-1.7.0\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;"C:\Program Files\JProbe 7.0.3\bin";.;%path%;"C:\Program Files\QuickTime\QTSystem\";"%M2%;%Path%";C:\Java\jdk1.5.0_05\bin;C:\Program Files\JProbe 8.0\bin;"C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin";C:\Program Files\Intel\WiFi\bin\;%GROOVY_HOME%\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;D:\JBOSS\jboss-5.0.0.GA\bin
CLASSPATH=D:\JBOSS\jboss-5.0.0.GA\server\default\lib\mail.jar;D:\JBOSS\jboss-5.0.0.GA\bin\run.jar;.;%CLASSPATH%;%M2_HOME%\bin;D:\JBOSS\jboss-5.0.0.GA\;
When i try i try to integrate jboss into eclipse i get Missing classpath entry D:\JBOSS\jboss-5.0.0.GA\server\default\lib\mail.jar
Any idea how to solve this problem
Thanks & Best wishes
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210573#4210573
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210573
17 years, 2 months
[JBoss jBPM] - jbpm bpel prallal processing not working!!!help
by LakshmiPrasad
Hi ,
i am using jbpm bpel, i am using flow which will ensure the parallal processing. but for me parallal processing is not happening it is doing sequentially... below is my code.. please help regarding this how can i make it work 2 processes parallally. Thanx in advance for u r help.
my code is
<bpws:flow name="Flow" parallel="yes">
|
| <bpws:sequence name="Sequence2">
| <bpws:while name="While1">
| <bpws:condition><![CDATA[$while1var<140]]></bpws:condition>
| <bpws:sequence name="Sequence4">
| <bpws:invoke inputVariable="DebugPLRequest"
| name="Invoke2" operation="printMsg"
| outputVariable="DebugPLResponse"
| partnerLink="DebugPL" portType="ns1:convertPortType"/>
| <bpws:assign name="Assign4" validate="no">
| <bpws:copy>
| <bpws:from><![CDATA[$while1var+1]]></bpws:from>
| <bpws:to><![CDATA[$while1var]]></bpws:to>
| </bpws:copy>
| </bpws:assign>
| </bpws:sequence>
| </bpws:while>
| </bpws:sequence>
| <bpws:sequence name="Sequence3">
| <bpws:while name="While2">
| <bpws:condition><![CDATA[$while2var<110]]></bpws:condition>
| <bpws:sequence name="Sequence5">
| <bpws:assign name="Assign5" validate="no">
| <bpws:copy>
| <bpws:from><![CDATA[$while2var+1]]></bpws:from>
| <bpws:to><![CDATA[$while2var]]></bpws:to>
| </bpws:copy>
| <bpws:copy>
| <bpws:from><![CDATA['2nd while']]></bpws:from>
| <bpws:to><![CDATA[$DebugPLArgRequest.parameters/ns1:param0]]></bpws:to>
| </bpws:copy>
| </bpws:assign>
| <bpws:invoke
| inputVariable="DebugPLArgRequest"
| name="Invoke3" operation="printArgMsg"
| outputVariable="DebugPLArgResponse"
| partnerLink="DebugPL" portType="ns1:convertPortType"/>
| </bpws:sequence>
| </bpws:while>
| </bpws:sequence>
| </bpws:flow>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210566#4210566
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210566
17 years, 2 months
[Persistence, JBoss/CMP, Hibernate, Database] - How to use H2 database from Jboss
by sdsani
Hi,
I am trying to configure H2 database from Jboss and have done following.
1. Created h2-ds.xml file and copied into
C:\jboss-5.0.0.CR2\server\default\deploy\jca.
2. Copied h2.jar file at following location.
C:\jboss-5.0.0.CR2\server\default\lib
3. Now when i start my server i see following message in console.
Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=H2DS' to JNDI name 'java:H2DS'
However, when i try to connect using following code.
Properties properties = new Properties();
properties.setProperty InitialContext.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
properties.setProperty(InitialContext.PROVIDER_URL, "jnp://localhost");
InitialContext ic = new InitialContext(properties);
Connection con = null;
if (ic != null) {
DataSource ds = (DataSource) ic.lookup("H2DS");
con = ds.getConnection();
}
I am getting following error.
21:44:22,389 INFO [STDOUT] Error Data : H2DS not bound
Please advice.
Sani
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210565#4210565
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210565
17 years, 2 months
[Beginners Corner] - Re: SQLException
by PeterJ
I copied your code into one of my projects. Of course I changed the database and table name to match something I had. And everything worked. One caveat: I did not use server-side script in a JSP - instead I placed the code in a servlet and passed the resulting string to the JSP which accessed if via EL.
A few suggestions.
1) Do not call the datasource DefaultDS. Your other post that used MyDS is better.
2) Do not remove hsqldb-ds.xml - the DefaultDS is needed by several JBoss AS services. (You can replace it, but it takes some work. Ch15 of JBoss in Action provides the details)
3) Do what I did - put your code in a servlet, pass the string to the JSP and use EL. Not mandatory, but saner.
Here is a recap of everything you have to do, starting with a fresh install of JBoss AS 5.0.0.GA:
1) Copy the mysql JDBC JAR file to server/default/lib
2) Copy your mysql-ds.xml file to server/default/deploy
3) Copy your WAR file to server/default/deploy
4) Start the app server and access the JSP
Good luck.
And please do not spam the forums any more.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210563#4210563
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210563
17 years, 2 months