Problem in deploying sample application HelloDB application iPlanet.
I installed iPlanet 6.5 on my windows NT work station and then as per iPlanet documentation I tried deploying the sample HelloDB application. It gives the following error when I say build install
Searching for build.xml ...
Buildfile: E:\iPlanet\ias6\ias\ias-samples\database\hellodb\src\build.xml
install_javadocs:
[delete] Deleting directory E:\iPlanet\ias6\ias\ias-samples\database\hellodb\docs\api
[mkdir] Created dir: E:\iPlanet\ias6\ias\ias-samples\database\hellodb\docs\api
BUILD FAILED
E:\iPlanet\ias6\ias\ias-samples\database\hellodb\src\build.xml:164: E:\iPlanet\ias6\ias\ias-samples\database\hellodb\build\d
ocs\api not found.
Total time: 1 second
Can you please tell me where I'm doing wrong.
Hi,
Could you please post the entire messages that is on the screen right from the time you invoke build followed by the option.
A quick answer from looking at the posted message that I can guess is that, may be build fails at the stage when the directory is created.
Regards
Ganesh .R
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support
Similar Messages
-
[04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
ception = java.lang.NullPointerException
[04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:321)
at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
ityHome.java:338)
at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
java:85)
at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)Hi,
I think you are trying to test the Hello world EJB example shipped with the product. As a first
step I would recomend you to go through every line of the document on deploying this application,
since, I too have experienced many errors while trying to deploy the sample applications, but on
following the documentation, I subsequently overcame all the errors and have been working with the
applications. So please follow the steps in documentation and let me know, if you still encounter any
issues.
Regards
Raj
Sandhya S wrote:
I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
have attached the exception thrown.Why has this exception occured?
[04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
exception caught in kcp skeleton, ex
ception = java.lang.NullPointerException
[04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:321)
at
com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
at
com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
Source)
at
com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
Source)
at
com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
Source)
at
com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
Source)
at
samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
at
samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at
samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
ityHome.java:338)
at
samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
java:85)
at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Problem while deploying a webdynpro java application in NWDS 7.1 version
HI All,
I got the below error when i deploying the webdynpro java application in NWDS 7.1 version..help me out...........................................
Exception:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:64)
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
va:136)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
DeployProcessorFactoryImpl.java:26)
at
com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
Impl.java:46)
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:58)
... 1 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
not found in lookup of tcbldeploy_controller.
at
com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
at
com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
directableImpl.java:80)
at
com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
4_Skel.java:555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
cess(ApplicationSessionMessageListener.java:33)
at
com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)First check is Java stack is running ?
make sure J2EE_ADMIN user not locked.
Ans please check password in secure area. check password in secure store should be correct.
may be you can try with restart of SAP and DB.
All the best
regards
nag -
Problem deploying sample web dynpro application.
I am not able to deploy and run a sample code of Web Dynpro. It gives the following error.
<b>Caught exception while checking the login credentials for SAP J2EE Engine. Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
</b>
I am able to log in to SDM using the same password but not deploy the code.
I have also tried restarting the server, SDM.Hi,
Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin
Now you deploy.... Otherwise see this thread same problem but solved.
Re: An Deploy Problem about Credentials.
Regards
Suresh -
i am new to j2ee!! i am using sun application server 8 2005Q1(for j2ee)
i have deployed my application successfully!!!!!
yet i found an error(404) when i called it thro my web browser
i am using oracle as my back end
anybody plz help me as soon as possible.........Hi,
I am not sure what some of your phrases mean but i want to clarify a couple of things.
0) Be happy to make the switch
1) SJAS contains a webserver, where iPlanet appserver did not and one was forced to put a webserver in front of the appserver.
2) The iplanet webserver plugin was configured to forward all request which have /NasApp to the appserver, using the KCP protocol, SJAS LB plugin is configured on a webapplication context root base using http and or https protocol.
3) If your logic needs the HTML pages (which is doubtful in a proper design) the pages must reside on the appserver.
4) Deployment to SJAS can be done through asadmin CLI, deploytool or webbased admin GUI instead of just putting the EAR in the autodeploy directory.
HTH Robert -
Problem when deploying on tomcat two applications with same appmodule name
We have deployed two different adf-uix applications to a tomcat application server.
Each of the two applications has one application module, the two application modules have the same name. This seems to cause a conflict between the two applications.
After starting the application server, we can run first the application 'A' and then the application 'B' or viceversa, every time the first application works and the second doesn't. When running the second application we get messages like 'table or view doesn't exist'.
Having the application modules with different names seems to solve the problem, but it seems not so easy to change the application module name on an existing and rather complex application.
Any suggestion? Please help.
Thanks, MauroI had the same problem and the only way to solve it was to change the app module name.
-
Classpath problem during deployment in oracle 10g application server
java.lang.NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
required urgent help.hello,
when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
thanks,
ph. -
Deployment of JavaFX Web application on client machine(Windows OS.)
Problem Statement:
Deployment of JavaFX Web application on client machine(Windows OS.)
Error: unable to load the native libarary(JNI Windows dll) i.e. throws java.lang.UnsatisfiedLinkError exception.
Problem Description:
I have create the JavaFX application which have dependency on Native library written in Java Native Interface(JNI).
When the application is deployed on Apache 6.0 Tomcat Server(Copied .html file *.jnlp file and .jar file) and when client machine hit the html page in internet explorer version 8.0 its throws the following error(java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path)
Note:
I have created the jar file which have my "JNIHelloWorld' native library dll in root directory. I have signed the jar with same signature which i have used for signing for my application Jar file.
I have mentioned the native library jar in JNLP file resource keyword as follows:
<resources os=Windows>
<nativelib href="JNIHelloWorld.jar" download="eager" />
</resources>
The complete jnlp file content is in "JavaFXApplication.jnlp file:" section below.
The description of error is as follows:
Match: beginTraversal
Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_07
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre7\bin\javaw.exe
args is: null
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.1 found at C:\Program Files\Java\jre7\
enabled is: true
registered is: true
system is: true
Match: ignoring maxHeap: -1
Match: ignoring InitHeap: -1
Match: digesting vmargs: null
Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
Match: digest LaunchDesc: http://10.187.143.68:8282/KPIT/JavaFXApplication20.jnlp
Match: digest properties: []
Match: JVM args: [JVMParameters: isSecure: true, args: ]
Match: endTraversal ..
Match: JVM args final:
Match: Running JREInfo Version match: 1.7.0.07 == 1.7.0.07
*Match: Running JVM args match: have:<> satisfy want:<>*
*java.lang.UnsatisfiedLinkError: no JNIHelloWorld in java.library.path*
* at java.lang.ClassLoader.loadLibrary(Unknown Source)*
* at java.lang.Runtime.loadLibrary0(Unknown Source)*
* at java.lang.System.loadLibrary(Unknown Source)* at javafxapplication20.JavaFXApplication20.<clinit>(JavaFXApplication20.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.javafx.applet.FXApplet2.init(FXApplet2.java:63)
at com.sun.deploy.uitoolkit.impl.fx.FXApplet2Adapter.init(FXApplet2Adapter.java:207)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Java Plug-in 10.7.2.11
Using JRE version 1.7.0_07-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\io839
Please find my native library code and JavaFX application code:
Native library JNI Code:
JavaFXApplication.java:
JNIEXPORT jstring JNICALL Java_javafxapplication_SampleController_printString(JNIEnv *env, jobject envObject)
string str = "hello JNI";
jstring jniStr = env->NewStringUTF(str.c_str());
return jniStr;
JavaFX Application code:
JavaFXApplication.java:
package javafxapplication;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class JavaFXApplication extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("Sample.fxml"));
Scene scene = new Scene(root);
stage.setScene(scene);
stage.show();
* The main() method is ignored in correctly deployed JavaFX application.
* main() serves only as fallback in case the application can not be
* launched through deployment artifacts, e.g., in IDEs with limited FX
* support. NetBeans ignores main().
* @param args the command line arguments
public static void main(String[] args) {
launch(args);
static{
System.loadLibrary("JNIHelloWorld");
SampleController.java file:
package javafxapplication;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
public class SampleController implements Initializable {
@FXML
private Label label;
private native String printString();
@FXML
private void handleButtonAction(ActionEvent event) {
System.out.println("You clicked me!");
String str = printString();
label.setText(str);
@Override
public void initialize(URL url, ResourceBundle rb) {
// TODO
//String str = printString();
JavaFXApplication.jnlp file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFXApplication.jnlp">
<information>
<title>JavaFXApplication20</title>
<vendor>io839</vendor>
<description>Sample JavaFX 2.0 application.</description>
<offline-allowed/>
</information>
<resources>
<jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
</resources>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="JavaFXApplication.jar" size="20918" download="eager" />
</resources>
<resources os=Windows>
<nativelib href="JNIHelloWorld.jar" download="eager" />
</resources>
<security>
<all-permissions/>
</security>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFXApplication" >
<param name="requiredFXVersion" value="2.2+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="javafxapplication.JavaFXApplication" name="JavaFXApplication" />
<update check="always"/>
</jnlp>No problem.
Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
You can change specification by adapting the build.xml file.
Of course lot of different possibilities are available for deployment!
You can find lot of info here:
[http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
Important to know is if you want to work with
- a standalone application (self-contained or not)
- with webstart
- or with applets
(In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!) -
Problem in Deploying ADF Application - development Mode
hi Experts,
i have jdev11.1.1.5.0 in a combination with weblogic 10.3.5.
my application is working fine, while running on integrated wls (just give right click and on my jspx page - auto deploying).
if i going with manually deploying option on same intergrated wls or standalone wls means
i can able to get my login page, if i login means it doesnt re-direct to my index page what it would be problem? (it doent replicate this kind of intergrated wls (auto deploying))
Details of my Application
am not using any adf security. my login page is in session scoped bean , index page - backing bean scoped.
my log shows, your username and password is correct. that means it can able to access my Application Module.
am using adfc - config for redirecting
<control-flow-rule id="__5">
<from-activity-id id="__6">loginPage</from-activity-id>
<control-flow-case id="__7">
<from-outcome id="__13">error</from-outcome>
<to-activity-id id="__8">loginPage</to-activity-id>
</control-flow-case>
<control-flow-case id="__14">
<from-outcome id="__16">success</from-outcome>
<to-activity-id id="__15">Indexpage</to-activity-id>
</control-flow-case>
</control-flow-rule>This Same project Doesnt behave like this Olden days.
i maked out sample for deplying an adf application in both Integrated wls and standlone wls. it's fine.
can anyone guide me where am?
any one had a idea?
while am deploying manually i got dialog "deployment configuration" to deploy.
i got this in my log.
[01:07:44 PM] Entering Oracle Deployment Plan Editor
[01:07:46 PM] No metadata repositories found on target server. Using values found in adf-config.xml. //show this red collor+ info,
sometimes, i had another problem while login
if i go with manual deployment on integrated wls/ standlone wls
JBO-25002: Definition com.x.x.model.associations.xLogAS of type Entity Association is not found.i had viewlink named "xxxLogVL" in my model layer that viewlink mapped a association named "xLogAS".
both are looking safe while running Business Component broswer and running intragrated wls(auto deploying).
i checked the myApplicationModule.xml no warning on right hand gutter. so what would be the problem.?
somtimes i had this? how can i fix this?
cant come to conclusion? with to two different problem in same project. -
Deploying sample applications in mosaic
Hello, i want to deploy the applications in Mosaic. I'm following these instructions:
Use the Ant build files provided with the Mosaic ES2 installation to deploy sample applications to the server.
To run Ant, type ant from the command line. When you do not provide arguments, Ant looks for a build.xml file in the current directory.
For descriptions of the sample applications, see Sample applications.
Deploy all samples and demos
In the following directory, run Ant:
[Mosaic ES2 install directory]/samples/
Deploy the general sample applications
In the following directory, run Ant:
[Mosaic ES2 install directory]/samples/general/
Deploy the MAX2009 application
In the following directory, run Ant:
[Mosaic ES2 install directory]/samples/max2009/
I've set the ant_home enviromment variable but it still gives me the 'ant' is not recognized as an internal or external command,
operable program or batch file.
Thanks.Hodmi, i've done that but now i got this error:
C:\MOSAIC_HOME\samples>ant
Buildfile: build.xml
deploy:
deploy-catalogs:
[delete] Deleting: C:\MOSAIC_HOME\samples\general\sample_catalog.zip
[zip] Building zip: C:\MOSAIC_HOME\samples\general\sample_catalog.zip
[mosaic-catalog] Exception in thread "Thread-2" C:\MOSAIC_HOME\samples\general\b
uild.xml:21: Read failed: Server returned HTTP response code: 403 for URL: http:
//localhost:9080/mosaic/catalogs/sample_catalog
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-catalog] Caused by: java.io.IOException: Server returned HTTP response c
ode: 403 for URL: http://localhost:9080/mosaic/catalogs/sample_catalog
[mosaic-catalog] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-catalog] --- Nested Exception ---
[mosaic-catalog] java.io.IOException: Server returned HTTP response code: 403 fo
r URL: http://localhost:9080/mosaic/catalogs/sample_catalog
[mosaic-catalog] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
deploy-applications:
[mosaic-application] Exception in thread "Thread-4" C:\MOSAIC_HOME\samples\gener
al\build.xml:33: Read failed: Server returned HTTP response code: 403 for URL: h
ttp://localhost:9080/mosaic/applications/Basic
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/Basic
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/Basic
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
[mosaic-application] Exception in thread "Thread-6" C:\MOSAIC_HOME\samples\gener
al\build.xml:42: Read failed: Server returned HTTP response code: 403 for URL: h
ttp://localhost:9080/mosaic/applications/Brokerage
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/Brokerage
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/Brokerage
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
[mosaic-application] Exception in thread "Thread-8" C:\MOSAIC_HOME\samples\gener
al\build.xml:51: Read failed: Server returned HTTP response code: 403 for URL: h
ttp://localhost:9080/mosaic/applications/TileGame
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/TileGame
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/TileGame
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
[mosaic-application] Exception in thread "Thread-10" C:\MOSAIC_HOME\samples\gene
ral\build.xml:60: Read failed: Server returned HTTP response code: 403 for URL:
http://localhost:9080/mosaic/applications/Default
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/Default
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/Default
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
deploy:
deploy-catalogs:
[delete] Deleting: C:\MOSAIC_HOME\samples\max2009\max2009_catalog.zip
[zip] Building zip: C:\MOSAIC_HOME\samples\max2009\max2009_catalog.zip
[mosaic-catalog] Exception in thread "Thread-12" C:\MOSAIC_HOME\samples\max2009\
build.xml:21: Read failed: Server returned HTTP response code: 403 for URL: http
://localhost:9080/mosaic/catalogs/max2009_catalog
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-catalog] Caused by: java.io.IOException: Server returned HTTP response c
ode: 403 for URL: http://localhost:9080/mosaic/catalogs/max2009_catalog
[mosaic-catalog] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-catalog] --- Nested Exception ---
[mosaic-catalog] java.io.IOException: Server returned HTTP response code: 403 fo
r URL: http://localhost:9080/mosaic/catalogs/max2009_catalog
[mosaic-catalog] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-catalog] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] ${response}
deploy-applications:
[mosaic-application] Exception in thread "Thread-14" C:\MOSAIC_HOME\samples\max2
009\build.xml:33: Read failed: Server returned HTTP response code: 403 for URL:
http://localhost:9080/mosaic/applications/MAX2009
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/MAX2009
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/MAX2009
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] MAX2009 : ${response}
[mosaic-application] Exception in thread "Thread-16" C:\MOSAIC_HOME\samples\max2
009\build.xml:42: Read failed: Server returned HTTP response code: 403 for URL:
http://localhost:9080/mosaic/applications/RedMAX2009
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:413)
[mosaic-application] Caused by: java.io.IOException: Server returned HTTP respon
se code: 403 for URL: http://localhost:9080/mosaic/applications/RedMAX2009
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[mosaic-application] --- Nested Exception ---
[mosaic-application] java.io.IOException: Server returned HTTP response code: 40
3 for URL: http://localhost:9080/mosaic/applications/RedMAX2009
[mosaic-application] at sun.net.www.protocol.http.HttpURLConnection.getInputS
tream(HttpURLConnection.java:1313)
[mosaic-application] at com.adobe.mosaic.ant.MosaicTask$Reader.run(MosaicTask
.java:407)
[echo] RedMAX2009 : ${response}
deploy:
BUILD SUCCESSFUL
Total time: 7 seconds
C:\MOSAIC_HOME\samples>
I'm using websphere 6.1.0.2.
I've got the 403 server in websphere.
Is there any procedure or any example to workaround this problem in websphere?
Thanks -
Stange problem in deploying JSF application to weblogic 10
hi,OTN
I think this is the suitable forum for my problem,I had an ADF 10g application which I migrate to Jdeveloper 11g,I want to deploy it to A standalone weblogic server,so I made a Jar file for the model,Awar File for the viewController, and an ear file in the application Assembly of the ear File I check both the Archive and webapp,this is all the libraries which is selected for Deployment
JSF 1.2
JSTL 1.2
JSTL 1.2 Tags
BC4j Runtime
ADF Model Runtime
BC4J Tester
Oracle JDBC
BC4J Oracle Domains
MDS RunTime
MDS RunTime Dependencies
BC4J security
afc.jar
JSP RunTime
ADF Common RunTIme
ADF Faces Cache
ADF Controller RunTime
ADF Web RunTime
ADF Controller Schema
JPS Design Time
ADF Controller.jar
but when I Deploy the Ear File I got an exception
<Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'application20'
<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'Reg' at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
Truncated. see log file for complete stacktrace
>
there is a problem in the webapp for this class javax.faces.webapp.UIComponentTag ? How i can solve this?thanks for help,but I try and also got the same Error:
<10/10/2010 EET 08:50:26 ع> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\application3\c2qh5c\webapp30.war. Please make sure that the annotations are valid. The error is >
<10/10/2010 EET 08:50:27 ع> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286736611640' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Reg''
weblogic.application.ModuleException: Failed to load webapp: 'Reg'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
also, I did not succeed to run it from my Integrated weblogic server see this
Re: Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener
so I try to deploy it in a standalone weblogic but this different problem appear to me,I think all this problems because of migration ADF faces to Apache trinanad although I fixed all my code after migration and compile it without any problems.can I deploy my app to weblogic 10 from my Jdeveloper 10g without migrating my Application To Apache?
Edited by: Miar on Oct 10, 2010 12:12 PM -
Problem while deploying ADF application to standalone WLS server
Hi,
I am facing a problem while deploying ADF application to standalone WLS Server.
Following is the error message that I am getting.
[07:24:03 PM] ---- Deployment started. ----
[07:24:03 PM] Target platform is (Weblogic 10.3).
[07:24:07 PM] Retrieving existing application information
[07:24:08 PM] Running dependency analysis...
[07:24:08 PM] Building...
[07:24:13 PM] Deploying 2 profiles...
[07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
[07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
[07:24:14 PM] Deploying Application...
[07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
[07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
[07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
[07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
[07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
[07:24:27 PM] See server logs or server console for more details.
[07:24:27 PM] weblogic.application.ModuleException:
[07:24:27 PM] #### Deployment incomplete. ####
[07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
Thanks
AjayI logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
Also, please let me know how to configure the app to not to auto-deploy JDBC data sources -
Problem while deploying WD application thru SDM
Hi friends ,facing problem while deploying webdynpro application on SDM.It takes much time deployment but for the past 1 or 2 day its not working properly ..i..e error is coming while deploying WD application................................................"Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.."
If how know how to resolve this then waiting for ur response..
Thanx in advance
HanifHi Hanif,
The SDM password should be reset if it is not the same as mentioned in your Filesystem Secure Store or vice versa.
If you have changed your administrator password, kindly do change the same in secure store as well via the config tool.
Use the Config Tool to change the entry in secure storage as follows:
1. Start the Config Tool.
(Go to <drive>:\usr\sap\<SID>\<instance>\j2ee\configtool --> configtool.bat.)
2. Select the secure store node.
The configuration for the secure storage in the file system appears.
3. Select the admin/password/<SID> entry.
4. Enter the administrator user's new password in the "Value" field and choose "Add".
5. Choose "File" --> "Apply" to save the data.
Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
6. Finally restart SDM server.
Regards,
Anagha -
Help!A problem of deploying application to oc4j of oracle9ias!
I have used jdeveloper to create an application.It is a
simple servlet application to connect the database in
another host.It runs correctly.But now I want to deply it on the oracle9ias in the host in which the database reside.
I see the online help.It says that the next step is to
create a connection named connect1 and a deploy file which is deployed to this connection.This connection is ok.But when i select the option "deployed to connect1",
it shows the error like this:
Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
Invoking Oracle9iAS admin tool...
E:\Oradev\jdk\jre\bin\javaw.exe -jar E:\Oradev\j2ee\home\admin.jar ormi://server.oracle9i.com:3101/ admin **** -deploy -file E:\Oradev\jdev\mywork\test\test\test.ear -deploymentName test
Security error: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
Exit status of Oracle9iAS admin tool (-deploy): 1What type of Application Server connection did you choose ?
Following is the how-to document which might come handy.
http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
raghu
JDev Team -
Problem in Proxy call from an application deployed in J2EE engine
Hi,
I am trying Java Sender Proxy --> XI --> DB.
I have generated o/b proxies using integration builder.
<b>Following is the code that i am using for proxy call and it runs absolutely fine when runnning stand alone</b>
<code Controller.java>
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");
p.put(Context.PROVIDER_URL, "server:50004");
p.put(Context.SECURITY_PRINCIPAL, "Administrator");
p.put(Context.SECURITY_CREDENTIALS, "password");
ctx = new InitialContext(p);
ref = ctx.lookup("sap.com/ProxySenderEAR/UsersSyncMI_PortTypeBean");
queryOutHome = (UsersSyncMI_PortTypeHome) PortableRemoteObject.narrow(ref, UsersSyncMI_PortTypeHome.class);
queryOutRemote = queryOutHome.create();
UserDT_Type reqtype = new UserDT_Type();
reqtype.setUsername(name);
reqtype.setPassword(pwd);
UsersDBMTResponse_Type response = queryOutRemote.usersSyncMI(reqtype);
role = response.getRole();
</code>
I am including this java file(Controller.java) in the same EJB project ProxyEJB which includes
my beans and home/local/remote interfaces.
Then I have created a Web Module Project ProxyWeb, that includes Proxy.jsp.
In proxy.jsp i am using the following code
<%
Controller obj = new Controller();
String name = request.getParameter("uname");
String password = request.getParameter("pwd");
String role = obj.getRole(name,password);
%>
Then I have included both ProxyWeb and ProxyEJB in ProxyEAR file, created Enterprise Archive and Deployed in J2EE engine.
and when I call the jsp...i am not getting expected result.
When i am debugging the code using try catch blocks for the controller.java...I observed that
Problem occured at :
<code>
queryOutHome = (UsersSyncMI_PortTypeHome) PortableRemoteObject.narrow(ref, UsersSyncMI_PortTypeHome.class);
queryOutRemote = queryOutHome.create();
</code>
what i am not able to uderstand is that ...when it is working fine when calling from standalone ...then
why it's giving me problems when deployed in j2ee engine...
note: I am using all required jars for XI.(included in ProxyEJB).And I have used NetWeaver Developer Studio for the above EAR,WAR projects.
Kindly suggest,
Regards
VedavyasThe JNDI call is different when you call an EJB from inside the J2EE.
ctx = new InitialContext();
ref = ctx.lookup("java:comp/env/<JNDI-Name>");
Regards
Stefan
Maybe you are looking for
-
2010 mac mini - monitor goes dark every few sec's problems since Mavericks Install
My Wife updated her 2010 Mac mini from Mountain Lion to Mavericks and ever since, after start, up the display intermittently flashes a dark screen, every few seconds. (within 3-10 seconds or so, there will be another period of dark screen, that may
-
Named Destinations not Working in PDF
We have book files that contain several chapters and a glossary. We created numerous named destinations (specify named destination/jump to named destination) throughout the FM files. If we check the links in the FM files, they work fine (i.e. the lin
-
When-button-pressed---adding a "select statement"
Hi friends, i have a select statement: select count(*) from employees where emp_no=:control.emp_no; i would like that when i press a button, count for instance, i get the number of employees. I need the codes used in oracle in the when-button-pressed
-
Why does system go comatose?
My system (OSX 10.6.7) three times went into a comatose state. The only thing working was the mouse moving the cursor. After the first two times, the system restored itself, only to become comatose after five minutes. After the third time, I manual
-
Dear All I want to know how BW Report can be shown through CRM 2007 ui.? Is it shown as a work center or a work group which gets added to a navigation bar profile? or something else. A detailed explanation with some config info will be appreciated.