karthik saivarma

Greenhorn
+ Follow
since Jan 20, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by karthik saivarma

Hai Folks,

I have installed Weblogic8.1 SP5.I have created mydomain with user name,password,and all other portdetails host.

When I start server it is running properly with out any errors..the out put window shows the below message..
---------------------------------------------
Starting weblogicserver with Java HotSpot(TM) Client VM Version 1.4.2_0
Inc.>
2006 11:14:55 AM CDT> <Info> <Configuration Manageme
r is being started as the administration server.>
2006 11:14:55 AM CDT> <Info> <Management> <BEA-14110
8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358
XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 6
2006 11:14:56 AM CDT> <Notice> <Management> <BEA-140
ration from configuration repository at C:\bea\user_
config.xml.>
2006 11:14:59 AM CDT> <Notice> <Log Management> <BEA
e C:\bea\user_projects\domains\mydomain\myserver\mys
ver side log events will be written to this file.>
2006 11:15:02 AM CDT> <Notice> <Security> <BEA-09008
ing security realm myrealm.>
2006 11:15:03 AM CDT> <Notice> <WebLogicServer> <BEA
Admin Server "myserver" for domain "mydomain">
2006 11:15:11 AM CDT> <Notice> <WebLogicServer> <BEA
dmin Server "myserver" for domain "mydomain" running

2006 11:15:11 AM CDT> <Notice> <WebLogicServer> <BEA
RUNNING mode>
2006 11:15:11 AM CDT> <Notice> <WebLogicServer> <BEA
ad.Default" listening on port 7001, ip address *.*>
-----------------------------------------------
But when i try to open admin console through browser giving the url as
http://localhost:7001/console the page is not displaying its giving page not found error.I tried it again by restarting the system,but again the same problem..Please help me regarding this problem.

Thanks,
Sai
19 years ago
Hai folks,

I am fed up trying with installing all application servers and ide on my laptop.The result is I am not ended up in doing or successful with any thing.Like with each of them i have installed i used to get some problem which was complex i could not solve them.So my whole time is spent only in seeing the compatibilities of ide and app servers..

My question is I want links of the ide which support ejb,web applications,xml parsisng and struts framework.Ide should be free one.
And also the application server which is free one..I dont want trial version.I want some thing which is stable to work at home.I just dont want to again install some thing after trial period is finished.

I have installed myeclipse for one month but i did not worked on it ,by the time i opened it again its subscription is finished..so i tried installing lomboz plugin..but i did not found it good...imean it dont have good documentation and tutorial...

Do any one of u have experienced with jboss ide and jboss server.I think they are opensource.How it would work.Is that fine without any errors ,issues..

Please tell me some links ,ide appserver names for working at home..i dont want trial versions...if u people have any experience please throw some light to me................


Thanks for ur help,

Karthik
Hai folks,

I have created a small example having jar file,war files.My directory structure is

Hello
SayHello
HelloEjb
classes folder having all ejb classes
META-INF having ejb-jar.xml,weblogic-jar.xml
HelloWeb
classes folder haveing all servlet classes
WEB-INF having web.xml
HelloEjb.jar
HelloWeb.war

After developing jar and war files I created new folder Helloear and placed ear file in that folder and its directory structure is
Helloear
META-INF
application.xml
weblogic-application.xml
HelloWeb.war
HelloEjb.jar
Helloear.ear

Now for deploying I opened weblogic8.1 console and tried to deploy the ear file by uploading it.After uplodaing ear file when I click deploy button its giving error message as

J2EE:160043]Missing deployment descriptor "META-INF/application.xml" at "C:\beanew\user_projects\domains\mydomain\myserver\upload\Helloear.ear"

And my application.xml is
______________________________
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>

<application>
<display-name>Stateless Session Bean Example</dislay-name>
<module>
<ejb>HelloEjb.jar</ejb>
</module>
<module>
<web>
<web-uri>HelloWeb.war</web-uri>
<context-root>/HelloWeb</context-root>
</web>
</module>
</application>
_____________________________

I am not able to figure out why this error is coming.Please some one help me with this.Is there any mistake with directory structure..or files .
I want to try manually first without using ide tools or deploy tools.So some one please tell me how to resolve this error.

Thank u in advance

Sai
Hi,

I have html forms,jsp,servlet in my application .When I am trying to run them in tomcat they are running well.But after creating war file of the application and when trying to configure and deploy in weblogic7.0 app server it is giving following error saying that web.xml is missing

weblogic.management.ApplicationException: Missing deployment descriptor "WEB-INF/web.xml" at "C:\bea\user_projects\mydomain\Firstapp.war"

at <Error> <Deployer> <149027> <Unable to activat
ce, C:\bea\user_projects\mydomain\Firstapp.war
iptor "WEB-INF/web.xml" at "C:\bea\user_projec



My directory structure is
Firstapp
.jsp files
.html files
WEB-INF
web.xml
weblogic.xml
lib
src
classes
.class files of java are there in classes folder

and web.xml file is
_________________________
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>



<servlet>
<servlet-name>BonusCalculationServlet</servlet-name>
<servlet-class>BonusCalculationServlet</servlet-class>
</servlet>

<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>BonusCalculationServlet</servlet-name>
<url-pattern>/Firstapp/src/BonusCalculationServlet</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
</welcome-file-list>

</web-app>

___________________________
weblogic.xml
_____________
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA
Systems, Inc.//DTD Web Application 7.0//EN"
"http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">

<weblogic-web-app>
<jsp-descriptor>
<jsp-param>
<param-name>
pageCheckSeconds
</param-name>
<param-value>
1
</param-value>
</jsp-param>
<jsp-param>
<param-name>
verbose
</param-name>
<param-value>
true
</param-value>
</jsp-param>
</jsp-descriptor>
</weblogic-web-app>

____________


Thanks,

Sai
19 years ago
Hi,

I am new to Java.I have a problem when compiling a servlet.It gives error that
C:\j2sdk1.4.2_10\bin>javac HelloWorld.java
HelloWorld.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorld.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;

Here I have placed simple servlet HelloWorld in bin dir of j2sdk1.4.2_10 and trying to compile it frm there

I have jakarta-tomcat-5.5.9-preconfigured ,j2sdk1.4.2_10 on my windows XP system.And my classpath variables are

CATALINA_HOME - C:\jakarta-tomcat-5.5.9-preconfigured\jakarta-tomcat-5.5.9
JAVA_HOME -C:\j2sdk1.4.2_10
PATH -%USERPROFILE%\Local Settings\Temp;$JAVA_HOME\bin;$JAVA_HOME\lib;$CATALINA_HOME\common\lib\servlet-api.jar;$CATALINA_HOME\common\lib\jsp-api.jar

TEMP -%USERPROFILE%\Local Settings\Temp;$JAVA_HOME\bin;$JAVA_HOME\lib;$CATALINA_HOME\common\lib\servlet-api.jar;$CATALINA_HOME\common\lib\jsp-api.jar

TMP -%USERPROFILE%\Local Settings\Temp

Actually I downloaded jakarta preconfigured version where the dir structure is like this
jakarta-tomcat-5.5.9-preconfigured\tomcat-5.5.9\common\lib\servlet-api.jar

I have even tried setting classpath at command prompt by giving
c:\ set classpath =%classpath%jakarta-tomcat-5.5.9-preconfigured\tomcat-5.5.9\common\lib\servlet-api.jar


But still compiler is givig the error that servlet packages are not found..I am not able to figure out where the problem would be.Please some one help me reg this..

Thanks
Karthik
19 years ago
Hi,

I am new to Java.I have a problem when compiling a servlet.It gives error that
C:\j2sdk1.4.2_10\bin>javac HelloWorld.java
HelloWorld.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorld.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;

Here I have placed simple servlet HelloWorld in bin dir of j2sdk1.4.2_10 and trying to compile it frm there

I have jakarta-tomcat-5.5.9-preconfigured ,j2sdk1.4.2_10 on my windows XP system.And my classpath variables are

CATALINA_HOME - C:\jakarta-tomcat-5.5.9-preconfigured\jakarta-tomcat-5.5.9
JAVA_HOME -C:\j2sdk1.4.2_10
PATH -%USERPROFILE%\Local Settings\Temp;$JAVA_HOME\bin;$JAVA_HOME\lib;$CATALINA_HOME\common\lib\servlet-api.jar;$CATALINA_HOME\common\lib\jsp-api.jar

TEMP -%USERPROFILE%\Local Settings\Temp;$JAVA_HOME\bin;$JAVA_HOME\lib;$CATALINA_HOME\common\lib\servlet-api.jar;$CATALINA_HOME\common\lib\jsp-api.jar

TMP -%USERPROFILE%\Local Settings\Temp

Actually I downloaded jakarta preconfigured version where the dir structure is like this
jakarta-tomcat-5.5.9-preconfigured\tomcat-5.5.9\common\lib\servlet-api.jar

I have even tried setting classpath at command prompt by giving
c:\ set classpath =%classpath%jakarta-tomcat-5.5.9-preconfigured\tomcat-5.5.9\common\lib\servlet-api.jar


But still compiler is givig the error that servlet packages are not found..I am not able to figure out where the problem would be.Please some one help me reg this..

Thanks
Karthik
19 years ago
Hi,

This is my first message to this group.I am thanking all the group moderators for providing such a wonderful group.

My problem is with eclipse and tomcat.It goes like this

I have installed eclipse sdk3.1.1 and have tomcat-preconfigured5.5.9 .I have installed sysdeo plugin 3.0 into plugins of eclipse plugins directory.And after configuration of eclipse when i am trying to start tomcat from eclipse its not getting started...even its not giving any type of msg in console...where might be the problem..is there any problem with the compatibility of versions..

But when i go to start.bat of tomcat dir its starting .But from eclipse its not getting started..Is that some thing depends on order of installation..First i installed j2sdk1.4.2_09 then eclipse,then tomcat,then plugin i added..

Does sysdeo plugin does not support tomcat5.5 and eclipse3.1..Please some one help reg this

Once again my thanks to all.I am sorry if i posted some where in wrong place

karthik