Without reload the JBoss application server after compile the java
in Jboss app server.
duing the developmenet i modify the .java files and compile it. when ever i compiled the .java file i have to restart the jboss service. then only the modification is done.
so i would like to know where i have to set the configuration for without restart the jboss server
Dear Vincent
Its already set the Parameter rdisp/j2ee_start = 0. last week we are upgrade the kernel from 173 to 221. after that this problem was started.
Regards
Sriram
Similar Messages
-
Oracle datasource lookup in JBOSS application server
Hi friends
i have the below problem while configuring the datasource in JBOSS for oracle pls any body can help me out..........
i just want to create a data source for oracle in JBOSS 3.2.5 application server and i want to access that datasource from my session bean while accessing it cant finding the JNDI name of the datasource my oracle-ds.xml code is like as below
<local-tx-datasources>
<jndi-name>java:OracleDS</jndi-name>
<use-java-context>false</use-java-context>
<connection-url>jdbc:oracle:thin:@localhost:1521:EPS</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>system</user-name>
manager
</local-tx-datasources> my session bean method is like as below
public void businessMethod1(){
try{
javax.naming.Context ctx = new javax.naming.InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("OracleDS");
java.sql.Connection con = ds.getConnection();
java.sql.PreparedStatement ps = con.prepareStatement("select * from employee");
java.sql.ResultSet rs = ps.executeQuery();
while(rs.next()){
System.out.println("Employee ID "+rs.getInt("empid")+"Employee Name "+rs.getString("ename")+"Employee Designation "+rs.getString("designation"));
}catch(Exception e){
e.printStackTrace();
} but the error i am getting wasl like as below
14:14:14,039 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
14:14:14,164 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
14:14:14,164 INFO [JkMain] Jk running ID=0 time=0/47 config=null
14:15:00,883 INFO [STDOUT] javax.naming.NameNotFoundException: OracleDS not bound
14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
14:15:00,883 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347)
14:15:00,883 INFO [STDOUT] at com.ness.training.ejb.FirstSessionBean.businessMethod1(FirstSessionBean.java:13)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.j
ava:683)
14:15:00,883 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterce
ptor.java:185)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterc
eptor.java:72)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:1
22)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
14:15:00,883 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
14:15:00,883 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
14:15:00,883 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
14:15:00,883 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
14:15:00,883 INFO [STDOUT] at java.lang.Thread.run(Thread.java:536)make the changes like this.
javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("java:/OracleDS");
Regards
vanan -
Deploy XI java Proxy inside JBoss application server
Hello,
Can I deploy XI java Proxy inside JBoss application server
Appreciate you response.
ThanksHi,
<b>Yes</b>
You can deploy your Java Proxy inside JBoss Server (in any Application server). But this will be possible only for Client Java Proxy and not for Server Java Proxy.
I have succesfully completed those scenarios.
After generating Client Java proxy, create EJB application with generated Java classes for proxies and deploy it in JBoss.
Then you can access that EJB to pass inputs either in standalone application or some JSP.
Regards,
Uma -
Adding JBoss Application Server for Monitoring
How do you add a JBoss Application Server for monitoring? Is there a way to add it silently like silent install of the host target?
It is a manual process, you need to launch Jboss discover UI using Targets > Middlware page.
Also, please use JVMD for more detailed analysis.
You need to specify JARs based on the version of the JBoss -
Note - Please check the support site for exact certified versions of JBoss.
JBoss 4:
dom4j.jar jboss-management.jar jnp-client.jar
jbossall-client.jar jboss-client.jar
JBoss 5:
concurrent.jar jboss-javaee.jar jboss-serialization.jar
dom4j.jar jboss-jsr77-client.jar jbosssx-as-client.jar
jbossall-client.jar jboss-logging-spi.jar jbosssx-client.jar
jboss-client.jar jboss-management.jar jnp-client.jar
jboss-common-core.jar jboss-remoting.jar jboss-integration.jar jboss-security-spi.jar
JBoss 6:
concurrent.jar jboss-management.jar
dom4j.jar jboss-remoting.jar
jbossall-client.jar jboss-security-spi.jar
jboss-client.jar jboss-serialization.jar
jboss-common-core.jar jbosssx-as-client.jar
jboss-ejb-api_3.1_spec.jar jbosssx-client.jar
jboss-integration.jar jboss-transaction-api_1.1_spec.jar
jboss-jsr77-client.jar jnp-client.jar
jboss-logging.jar
If you plan to use JVMD then you should select Remote Agent for discovery/monitoring.
JNDI service should be configured and Naming Service port should be open.
Agent should be able to communicate with the host and JNDI port.
Above list of JARs to be copied on the agent machine (location provided as library path during discovery)
Could you please share customer details and usecases. -
Install both Sun Application server and Jboss application server- Can I?
Dear all,
I am programmer and want to test for something.
Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?
Is there any special attention I need to take?I am programmer and want to test for something.Allowed.
Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?Why do you think it may not be possible ?
Is there any special attention I need to take?just the way the URL is populated. -
Jboss application server upgrade
Hi All,
As per our requirement we are planning to migrate web application from jboss application server 4.0.1.GA to Jboss 7.0.1 GA.
I am new to the Jboss application server . Can you please tell me the advantages of using jboss AS.
and what is the difference between 4 and 7.
If we are going to upgrade the server, what are things we need concentrate it ? ( like logging ,jndi etc).
Please share your valuable points .Hi All,
As per our requirement we are planning to migrate web application from jboss application server 4.0.1.GA to Jboss 7.0.1 GA.
I am new to the Jboss application server . Can you please tell me the advantages of using jboss AS.
and what is the difference between 4 and 7.
If we are going to upgrade the server, what are things we need concentrate it ? ( like logging ,jndi etc).
Please share your valuable points . -
JBoss Application server setup with netbeans IDE.
Hi All,
I need to configure the JBoss Application server with netbeans IDE. I have tried this scenario,
1) Unzip the jboss-4.2.2.GA.zip into jboss dir.
2) Selected the JBoss Application server 4.
3) And i have set the Installation location like this j:/jboss/jboss-4.2.2.GA. In this i got some problem.
The problem is: Next button did not selected.
Error: provide valid installation dir path.
How to resolve this problem? Can anyone give suggestions for resolving this error?
Its very urgent!!A couple of things:
1. if you are using SJSAS 9.0 it's Glassfish v1 (not v2 - that's probably for the 9.1 version? I don't know, I'm running 9.0 and installs fine with Gf v1 - thanks for the tip, btw!)
2. as for the domain, just pick the default offered (unless you have some specific requirement) - in any event, it's under the domains/domain1 folder
you can always create a new one and register (it will have its very own folder under /domains) but given that's probably a dev box, I can hardly see the point (and when I did it a long time ago, it was more pain that any human being should be subjected to :-)
Finally, one cannot but wonder why on earth someone (at Sun) developed NB and put Sun Java Application Server (developed at Sun) as one of the options that won't work with SJAS 9.0+ (developed at Sun) but one has to instead choose Glassfish (developed at Sun) and that won't work if one chooses v2 instead of v1 if it's SJAS 9.0 instead of 9.1 (or vice versa)...
Don't these guys test the thingy with THEIR own stuff?
Don't get me wrong, I totally love Sun, and all the good stuff they come up with (NB, SJAS, etc. etc.) but done it properly it would help them to gain market share, now, wouldn't it? -
Update a browser URL without reloading the page
Is there any way to update the browser url from flash without
reloading the page?
My main interest is in being able to use flash to change the
url variables to reflect what is currently being displayed in the
swf.
ie.
http://www.blah.com?frame=0 might be set to
http://www.blah.com?frame=10 when the swf reaches frame 10,
allowing the user to go directly to frame 10 if they return to the
page later.
Thanks
RickYou can try a technique that is used by web designers to
prevent back button actions. Through JavaScript you can write
strings after hash "#" - like bookmarking (anchors) and then read
this variables. The advantage is that page doesn't reload and
bookmarks are saved in the browser history (back button issues).
Hope it helps. -
Example for Tagging API using EJB3.0 on Jboss Application Server
Hello Friends
In EJB 3.0 development I am searching for Taging API implementation using JBOSS application server and Netbeans 5.
If anyone has tutorial to do so please post the link.
Thanks in advance.
Ravi PhulariHello Friends
In EJB 3.0 development I am searching for Taging API implementation using JBOSS application server and Netbeans 5.
If anyone has tutorial to do so please post the link.
Thanks in advance.
Ravi Phulari -
How to display the search result without reloading the whole page
HI,
I have separate fragments for Search Box to enter keyword and Search Result to display the result. Also I have different sections within the page to put these fragments. So how could I display the results without reloading the whole page.
Also if I have next button in my search result area, how could I display the search results in next page without reloading all other sections present in our page. Please let me know if any service or idoc function present such that result could be shown in search result section without reloading whole page.
Please let me know how to restrict page reload for every action within a page.
Thanks,
Ramesh
Edited by: Ramesh_Est on May 27, 2010 3:14 AM
Edited by: Ramesh_Est on May 27, 2010 8:39 PMThis is default behaviour of the template of your space. You can create a new page template and than you can create a region for the search results.
Or you can create a custom taskflow were you use the webcenter taskflows to search for the space.
Take a look at this white paper:
Extending webcenter spaces: http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
and this one:
Customizing site templates: http://www.oracle.com/technology/products/webcenter/pdf/owcs_ps1_site_template_wp.pdf
Edited by: Yannick.O on 13-Apr-2010 02:32 -
HT201065 is there a way to change adminstraters without reloading the OS?
Is it possible to changed administrators without reloading the complete OS
Even though giving it away, the below articles apply.
Selling old Mac
Selling old Mac (2)
Selling old Mac (3)
Selling old Mac (4) Apple support -
How to check the jms Queue is persistance or not in jboss application serve
hi,
i am using jboss as application server for jms and database is postgres.For an message store i am using the "*database store*".while starting the jms adding queue it is adding the messages to the jms queue after starting the jms receiver the datas are received sucessfully....afte some 10 to 13 hours i am getting java.lang.OutOfMemoryError in jms..so i checked the postgres table space.Table space is increased gradually...I think that the after receiver received that message the messages are not deleted in the database.how to debugg the the secnario in jboss as wel as in database.....how to chaeck the queue is in persistance or not persistance...
regards.
naresh govindaswamy.Send a request to the server somehow, so that the server is aware of this. AJAX may be very useful in this if you want to do this asynchronously.
its very urgently This is irrelevant information. That's your problem. We don't care less or more. Some users here will even refuse to help you if you're putting pressure. -
Moving of flat file from the application server after upload.
Hi All,
I am uploading data from a flat file placed on the application server by a BDC program.
After the BDC has created the session i want to transfer the flat file from that folder to another folder on the application server by changing the name of the flatfile.
Can any one suggest the best way of doing this particular scenario?
Thanks in advance.
Regards
Satish Nair.Here is a sample program.
report zrich_0001.
data: d1 type localfile value '/usr/sap/TST/SYS/Data1.txt',
d2 type localfile value '/usr/sap/TST/SYS/Data2.txt'.
data: begin of itab occurs 0,
rec(20) type c,
end of itab.
data: wa(20) type c.
start-of-selection.
open dataset d1 for input in text mode.
if sy-subrc = 0.
do.
read dataset d1 into wa.
if sy-subrc <> 0.
exit.
endif.
itab-rec = wa.
append itab.
enddo.
endif.
close dataset d1.
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
delete dataset d1.
Regards,
Rich Heilman -
JAVA Error in Application Server After upgrade the Kernal221
Dear All
After we are upgarde the Kernel to 221 we are unable to start the JAVE. But in our setup we are not using java.
Error Deatils
Thu Nov 26 12:13:21 2009
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 324
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:4720) [nixxi.cpp 4424]
ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c 1212]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
Thu Nov 26 12:13:29 2009
DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
Kindly help us
Regards
SriramDear Vincent
Its already set the Parameter rdisp/j2ee_start = 0. last week we are upgrade the kernel from 173 to 221. after that this problem was started.
Regards
Sriram -
BPEL Server installation on JBOSS application Server on SUN SOLARIS
I have a question about Oracle BPEL installation. For our project exists the requirement, to install BPEL Server on SUN SOLARIS, whereby the appropriate Version of Application server JBOSS already exists and it should be used.
The version of the Oracle BPEL server for JBOSS, which we found on the Download side, is made available only with JBOSS (version 3.2.6) in a Package.
During the BPEL server installation this bound JBOSS server version is installed automatically, without giving selection. Is there a BPEL installation for JBOSS on SUN-SOLARIS, which can be installed at the already existing JBOSS server?Hi There,
Dis you get any good responces to your question ?
Thanks
[email protected]
Maybe you are looking for
-
Soon to be BB user in need of a little info.
I realise now, i shouldnt have posted the following in the 'welcome' section I've not got a BB at the moment however i've just sold my iphone and i think a Blackberry is the way to go HOWEVER......... im a little confused regarding any additional cos
-
Importing Raw images in Lightroom the image is vertical lines and can not work with it
Nikon 300S. It is set to NEF(RAW) + JPEG fine. When I import to Lightroom I get message "There was an error working with the photo? Does anyone know why or how to correct? And when I try to open it in Develop the image is a series of vertical lines w
-
Acrobat Professional 11.0.10 - download in one file possible?
Hello, I would need the latest Acrobat Professional 11.0.10 as one download. In the download area I can only find an older version which would need to updated seperately after the installation. Is there a possibility to download the latest version as
-
Delivery Cost to be posted in full during the first GR itself
Hi I have a requirement where in i need to create a new condition type "Delivery Cost" in the purchasing pricing procedure. This should post the fixed delivery cost as given in the PO completely during the first GR itself, irrespective of the partial
-
Hello: I am very much a novice with Final Cut. I am trying to import some video files from my desktop but keep getting an error message that says, "File error 1 file recognized, 0 access denied, 1 unknown". The file type is .mov, 35MB, 1920 x 108