geeta vemula

Ranch Hand
+ Follow
since Jul 18, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by geeta vemula

java]Deployment "vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/counterEJBClient.war/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@1dfe1a{VFSClassLoaderPolicy@115632d{name=vfsfile:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@1a19458{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@ca0b6} roots=[MemoryContextHandler@19014134[path= context=vfsmemory://5c4o2s1g-hmhwl8-fyiwl3tw-1-fyiwlat7-b real=vfsmemory://5c4o2s1g-hmhwl8-fyiwl3tw-1-fyiwlat7-b], FileHandler@31702491[path=jbossweb.deployer context=file:/E:/jboss-5.0.1.GA/server/default/deployers/ real=file:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/], DelegatingHandler@12952311[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/E:/jboss-5.0.1.GA/server/default/deployers/ real=file:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/jboss-web-deployer.jar]] delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}
Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **
Deployment "vfszip:/E:/jboss-5.0.1.GA/server/default/deploy/Jsps.war/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@1dfe1a{VFSClassLoaderPolicy@115632d{name=vfsfile:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@1a19458{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@ca0b6} roots=[MemoryContextHandler@19014134[path= context=vfsmemory://5c4o2s1g-hmhwl8-fyiwl3tw-1-fyiwlat7-b real=vfsmemory://5c4o2s1g-hmhwl8-fyiwl3tw-1-fyiwlat7-b], FileHandler@31702491[path=jbossweb.deployer context=file:/E:/jboss-5.0.1.GA/server/default/deployers/ real=file:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/], DelegatingHandler@12952311[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/E:/jboss-5.0.1.GA/server/default/deployers/ real=file:/E:/jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/jboss-web-deployer.jar]] delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
---------------------------------------------------------------------------------------------------------------------------------------------------------
kindly see the above part of log file which i got while running the application in eclipse. I have highlighted the concerned message . Here i am trying to run jsps project(jspss.war) is created but not able to read tomact file.
Kindly tell from where to get that file
12 years ago
well i realized even if I try to run simple jsp file its not able to recognize giving class not found error. I realized jbossweb-tomcat-55.sar is nopt there in jboss-home/server/default/deploy folder.
so how to get it then?
one solution i got is to download jboss file which is having src in its name, so i downloaded so jboss-5.0.1.GA-src.zip file fromm jboss downloads. this folder is having tomcat folder but no bin..
I am very much confused how to get the tomcat in jboss

thanks
Geeta
12 years ago
hello all,

I am creating one SimpleCalculator EJB application using eclipse and jboss

First I have craeted EJB application as SimpleCalculator. I am having one interface and one class which is placed under ejbmodule in eclipse. Then I say run on server automtically it gets deployed as SimpleCalculator.jar in jboss-home directory/server/default/deploy folder. and also it is giving as build successfull in eclipse console.

After this i am creating client application(Dynamic web project) called SimpleCalculatorWeb which access the SimpleCalculator EJB. This project is having one index page(home page) which is under webcontent folder in eclipse file structure and one servlet which will be under src/default package. For this client application I am am showing the path of EJB application by adding projects.

When I am trying to run the client application(SimpleCalculatorWeb) then in the console window of eclipse it is saying build successfull, deploy SimpleCalculatorWeb.war
but in the browser part of eclise where it is suppose to show index.jsp( home page), it is giving 404 error saying page not available.
I checked jboss deploy folder where SimpleCalculatorWeb.war file is there but why it is still not able to display index.jsp page?

When i say run on server automatically it is showing in the address bar as
http://localhost:8083/SimpleCalculatorWeb/index.jsp
and in the body it is giving 404 error.

Kindly help me in this regard.
Thanks,
Geeta



12 years ago
yes it is properly deployed in jboss. it is giving build successfull in blue color and also it is showing deploy .war file.

thanks,
geeta
12 years ago
i am creating one ejb application which is having one ejb(ejb project) and one client application(Dynamic web project) using eclipse. when i am deploying the above two in jboss, it is creating .jar file for ejb project (in D:\jboss-5.0.1.GA\server\default\deploy folder) and .war for the dynamic web project in the same folder. But when I try to access jsp page which is in dynamic web project , it is saying page is unavailble(404 error),

I realized the problem is jboss server is not able to read .war file which it created. So how to solve this.

Thanks,
Geeta.
12 years ago
Thanks..

I restarted my machine which automaticallly solves the problem

Geeta
eclipse is not able to start jboss, first it said 8080 is in use, then i changed the port to 8085 in the server view of eclise.
In the console it is showing as started... but later it is giving as server cannot start in 50sec .. try incrasing the default time. i increased it to 180 sec but still its giving the same thing.
how to solve this.
Thanks,
Geeta
I am not setting anything , i have just downloaded the zip file from net and extracted into that folder.

Kindly tell me the solution for this..
thanks
geeta
12 years ago

C:\Users\User\jboss-3.2.2>cd bin

C:\Users\User\jboss-3.2.2\bin>run
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Users\User\jboss-3.2.2\bin\\..
.
JAVA: C:\Java\jdk1.6.0_24\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: ;C:\Java\jdk1.6.0_24\lib\tools.jar;C:\Users\User\jboss-3.2.2\bin\\run.jar
.
===============================================================================
.
16:02:02,119 INFO [Server] Starting JBoss (MX MicroKernel)...
16:02:02,134 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)
16:02:02,134 INFO [Server] Home Dir: C:\Users\User\jboss-3.2.2
16:02:02,134 INFO [Server] Home URL: file:/C:/Users/User/jboss-3.2.2/
16:02:02,134 INFO [Server] Library URL: file:/C:/Users/User/jboss-3.2.2/lib/
16:02:02,134 INFO [Server] Patch URL: null
16:02:02,134 INFO [Server] Server Name: default
16:02:02,134 INFO [Server] Server Home Dir: C:\Users\User\jboss-3.2.2\server\default
16:02:02,134 INFO [Server] Server Home URL: file:/C:/Users/User/jboss-3.2.2/server/default/
16:02:02,134 INFO [Server] Server Data Dir: C:\Users\User\jboss-3.2.2\server\default\data
16:02:02,134 INFO [Server] Server Temp Dir: C:\Users\User\jboss-3.2.2\server\default\tmp
16:02:02,134 INFO [Server] Server Config URL: file:/C:/Users/User/jboss-3.2.2/server/default/conf/
16:02:02,134 INFO [Server] Server Library URL: file:/C:/Users/User/jboss-3.2.2/server/default/lib/
16:02:02,134 INFO [Server] Root Deployemnt Filename: jboss-service.xml
16:02:02,134 INFO [Server] Starting General Purpose Architecture (GPA)...
Failed to boot JBoss:javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:499)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:335)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:662)
Press any key to continue . . .
C:\Users\User\jboss-3.2.2\bin>




what to do in such case

thanks
geeta
12 years ago
here first it is implementing twidle with string argument as in interface and then overloading it with integer argument.I think its ok. But what is my doubt is "abstract interface". Is it possible? How both can be used at the same time?
the question here is relating IS-A with autoboxing. int is autoboxed to Integer but if you have Integer you cannot box it to Long, since Integer is not Long.
yes it is by interrupt call on t1 thread.

See java docs where it is clearly given
"If this thread is blocked in an invocation of the wait(), wait(long), or wait(long, int) methods of the Object class, or of the join(), join(long), join(long, int), sleep(long), or sleep(long, int), methods of this class, then its interrupt status will be cleared and it will receive an InterruptedException".

IS-A relationship is used in autoboxing. int is autobox to Integer but not to Long since int is not long.
Thanks everyone..
14 years ago