Can't Deploy Web Application
We recently upgraded to Netbean 6.01, but we have Netbeans 6.0 still installed on the computer. I'm trying to deploy a web application to Tomcat. I can deploy to GlassFish, but whenever I try to deploy the application to Tomcat, it gives me this message.
Deployement error:
The module has not been deployed.
See the server log for details.
...a bunch of other useless messages...
It gives me this error even with the brand new web application that Netbeans creates when you create a new project. When I check the server log like it says to, it's completely blank. However, when I check the IDE log, it says this:
INFO [org.netbeans.modules.tomcat5.TomcatManagerImpl]: TomcatManagerImpl connecting to: http://localhost/8084/manager/list
java.io.FileNotFoundException: http://localhost:8084/manager/list
INFO [org.netbeans.modules.tomcat5.TomcatManagerImpl]: TomcatManagerImpl connecting to: http://localhost:8084/manager/deploy?config=file:/C:/DOCUME~1/Temp/context64322.xml&path=/WebApplication3
java.io.FileNotFoundException: http://localhost:8084/manager/deploy?config=file:/C:/DOCUME~1/Temp/context64322.xml&path=/WebApplication3
...bunch of other stuff...
INFO [global]
The module has not been deployed.
...bunch of messages..
java.io.IOException: Bad pathname
I checked this file: C:/DOCUME~1/Temp/context64322.xml and it exists, but when I try to go to http://localhost:8084/manager or http://localhost:8084/manager/list it comes up blank. Is there something wrong with the configuration of Netbeans? It is because there's a Netbeans 6.0 and 6.01 on the same box? I did notice that it appears that Netbeans 6.0 and 6.01 are using the same configuration folder ({USER_HOME}/.netbeans/6.0) How do I fix this?
looks like you have to add getter/setter for every one of your field (or at least firstName) in the class User
Similar Messages
-
Can i deploy web application with WEB-INF as war and leave others as it is
i'm asked to deploy my web application with WEB-INF in a war and leave all the others as it is, but i'm getting error that "resource not found"
what shld i do?
this is the command i used to create war
jar cvf WEB-INF.war *.*
i entered this command from command prompt from the directory
c:/tomcat/webapps/myapplication/WEB-INF/>jar cvf WEB-INF.war *.*
please help!!!!!can u please elaborate...because i need to speak about that to the manager who is asking me to do so. he will not listen to me until i explain with true reasons.
-
Failed in deploying Web Application (.ear file)
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
ThanksHi,
specifying a leading slash shoul be enough to let the system know that it is an absolute path.
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
TJ schrieb:
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
Thanks -
Can I deploy web service on APEX server
I have APEX 3.1.2 on 11g database.
I need to pull data from other oracle 9i databases into APEX application. I have created web service on my pl/sql package to pull data from 9i databases and deployed service on my local oc4j instance (within jdeveloper). My APEX app pull data from multiple oracle 9i database. Now I need to move my web service to my dev/test environment.
Can I deploy web service on APEX server? or do I need to deploy on another web server?
I know I can easily pull the data from other oracle 9i databases using DB link. I want to explore Web services option to just to see is it possible to pull data from multiple sources into APEX app using web service running from APEX server?.
Any help on this will be appreciated.
RK Shah
Edited by: RK Shah on Apr 7, 2009 7:27 PMI am in the same situation. Consuming a web service is easy with APEX. But publishing one needs a web server that is more complex than the one that comes with APEX for free.
I am exploring the possibility of building the web service in Jdeveloper as you have. Then I will make a WAR file that I will publish to an apache tomcat J2EE server that another department runs. I believe it will work since all the components required should be in the WAR file.
I am new at this. I will let you know how it works out.
The other possibility is to upgrade the appserver to the full Oracle Fusion server (maybe). This may be expensive and be too much for just a simple web service. But then the publish to application server from jdeveloper is super easy. -
How to deploy web application to Weblogic?
Does anyone know how to deploy web application to Weblogic8.1?
Hello,
I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: java/lang/StringBuilder
at servlets.ResponseServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers). -
How to deploy web application .war file into SAP NetWeaver Engine?
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
- Hide quoted text -
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advanceHi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin -
Hi.
We are deploying a flash application that connects thru flash
remoting with ASP.NET 1.1 and everything runs fine when runned
looking for localhost but not when we set the real domain or IP.
There 's no firewall between.
May be we are missing a configuration issue??
thanks in adviceHello,
Which version of Eclipse are you using, with which plugins?
Do you know that you can use WebTools Project and you have an adaptor for OC4J 10.1.3?
Take a look to : WTP Tutorials - Deploy Web Applications to the Oracle Application Server
To answer your question, you can take a look to the documentation on Apache Ant configuration with Oracle Tasks.
Regards
Tugdual Grall -
How to restrict access to a deployed web application
I have a web application (ear-file) and i want to configure NetWeaver so that only certain users can use the web application.
How/where to configure the Application server to reach that goal?Hi Ludger,
You can create J2EE Security Roles:
http://help.sap.com/saphelp_nw04/helpdata/en/c2/e13e4045796913e10000000a1550b0/frameset.htm
Regards,
Siddhesh -
Failed to deploy web application with same name twice
Hello-
On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
When I tried to deploy it again with the same name I got this:
Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
Resolution:
Please call Oracle support.
Base Exception:
java.lang.NoSuchMethodError
null. java.lang.NoSuchMethodError
Is there a solution for this?
RegardsI think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
Myrra -
Can you deploy an application sequenced with App-V v5 with SCCM 2007?
We are currently in the process of upgrading to SCCM 2012. We are also embarking on testing App-V v5. Can we deploy sequenced applications from App-V v5 using SCCM 2007? What limitations will exist with SCCM 2007? What release of
SCCM 2007 should we be at for App-V v5 sequenced applications to be deployed and/or streamed?This KB article is now available: Supported Configuration Manager and Microsoft Application Virtualization scenarios
Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
answer your question). This can be beneficial to other community members reading the thread.
This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
Twitter:
@stealthpuppy | Blog:
stealthpuppy.com |
The Definitive Guide to Delivering Microsoft Office with App-V -
Sir,
Can a fusion web application run on smart phones also? Then what about database for mobiles?
RegardsAny web application can run on smart phone because you are accessing it from browser so no need for database or application server on your mobile
It is same as accessing any website on mobile
If you are talking about mobile app
check this - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html
Ashish -
WEB Server And Database Space requirements for deploying Web Application
Hi,
We are in requirement of WEB Server And Database Space requirements for deploying our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
application.......
Regards,
Sreenivasa M SHi,
Please refer this link and check if it helps:
http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
Regards,
Azam Khan -
Error while deploying web application in OAS
I was trying to deploy a web application in OAS through enterprise manager. But I get the following error. Can any one please help me.
An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknownAs the error message tells, did you make sure you have a correct/valid archive file? You might try deploying it from command line to make sure issue isn't at EM side.
For 10.1.3 refer:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/overview.htm#CJAJHJIA
For 10.1.2 refer:
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEIJGHDG
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEICHFGJ
Thanks
Shail -
Deploy web application in jbuilder 9 with weblogic 7 problem
when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
where options include:
-help Print this help message.
-version Print version information.
-adminurl <https://<server>:<port>> The URL of the administration server: default
http://localhost:7001
-user <user> A user other than the default of
"installadministrator"
-password <password> Specifies the password on the command line.
If this option is absent the user is
prompted.
-verbose Displays additional status during the
deployment process, including notifications
when the application is prepared and
activated on each target.
-debug Displays debug level messages to the standard
output.
-examples Display example usage of this tool.
-upload Causes the specified source file(s) to be
transferred to the adminstration server. This
is used when the Deployer tools is not being
used on the same machine as the adminstration
server and the user does not otherwise have
access to place the targeted files on the
adminstration server.
-delete_files Causes the server to remove the files that
are specified in the file list and leave the
application activated. This option is valid
only for unarchived web applications.
-remote Signals that the tools is not runnning on the
same machine as the adminstration server and
that the source path should be made passed
through unchanged as it represents the path
on the remote server.
-nostage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged and the
original source is be used.
-external_stage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged but the
value of the staging path will be used when
preparing the application.
-stage Sets the stagingMethod staging attribute on
the application when it is created so that
the application will always be staged. This
value will override the stagingMethod
attribute on any targeted servers.
-nowait Once the action is initiated the tool will
print the task id and exit. This is used to
initiate multiple tasks and then monitor them
later using the -list action.
-timeout <seconds> The maximum time in seconds to wait for the
completion of the deployment task. When the
time expires the current status is printed
and the program exits.
-source <archive file or directory> Location of the file or directory that
represents the enterprise component or
application tha is being (re)activated. If
the source file is relative it is relative to
the current directory, unless the -remote
option is used. To specify individual files
within an application for reployment or
addition list them at the end of the command
line.
-name <application name> The name of the application being deployed.
-targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
cluster names. Each target may be qualified
with a J2EE component name. This enables
different components of the archive to
deployed on different servers.
-id <task identifier> Optional client supplied unique identifier
for the deployment task. The id is first
specified to -activate, -deactivate,
-unprepare or -remove. It is then used later
as an argument to -cancel or -list.
-activate (Re)activates the <source> application on the
<targets> with the <name>.
-deactivate Deactivates the application <name> on the
<targets> leaving an staged application files
in a state where the may be quickly
reactivated.
-unprepare Deactivates and unloads classes for the
application <name> on the <targets> leaving
an staged application files in a state where
the may be quickly reloaded.
-remove Deactivates the application <name> on the
<target> and removes any files that were
staged for this application. If there are no
longer any targets for the application, the
associated configuration is completely
removed.
-cancel Atempts to cancel the task <id> if it is has
not yet completed.
-list Lists the target status of each task <id>
-deploy a convenient alias for activate.
-undeploy a convenient alias for unprepare.
Optionally a list of the specific files in the archive that are to be
redeployed may be specified. If a directory is specified the entire subtree is
redeployed.
Full documentation on this tool is available at:
http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.
Type java weblogic.Deployer -examples for example usage.you use "deploy" under DOS-Mode to deploy your web application?
i found some differences between "deploy" and "redeploy" function in jbuilder 9.
when i choose "deploy" ,jbuilder shows me the commond below:
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility -
How to create separate log files for each deployed web application in oc4j
Hi All,
I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
Thanks and Regards,
Ravi.Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
John H.
Maybe you are looking for
-
Blue Screen of Death\ multiple error messages
I've got ap6623w with Windows 7, it will not boot. The screen say's Disable bios caching or shadowing " not an option offered". Another screen will say DRIVER_IRQL_NOT_LESS_OR_ EQUAL, or PAGE_FAULT_IN_NONPAGED_AREA. The hard drive tests ok. When I ca
-
Problem With Fax Modem 43R1814 CallerID
The Caller ID Doesn't Appear when I Use The Command AT+VCID=1 and the fax replies with OK. and when I use the Command AT#CID=1 The fax Replies with ERROR,any Ideas How to Read The Caller ID
-
Attaching a stylus to the Droid X...
Well, I've tried looking at pictures but can't seem to get the angle I'm looking for, and since my phone won't be here until next week, I was wondering if anybody could tell me if it's possible to attach a stylus to the Droid X...? Some phones have t
-
Apple TV2 streaming via Airplay. No picture, but sound
Internet ok, Youtube ok, but streaming from iPad 2 via Airplay to TV 2 is only sound, no picture
-
So is any one else having problems staying logged in on wifi at home?
So I decided to up grade my iPad. Bought the new one brought it home, now it spends more time searching for my wifi signal then any thing. Also does not let me no when I have new messages or when I send messages. Any ideas?