Home Tutorialhelp Comment in my client file can compile but while run it sho

 
 

Comment

Khan
in my client file can compile but while run it sho,
March 10, 2007 at 1:02 PM

in my client file can compile but while run it shows below exception i m not use any like servlet etc only in java file plz can u help me wht i'll do for correct thest problems

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" "http://www.jboss.org/j2ee/dtd/jboss.dtd">

<jboss>

<enterprise-beans>

<session>
<ejb-name>test/MyTestSession</ejb-name>
<jndi-name>ejb/test/MyTestSessionBean</jndi-name>
</session>

</enterprise-beans>

<resource-managers>
</resource-managers>

</jboss>

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

compile and run java program
do I compile and run this file using the terminal of ubuntu... By the way, I am...compile and run java program  Hello, everyone!!! I just want to ask if you anyone here knows how to compile java file in linux specifically UBUNTU 

Java Beginners

run exe on remote client
file on client pc in my network if i know the username & password. I have copied files fromserver to client using my application but i cant run it on remote...run exe on remote client  I am making a client server application 

Java Magazine Questions

Server calling of .exe file in the client
Server calling of .exe file in the client   I have a requirement with java webapplication. We are using jboss as appserver on Linux machine. How can I call a .exe file from client machine? I want to run .exe from webpage like 

PHP Questions

How to compile PHP file and provide it to user without code?
it to my client so that he can be able to use it just like server control in asp.net instead of providing code file. How can I compile the PHP file and provide...How to compile PHP file and provide it to user without code?  I have 

Application Servers

Jboss 3.2 EJB Examples
\server\default\deploy we can deploy the jar file either before starting JBoss..., there was no such servlet-client example for Jboss3.2.  That was because,while... we attempt to start Tomcat4.1 server separately while JBoss is running 

Java Beginners

How to compile and run Java program
How to compile and run Java program  How to compile and Java program from command prompt on my windows 7 computer? Thanks   Hi, For compiling and running the Java program from command prompt you should must have JDK 

JSP Servlet Questions

JBoss and Sevlet - JSP-Servlet
IsItWorking /gg/servlets I have JBoss installed and put my gg.war into G... do or change to get this servlet to run on JBoss 4.2.3. Thank you!  ...JBoss and Sevlet  I am trying to get familar with JBoss. I package up 

Java Beginners

java not run on my pc
java not run on my pc  i have installed java in pc but when i run and compile any program the massage is display that 'javac' is not recognized as an internal or external command 

Java Beginners

Compile error - Java Beginners
Compile error  I get this error when compiling my program: java:167... This is an example of my code: import java.io.*; import java.util.*; import... ')', *then a open bracket '{' should follow the last parenthesis. Based on my coding 

JSP Servlet Questions

unable to compile class file - JSP-Servlet
unable to compile class file  I wrote database connection in jsp file.... In database i have a employeeid field. How can i display all employee id...(); while(rs.next()){ request.setAttribute("userid", rs.getString(2 

Java Beginners

Failed Client-Socket Communication
connection with the client. I am at my wits end!Can someone run the code for me &...Failed Client-Socket Communication  I hve written a server program & a client program. The server is supposed to echo watever is typed 

Java Beginners

compile error
compile error  Hello All for example public class... program with Test.java and try to compile with javac test.java an error like test.java :2 : class A is public ,should be declared in a file named A.java 

General

Example to compile a java file with the help of the program
Example to compile a java file with the help of the program... are describing you the way to compile the java file with the help of the java program. The steps involved for compiling the java file from the program are described 

Log4J Questions

Invalid console appender in JBoss console
getting while starting the server after deploying the ear file into the jboss. I...Invalid console appender in JBoss console  "ERROR: invalid console... a solution or clear the issue. Can anyone provide a solution for this ASAP 

Java Server Faces Questions

jsf application war file not running in my jboss 6.0 on linux 5.5
jsf application war file not running in my jboss 6.0 on linux 5.5  17:15:47,647 INFO [config] Initializing Mojarra (1.2_08-b06-FCS) for context '/MFPMSDeployment' 17:15:48,354 INFO [TomcatDeployment] deploy, ctxPath=/ 17 

Chat Server Tutorial

Client Side Application
for terminating the chat. For running the whole Client operation we can run the Login file (Login.java). It can directly call Client file (MyClient.java). Here...;run(){   String str1="";   while(true){   

Java Beginners

How to compile and run the JSP
How to compile and run the JSP  Hi Kindly tell me how to run and compile JSP small Program using Tomcat as webserver. I created small program HELLO JSP in HTML and compile the program but it is saying Class o r interface 

Java Beginners

JBoss - error during deploy - Java Beginners
to run it properly under tomcat (the war file, I mean). Can someone help me...=example2.ear context=file:/C:/Programmi/jBoss/server/default/deploy/ real=file:/C...:/Programmi/jBoss/server/default/deploy/ real=file:/C:/Programmi/jBoss/server 

Development process Questions

Save file on Client Machine - Development process
to save the file created by my application on the client machine how can i do this can you please suggest me .. in my application i am writing the code to save...Save file on Client Machine  Hi my application is running on main 

Java Beginners

Client Server Java app
some servers and so,so that my friend who is in another city can run the client...Client Server Java app  I developed a client server based java networking Instant Messaging app. The client program is needed to be run on the client 

IDE Questions

To run a jsp file automatically - IDE Questions
To run a jsp file automatically  Hi all, I am in need for the solution for - Can a JSP page can be made to run automatically when NetBeans IDE has been started. or we have to compile and run it automatically? I 

Struts Questions

jboss and struts - Struts
Deploy JBoss and Struts  how to deploy struts 2 applications in jboss 4... the WAR file to the /server/default/deploy folder.   Hello,You can create war file of your web application and then copy the WAR file to the < 

Java Interview Questions

JBoss Unix and Line Separator
used \r\n, \015\012 , \0d\0a but none solve my problem, Jboss just understand \r...JBoss Unix and Line Separator  Hi, I am trying to solve an critical problem. I have an application which write a batch file using the method println 

Java Beginners

Compile time error
Compile time error  Hi, When i compile my simple program in cmd am getting a error like "Javac is not a recognized as an internal or external command, operable program or batch file" How to resolve this problem ????   

Java Server Faces Questions

errors while run - Java Server Faces Questions
errors while run  I,ve download the SimpleHelloByEnteringName jsf intoduntion sample project and tried to run this application following the steps narrated in roseindia jsf tutorial. But i found the fillowing error:(My 

HTML Questions

Unable to compile Servlet
\servlet-api.jar Then I created my servlet file Servlet_LifeCycle.java under... was created by me. To compile my servlet program I did the following: C:\apache...Unable to compile Servlet  First I installed the tomcat server in C 

Java Beginners

compile time error
compile time error  my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name 

Java Beginners

compile time error
compile time error  my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name 

Java Beginners

compile time error
compile time error  my program compile successfully and make the class file also but when i tried to do next command to see the output,it showing error that "could not find or load main class fibbo" fibbo is my class name 

General

developing a Session Bean and a Servlet and deploy the web application on JBoss 3.0
. jboss-web.xml file: <?xml version="1.0" encoding="UTF-8"... run the ant build utity. To deploy the application copy the file... and deploy the web application on JBoss 3.0 Server.  Our application is thin 

Java Beginners

JAVA Compile Question ?
JAVA Compile Question ?  I'm unable to compile this file and not sure why? Can someone please help? import java.nio.file.*; import...("The text file is " + ratio + "% of the size of the word file 

General

developing a Session Bean and a Servlet and deploy the web application on JBoss 3.0
; Web-Component Descriptor File For creating example.war web.xml and jboss... the application copy the file into the deploy (JBOSS_HOME/server/default/deploy) directory... Welcome to the Jboss 3.0 Tutorial    

Maven Questions

Moving projects from tomcat-6.0 to jboss 5.0.1 GA
of tomcat? Also while using tomcat i had a pom.xml file. Should i change any thing in that file for going to jboss? This is my current pom.xml file. <...Moving projects from tomcat-6.0 to jboss 5.0.1 GA  Now i am using 

EJB Questions

How to Configure, Deploy & Run EJB Application on JBoss4.0.5.GA - EJB
to get my application running or/and JBoss server running; 2) Where can i put my console application, the client to access the deployed bean; and 3) How can i... running the client on the same machine where my jboss server is installed 

Servlet Interview Questions

how to compile and run servlet program
how to compile and run servlet program   hello sir/mam i hve installed tomcat5.5 version and also have jdk1.6.0_14 installed but not able to run it or compile i m doing it first tyme pls help me in sorting out this problem. i hve 

Web Services

Axis2 client - Axis2 Client example
\net\roseindia directory. Now run cd to client/src directory. cd client/src... of javac command compile the code. E:\Axis2Tutorial\Examples\HelloWorld\client... for details. To run the client type following command: java net/roseindia/Test 

JSP Servlet Questions

File download from server to client machine - JSP-Servlet
File download from server to client machine  hi, I want to save a pdf file to my client machine from a button provoded in a jsp page.The file that was generated by jasper libraries.In my code i can give path for save 

Struts 2 Tutorials

How to download, compile and test the tutorials using ant.
and run Struts 2.1.8 examples discussed here. You will have to install ant build tool to compile the examples. You can go to the command prompt and type... to install ant. You can read more about installing and using ant at http 

Java Beginners

run time error
run time error  my program compile successfully but does not showing... showing output. Have you save the file name with HelloWorld? One more thing did you the following command to compile the code: javac HelloWorld.java Actually 

JSP Servlet Questions

how can i deploy web application on application server(weblogic,jboss)
how can i deploy web application on application server(weblogic,jboss)  I have develop wab application(jsp,servlet)and i can deploy my web application on tomcat easily but i want to deploy on application server(weblogic,jboss 

Servlets

How to get client's address in a servlet
that execute the request and find the ID address of the client's request. Before run..." in the directory Tomcat-6.0.16/webapps/user/ and you can run this jsp page...How to get client's address in a servlet   

RMI Questions

Rmi client
Rmi client  Sir i just created client and server following the RMI rule, its running properly in the localhost, when i am trying to run the program... the stub and interface file then it is working, I s there is any other option 

EJB Questions

new to EJBs exceptions while excuting Client code - EJB
new to EJBs exceptions while excuting Client code  Hi i am new... then it is compiling fine can any one help me please.. i am posting the client code and the EXCEPTIONS here... thanks 

Java Beginners

java run time error - Java Beginners
java run time error  when i compile my program it didnt show any error in my program.but i cant run my program, if i run my program means... any one can know what is the solution for this  Hi Friend 

JBoss Server

JBoss Tutorials: Learn JBoss Step by Step
to develop a J2EE application. JBoss has been developed with an ability to run...JBoss Tutorials: Learn JBoss Step by Step JBoss or JavaBeans Open Source... known as WildFly. Written in Java , JBoss supports cross platform compatibility 

JSP Servlet Questions

how to run servlet - JSP-Servlet
how to run servlet  pls give me comlete procedure to run the servlet on apache-tomcat 6.0.16 how can i set my classpath, java_home etc. also where i have to save my servlet program and how it compile and then run on web browser 

Web Development

Client Side Coding
. A simple page can be coded using HTML but it requires a command to run... but can also be contained in a separate file. When any command or request... Client Side Coding       

Java Beginners

unable to run servlet
-mapping> 6)Compile your servlet. 7)Run Tomcat server by clicking... servlet. 7)Run Tomcat server by clicking the startup.bat file. This is located...-mapping> 6)Compile your servlet. 7)Run Tomcat server by clicking the startup.bat 

JSP Servlet Questions

How to compile & get output for JSP
How to compile & get output for JSP  HI My Roseindia friend has given the answer as RUN the JSP How to run the JSP Program? But what i mean is that i created a small jsp program in HTML and saved as Hello.jsp. And next i opened 

MySQL

MySQL Client
MySQL Client       My...). This general-purpose client provides a graphical interface to the MySQL server. It can... library written in the C programming language that you can use to write client 

MySQL

MySQL Client
MySQL Client       My Sql Clint... of the program. The character-based client programs. These run either... for each user that needs to use a pre-4.1 client program. This can be done using 

Struts Questions

how to compile and run struts application - Struts
how to compile and run struts application  how to compile and run struts program(ex :actionform,actionclass) from command line or in editplus 3 

Java Server Faces Questions

Problem to print from my properties file - Java Server Faces Questions
of this site. It is very interesting. So this is my problem: I have a jsp file where i try to print some messages from my properties file but when i execute it with JBOSS application server, by my navigator it shows MISSING:titreAchat 

Java Server Faces Questions

Problem to print from my properties file - Java Server Faces Questions
of this site. It is very interesting. So this is my problem: I have a jsp file where i try to print some messages from my properties file but when i execute it with JBOSS application server, by my navigator it shows MISSING:titreAchat 

General

Building Web Application With Ant and Deploying on Jboss 3.0
jsp, html and servlets in the ear file and deploy on the Jboss 3.0 application... 3.0 and copy example2.ear file into the JBOSS_HOME/server/default/deploy... Building Web Application With Ant and Deploying on Jboss 3.0 

WebSevices Questions

JBOSS Startup Problem - StandardWrapper.Throwable java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394)
database. i have downloaded the JBOSS war file and extracted in to my local machine. And i setted my JVAHOME as "C:\Program Files\Java\jdk1.6.010" and JBOSS_HOME...JBOSS Startup Problem - StandardWrapper.Throwable 

WebSevices Questions

how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know 

WebSevices Questions

how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know 

WebSevices Questions

how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know 

WebSevices Questions

how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know 

HTML Questions

file uploads to my web site
file uploads to my web site  How can I allow file uploads to my web site 

Programming Tutorials

While and do-while
While and do-while      ... class, such class is called a nested class. Inner classes can be either... that it is nested inside another class. ( It can even contain further levels 

JDBC Questions

i cant find any compile time error but there is runtime error.
i cant find any compile time error but there is runtime error.  ..."); System.out.println("studentcode: " + "\t" + "studentname: "); while..., I tried the following updated code and it is working. Please copy and run 

General

Applet versus Application
in an application execution starts with the main method. Applets can run in our... problems. while the java applications are designed to work with the client as well... feature is that while they have so many differences but both can perform the same 

Java Beginners

Need help with my project
Need help with my project  Uses a while loop to perform the following... repeatedly overwriting the file from the previous run. -Output all odd numbers... results to a file in the same directory as the program, placing an appropriate 

Java Beginners

Applet run with appletviewer but not in browser, any code problem.
can be problem in code also. please check my code. 1) Card.java package...Applet run with appletviewer but not in browser, any code problem.  Hi,My problem is when I am running my applet in appletviewer index.html, Its work 

JDBC Questions

not able to run in gcj file - JDBC
not able to run in gcj file   We have a java program in Linux environment, which hits DB for some data and encode the same. We need to compile... to run the java program it says that Classes12.Jar?s oracle Driver missing. We 

Java Beginners

run a java application - Java Beginners
ClassName is SwingDemo and I saved my file as SwingDemo.java.My SwingDemo.java file can...run a java application  Hai Deepak, I ve set my environment...$1.class,SwingDemo$2.class.But i couldnt run my file.During run time it gives 

JDBC Questions

How can I protect my database password ?
How can I protect my database password ?   How can I protect my database password ? I'm writing a client-side java application that will access... in as plain text. What can I do to protect my passwords 

Java Beginners

How can I connect my database to my application ?
How can I connect my database to my application ?  How can I connect my database to my application?   Hi, You can use JDBC API to connect... = ""; while (rs.next()) { tableNames = rs.getString(3 

Development process Questions

i got an error while compile this program manually.
i got an error while compile this program manually.  import javax.servlet.http.*; import org.apache.struts.action.*; public class ActionOne{ public ActionForward execute(ActionMapping mapping 

Java Interview Questions

What are the level in Jboss 5 application server to deploy the application
What are the level in Jboss 5 application server to deploy the application  What are the level in Jboss 5 application server to deploy..., 2004) tiger [originally numbered 1.5] - Generics: provides compile-time (static 

JSP Servlet Questions

regarding css file in my eclipse
regarding css file in my eclipse  hai frns i want a small help frm u.when ever i use css file in html or normal web browsers the output is coming means css file is effecting the output but wen i use the same code in myeclipse 

Swing AWT

how can i display a pdf file in a jtextarea
how can i display a pdf file in a jtextarea  I need to display a pdf file in a jtextfield or in a jtextarea.Atlest i need to displat it in a jframe.I have a button and while clicking on it ,i need to choose the pdf file and need 

RMI Questions

server client comms
server client comms  i am trying to return frame through server client comms anyone can help me about that i want to return a class to client side but my class defined in server side 

Java Beginners

how to run a java program using run.exec()?
how to run a java program using run.exec()?  Hi..i want to compile and run a java file using run.exec().i.e., without compiling and running from command prompt i want to do them in the program itself.I am able to compile 

JSP Servlet Questions

How to launch my web application from my desktop without opening Netbeans IDE everytime i run the application?
web application, now my question is how can i start my web application, wat i mean...How to launch my web application from my desktop without opening Netbeans IDE everytime i run the application?  Hi RoseIndia, Thanks for ur reply 

Flex Questions

Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )  Hi, We are running our flex application in jboss clustering environment with the help... have only one node of JBoss. But once we add one more node to the cluster 

Java Beginners

compile this program and let me know the resolution
compile this program and let me know the resolution  class Maxof2...+" is greater than "+i); } } please compile and let me know the resolution   Hello Friend, After compiling the code, while running the code, specify two 

EJB Questions

how to install jboss - EJB
how to install jboss  when i installed jboss at startup jboss generating errors . unable to run ejb3 

WebSevices Questions

Client's Data with Axis2 and Java
classes through utilities. My question therefore is, how or where can I find...Client's Data with Axis2 and Java  Hello everyone, I am studying IT Engineering and my project is to create heterogenous system, and as middleware 

Java Beginners

how can i simplify my java code
how can i simplify my java code  /* Create a program that prompts the user to enter a password. Display a suitable message for each correct...; String tryer; String out= rev_num(); while 

Java Beginners

how to run - Java Beginners
file on the command prompt using: "javac HelloWorld.java". And then run it using...how to run   how to run java program... brifely  Hi... the "javac" command to compile the program and after compiling,uses "java" command 

Struts Questions

struts code for scan the file while uploading - Struts
struts code for scan the file while uploading  Hi, I want the file to be scanned with anti-virus while uploading into server. can provide me help in this regard. Thanks in Advance.   For this you need third 

Programming Tutorials

Client-Server Architecture
;    Client-server architecture can be considered...; and a client machine where server has some resources that can be shared by different... an example of a file server to understand the core process of a client/server 

Swing AWT

java client server program for playing video file(stored in folder in the same workspace) using swings
a client server program to play a video file, when I run both client and server...java client server program for playing video file(stored in folder in the same... class client extends JFrame { clientreceive cr; JPanel p; public void init 

Swing AWT

java client server program for playing video file(stored in folder in the same workspace) using swings
a client server program to play a video file, when I run both client and server...java client server program for playing video file(stored in folder in the same... class client extends JFrame { clientreceive cr; JPanel p; public void init 

Swing AWT

java client server program for playing video file(stored in folder in the same workspace) using swings
a client server program to play a video file, when I run both client and server...java client server program for playing video file(stored in folder in the same... class client extends JFrame { clientreceive cr; JPanel p; public void init 

Swing AWT

java client server program for playing video file(stored in folder in the same workspace) using swings
a client server program to play a video file, when I run both client and server...java client server program for playing video file(stored in folder in the same... class client extends JFrame { clientreceive cr; JPanel p; public void init 

IDE Questions

How to Develop, Compile & Run a rmi Program in NetBeans 6.9.1 ide?
How to Develop, Compile & Run a rmi Program in NetBeans 6.9.1 ide?  how to develop, compile & run a rmi program in netbeans 6.9.1 ide? will you please give me a step by step (practical) explaination? Thanks in advance 

Java Beginners

How to Run First Java Bean Program ?
How to Run First Java Bean Program ?  Hi My Dear Friend I can run... But Now I need that How to run Java Bean Now I have BDK1.1 But still don't know that how run this... I have this bdk dir... \bdk1_1\beans\beanbox 

JMS Questions

Jboss MQ ConnectionFactory - JMS
Jboss MQ ConnectionFactory  Iam Using jboss-5.0.0.Beta4 my quetion is that iam not able to get Jboss MQ ConnectionFactory object pls any suggest me how to get it on jboss-5.0.0.Beta4 

J2EE

Building a Simple EJB Application Tutorial
to be used. We can now build a client to make the HelloBean say Hello. Creating... to compile against the latest ejb client classes in this web project. Create a new... EJB and a client web application using eclipse IDE along with Lomboz plug 

Java Beginners

details of my program - Java Beginners
details of my program  hi 1- allow the customer to order any thing...) days maybe we can give up from using array of oblect and make it as a usual... the customers... and about the last posted code it dis not run too 

Java Server Faces Questions

how can i run ASP.Net Server from netbeans IDE?
how can i run ASP.Net Server from netbeans IDE?  please help me how can i run ASP.Net Server from netbeans IDE? in other word , I have a web services published with IIS7 and I want to use it from my Application My Application 

Java Beginners

about jboss - Java Beginners
about jboss  can you please explain about jboss...how to deploy,where the temp and lock is there...total information about jboss to use in java message services(JMS 

General

Client-Server Architecture
;    Client-server architecture can be considered...; and a client machine where server has some resources that can be shared by different... an example of a file server to understand the core process of a client/server 

WebSevices Questions

Overriding jaxb binding at client side?
Overriding jaxb binding at client side?  How can override jaxb binding at client side? I have a webservice client which creates xmlgregoriancalendar object instead of date. How can I override it at client side?   I 

WebSevices Questions

Compile error - WebSevices
Compile error  Hello, How to read .pdf file using Javascript/php. Any one send the code 

Java Beginners

error while running the applet - Java Beginners
: 1. Save your file from MyFrame.java. 2. compile it from javac MyFrame.java...error while running the applet  import java.applet.Applet; import...); ++num; } } } } i have problem while running the code , error 

Advertisements Advertisements
 

 

 

DMCA.com