[JBoss Tools (users)] - Re: Plugins installation odyssey
by baz
I can not understand where you have problems. The complete suite is easily installable. If you have problems look in the wiki. There is a page about installation of the nightlys.
And why do you have the requirement, that you must install only the plugins you use? Eclipse runs fine, even if you do not use some of its plugins.
We do not have time to fenter with the dependencies between the plugins. So we unzip eclipse-jee-europa-win32.zip and make an eclipse extension site out of a nightly. Everything installs fine, even for JBossTools-200707031655-nightly-ALL-win32.zip iwe installed today. But we have to edit some feature.xml files according to
http://jira.jboss.org/jira/browse/JBIDE-500
If you want only a specific plugin, then try it.
My opinion in this case is: The 'Jboss GURUs' should spent there time to stabilize and extend JBoss Tools. When it is ready, than there is time to make a dokumentation about installation of individual plugins.
Surely, i have spend much time (more than a day) in figuring out, how to install the nightlys. So i have augmented the wiki page about installation of the nightlys with my gained knowledge.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060262#4060262
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060262
18Â years, 9Â months
[EJB/JBoss] - forever problem! right way to create and deploy bean
by henry _h
Hi,
i am new in Beans issue. I have a stateless Hellowrod Session bean.
(MyBean.java, MyBeanRemote )
and a Client, MyBeanCleint.
With eclipse i export/deploy the Project as Jar file to Jboss 4.0.5
(Left click project -> export-> jar file)
So i have a created jar file MyBean.jar in Jboss.
When i run the client i become ?Mybean not bound exception? from the
naming server!
?All files? which i have in my project are (project is according to the book sample
created as general java project):
1-sever.MyBean.java
2.server.MyBeanRemote.java
3-client.MyBeanClient.java
Here is my client code:
//////////////////////////////////
public class MyBeanClient {
public static void main(String[] args) {
try {
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES,
"org.jboss.naming:org.jnp.interfaces");
p.put(Context.PROVIDER_URL, "jnp://localhost:1099");
Context ctx = new InitialContext(p);
Object ref = ctx.lookup("MyBean");
MyBeanRemote mbr = (MyBeanRemote) PortableRemoteObject
.narrow(ref, MyBeanRemote.class);
System.out.println( mbr.sayHello());
} catch (NamingException e) {
e.printStackTrace();
}
}
////////////////////////////////
Please help me
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060261#4060261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060261
18Â years, 9Â months
[Performance Tuning] - No Managed Connections Available
by milind.uc
I am getting the error No Managed Connections Available while using the application. I made the database connectivity using datasource .I am using the mysql as a datbase . There is no any particular time of this error occurence. It will come after using it more than 7 -8 ourse or might be after using application continusollsy more than one dayes. I try to close every connection . In my application some part uses the connection using driver manager with mysql and I dont know whether they closed but I closed every connection opend by datasource also the resultsets and statements ...
My datasource file is like below:
|
|
|
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!-- $Id: mysql-ds.xml,v 1.3 2004/09/15 14:37:40 loubyansky Exp $ -->
| <!-- Datasource config for MySQL using 3.0.9 available from:
| http://www.mysql.com/downloads/api-jdbc-stable.html
| -->
|
| <datasources>
| <local-tx-datasource>
| <jndi-name>DBConnection</jndi-name>
| <use-java-context>false</use-java-context>
| <connection-url>jdbc:mysql://etp-05-02:3306/millind_demo?autoReconnect=true</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>root</user-name>
| <password>root</password>
| <max-pool-size>60</max-pool-size>
| <min-pool-size>10</min-pool-size>
| <blocking-timeout-millis>5000</blocking-timeout-millis>
| <idle-timeout-minutes>15</idle-timeout-minutes>
| <!-- correspondinasdg type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
|
| </datasources>
|
and I got the error of ::
of No manged connection availbale within the configured blocking timeout of(5000ms)
In most of my progrma I used the simple query statemnet in some we used prepared statements......
I know this error may be because of some open connection so I am going to chechk it again. but I am felling there some other problem with mysql and jboss configuration files......
Also as I am using the connection pooling still we need to close evey coneecion watchfully ,, so is it means that connection polling not works that what we thought concpetually that is there is no. of connection available whihc we mwtnion in the dataconnection file.
And yes, I used the "java-conetxt = false" becasue my application is desktop allpication in java swing and we are using the java messaging service to transfer the data so thats why to used the3 datasource connection I used "false"....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060259#4060259
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060259
18Â years, 9Â months