Problems in deploying in Forte to RI and DB2
Hi,
I have created database in DB2 7.1. Its usuing the JDBC 2.0 drivers.
I am accessing the database from a different machine, thus am using the net driver.
I can see the database and get the schema I want. All is ok until deployment:
Sender object Deploy Tool : Deploy Account_TestApp on localhost
Remote message: Contacted Server....
....<snip>....
Remote message: Making server JARs ....
Sender object Deploytool (Main) : RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Error while loading JAR C:\Dev\forte4j\j2sdkee1.3\repository\wintermute\applications\Account_TestApp1021220065366Server.jar; nested exception is:
javax.ejb.EJBException: Unable to get JDBC DataSource for CMP EntityBean state
I am lost here. I have copied the db2java.zip file to my client machine (with Forte) and that didnt help. So I made a jar of the uncompressed DB2 folders in sqllib/java (the one where you can find the DB2DataSource class) and copied that to the client machine too. Also no go.
I bound a JNDI name with the RI using the j2eeadmin tool, using the DB2DataSource class, but that didnt help.
What am I doing wrong? PS, the RI is on the same machine as Forte (and thus my client).
Many thanks,
Kenny
Dont worry!
After a weekend of searching through every DB2 site and tut known to man, I have discovered my problems.
Cant use this setup with JDBC 2.0, so reverted to 1.1 drivers. Wish I knew why.
DB2 for all its hype is a pain to use. Its hard to get running and the docs are crap - SQL Server is looking very good lately. Oracle also.
Kenny
Similar Messages
-
Problem With Deploying a very simple Servlet
HELP REQUIRED:
Hi,
I'm including code of a very simple Servlet application (I shd not call it an application):
index.html
==========
<html><body bgcolor="#FFFFFF">
<head>
<title> Rajeev Asthana </title>
<form action = "/HelloWorldApp/HelloWorld" method = "POST" >
Please press Submit
<input type = "submit" value = "Press Me!">
</form>
</body></html>
HelloWorld.java
===============
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet {
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html><body bgcolor=\"#FFFFFF\">");
out.println("<p>Hello World!</p>");
out.println("</body></html>");
out.close();
web.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>HelloWorldApp</display-name>
<servlet>
<display-name>HelloWorld</display-name>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>
</web-app>
sun-web.xml
===========
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
<sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
<context-root>/HelloWorldApp</context-root>
<session-config>
<session-manager persistence-type="memory">
<manager-properties/>
<store-properties/>
</session-manager>
<session-properties/>
<cookie-properties/>
</session-config>
<cache enabled="false" max-entries="4096" timeout-in-seconds="30">
<default-helper/>
</cache>
<class-loader delegate="true"/>
<jsp-config/>
</sun-web-app>
I have deployed it in following directory structure:
C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\HelloWorldApp\
|
|
| | | |
| | | |
META-INF WEB-INF HelloWorld.java index.html
|
|
| | | |
| | | |
classes sun-web.xml web.xml sun-j2ee-ri-project
|
|
HelloWorld.class
While generating HelloWorldApp.war (which is the war file for this app), I specifies /HelloWorldApp as context root (sun specific).
Now, when I deployed it thru Admin Tool and then clicked on "Launch", it displays a page with :
Please press Submit Press Me!
But when I click the button "Press Me!", it says:
"The requested resource (/HelloWorldApp/HelloWorld) is not available."
What should I do to correct the problem?
Thanks in advance.
Yes, you need to add a servlet -mapping element and adjust your form to submit to the appropriate URL mapping.
<servlet-mapping>
<servlet-name>HelloWorldServlet</servlet-name>
<url-pattern>/servlet/Hello</url-pattern>
</servlet-mapping> -
Problems about deploying Oracle web application (Forms, Reports)
I am going to deploy Oracle web applications (Forms and Reports) and plan to use the same server machine for both Application web server and Database server.
1. How can I enable SSL (for data encryption) on Application web server for Oracle Forms ?
2. Since both Application web server and Database server will use the same machine, do I still need Oracle Advanced Security for data transmission between Application web server and Database server if data encryption for transmission is required ?
3. Can I user Oracle Forms to call Oracle Report on web as I did in Client/Server in the past ?
Experts like you may have come across such problems. Would you please give me some opinions/ideas ?
Regards,
Richard1. check the paper about the Forms servlet architecture on otn forms section for SSL tips.
3. Check the reports and forms integration paper on otn too. -
JRE7Update25 Deployment Properties File Not Working And Cant Disable Next Gen Plugin
Good Day
Our organisation needs to deploy JRE7U25 to over 4000 workstations. Our desktops are running the following Windows and IE combinations:
WinXP 32 Bit/IE7
WinXP 32 Bit/IE8
Win7 32 Bit/IE8
Win7 32 Bit/IE9
Win7 64 Bit/IE8
Win7 64 Bit/IE8
We use the 32bit JRE installer across all environments and all IE browsers use 32Bit IE. On all of our environments the Deployment.properties and config files no longer work due to what appears to be a bug in the JRE7U25 installer. Our deployment files are as follows:
Deployment.config
deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=true
Deployment.properties
deployment.security.level=MEDIUM
deployment.security.level.locked=
deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked=
deployment.security.mixcode=HIDE_RUN
deployment.security.mixcode.locked=
deployment.console.startup.mode=HIDE
deployment.console.startup.mode.locked=
Both files are being copied to the following location:
C:\Windows\Sun\Java\Deployment
After the installer runs and deployment files are copied to the workstation the deployment.properties and config files look like this:
Deployment.config
deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=true
Deployment.properties
#System Deployment Properties
#Mon Jul 01 12:29:20 CAT 2013
deployment.security.level=MEDIUM
I have tried changing the deployment.config file as follows in an attempt to fix this to no avail:
1. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=true
2. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=false
3. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=true
4. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=false
5. deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
None of the above mentioned works. So all our required settings in the deployment.properties file are being overwritten when opening the Java console? Our other major problem is that Changing the registry key to 0 in order to disable the next generation plugin does not disable the next generation plugin in Jre at the usual location as it worked for us machine wide (across multiple profiles for JRE6U29):
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\10.25.2]
"UseNewJavaPlugin"=dword:00000000
^^I have observed on a fresh install of JRE7U25 that the above mentioned registry key no longer exists in this version so a computer wide disablement of this option is no longer possible via the registry.
On our 32Bit and 64bit machines running the 32 bit JRE 7U25 client when we disable the next generation plugin it keeps enabling itself again. Even when we run the javacpl.exe to run as administrator by changing the compatibility settings and disabling the next generation plugin it enables itself again. This is a huge problem for us because our company Oracle web based applications need this plugin to be disabled in order to run the apps properly.
These are major obstacles for our deployment as we desperately require assistance or any advice in addressing these issues as there appear to be numerous bugs with the JRE7U25 release. Thank you in advance.
Update 7 July 2013:
I have observed that if you have the following options in your Deployment.config file it doesn't allow our java webstart apps which use jnlp extensions to run.
1. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=true
2. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=false
3. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=true
4. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=false
The jnlp file association is also broken on Windows XP workstations with JRE7U25. We are having to manually associate the .jnlp file extension with javaws.exe on workstation for Web start apps or else users cannot lauch JRE whn clicking on .jnlp links.
The only Deployment.config syntax which allows our Webstart applications to run is as follows:
deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
What a mess!I don't have an answer to the problem, but I am having problems with the system level deployment.properties file and IE9 on Windows 7 32/64bit.
Starting with version 13, the IE plugin seems to igonore the system level deployment.properties file in favor of the user level deployment.properties file. When I open the Java Control Panel, the settings are correct per the system deployment.properties file. Currently to get the Java Plugin to work reliably in IE9 I have to set the following:
_JAVA_OPTIONS = -Djava.net.preferIPv4Stack=true
Disable caching
Set the proxy to Direct Connection.
If I set the _JAVA_OPTIONS as an environment variable and the other two in the system deployment.properties file, Firefox works fine, but IE wont load either of the Java tests. If I removed the system deployment.properties files and configure the user deployment.properties file, both IE and Firefox work fine.
I find it interesting that if I set the configuration through the control panel, then apply the system deployment.propteries file, the user deployment.properties file reverts to defaults when the system file is removed. -
Problem during deploying bw iview from visual composer module on Portal.
Hi all,
we are working on Portal 6.0 sp 11 and using VC 6.0 sp 4 for developinrg R3 and Bw iviews on Visual composer. There is no problem in deploying the r3 iviews on the portal but in case of BW (3.0 and 3.5 ) iviews while deploying it to portal gives the following
Error in executing a process for compilation, .\GUIMachine_Business_Packages\TESTRED_24360\com.autogen.guimachine_1104120045\src.core\Iviewred_ctl.java:46: cannot resolve symbol
symbol : constructor BIOlapFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iviewred_ctl,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
location: class com.sap.portal.guimachine.bikit.runtime.BIOlapFunction
BIOlapFunction BIO1OZ = new BIOlapFunction ("BIO1OZ", this, profile.getProperty("System1"), "BIO_DEFAULT", "<Objects id=\"\" type=\"TEMPLATE_METADATA\"><Object id=\"0\" type=\"SCHEMA\" name=\"$INFOCUBE\"/><Object id=\"0\" type=\"CUBE\" name=\"$EMP_CUBE\"/><Object id=\"1\" type=\"MEASURE_DIMENSION\" name=\"Key Figures\" uniquename=\"[Measures]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_PARAMETER\"><Object id=\"CUBE\" type=\"TEMPLATE_PARAMETER\" text=\"$EMP_CUBE\" value=\"$EMP_CUBE\" techname=\"null\" uniquename=\"null\"/><Object id=\"MEASURES\" type=\"TEMPLATE_PARAMETER\" text=\"[Measures].[SALARY]\" value=\"[Measures].[SALARY]\" techname=\"null\" uniquename=\"null\"/></Objects><Objects id=\"\" type=\"TEMPLATE_FILTER\"/>",2,500,"KEY");
^
1 error
can any one help us .
Thanking in advance.
Rajendra RedekarWe are having a similar issue. We have been able to deploy non-BI content on our setup. There seems to be a problem with the BI plugin piece.
Sequence:
1) Confirmation: PAR name may exceed OS limits. To avoid errors PAR was automatically renamed to: com.autogen.guimachine_0509145218.par
2)Error in executing a process for compilation, .\GUIMachine_Business_Packages\bw_query_wizard_model_53826\com.autogen.guimachine_0509145218\src.core\Iview_7k_ctl.java:46: cannot resolve symbol
symbol : constructor BIOlapFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iview_7k_ctl,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
location: class com.sap.portal.guimachine.bikit.runtime.BIOlapFunction
BIOlapFunction BIO94 = new BIOlapFunction ("BIO94",
this, profile.getProperty("System1"), "RANKING_TOPN", "<Objects id=\"\" type=\"TEMPLATE_METADATA\"><Object id=\"0\" type=\"SCHEMA\" name=\"CO_C01\"/><Object id=\"0\" type=\"CUBE\" name=\"CO_C01/ZSEM_CO_C01_Q001\"/><Object id=\"1\" type=\"MEASURE_DIMENSION\" name=\"Key Figures\" uniquename=\"[Measures]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_PARAMETER\"><Object id=\"TOPENABLED\" type=\"TEMPLATE_PARAMETER\" text=\"true\" value=\"true\" techname=\"null\" uniquename=\"null\"/><Object id=\"TOPRANKTYPE\" type=\"TEMPLATE_PARAMETER\" text=\"Count\" value=\"Count\" techname=\"null\" uniquename=\"null\"/><Object id=\"TOPVALUE\" type=\"TEMPLATE_PARAMETER\" text=\"5\" value=\"5\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMENABLED\" type=\"TEMPLATE_PARAMETER\" text=\"false\" value=\"false\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMRANKTYPE\" type=\"TEMPLATE_PARAMETER\" text=\"Percent\" value=\"Percent\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMVALUE\" type=\"TEMPLATE_PARAMETER\" text=\"5\" value=\"5\" techname=\"null\" uniquename=\"null\"/><Object id=\"MEASURE\" type=\"TEMPLATE_PARAMETER\" text=\"Tons Billed\" value=\"[Measures].[3VK0EY29VB8ZFHGIZ6JT89G4R]\" techname=\"3VK0EY29VB8ZFHGIZ6JT89G4R\" uniquename=\"[Measures].[3VK0EY29VB8ZFHGIZ6JT89G4R]\"/><Object id=\"DIMENSION\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight\" value=\"[0MATERIAL__SLSBASWT]\" techname=\"0MATERIAL__SLSBASWT\" uniquename=\"[0MATERIAL__SLSBASWT]\"/><Object id=\"HIERARCHY\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight\" value=\"[0MATERIAL__SLSBASWT]\" techname=\"0MATERIAL__SLSBASWT\" uniquename=\"[0MATERIAL__SLSBASWT]\"/><Object id=\"LEVEL\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight Level 01\" value=\"[0MATERIAL__SLSBASWT].[LEVEL01]\" techname=\"LEVEL01\" uniquename=\"[0MATERIAL__SLSBASWT].[LEVEL01]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_FILTER\"/>",2,500,"KEY");
1 error
It points specifically to "BIO94" in this line:
BIOlapFunction BIO94 = new BIOlapFunction ("BIO94"...
Any help is welcome.
Message was edited by: Jeff Tawater -
Problem while deploying a stateless Session bean
hi,
I am a beginner in J2EE. Please help..
I have encountered an error while i am deploying a session bean in IBM Webspere App Servere
the eroor is
D:\Program Files\WebSphere\AppServer\deploytool\itp>ejbdeploy.bat c:\account\dep
loy\account.jar c:\account\deploy c:\account\deploy\account-ejb.jar
Starting workbench.
Creating the project.
Validating
Generating deployment code
Refreshing: /account.jar/ejbModule.
Building: /account.jar.
Invoking RMIC.
error: Invalid class file format in C:\account\deploy\account.jar(com/fl/ac/Acco
unt.class). The major.minor version '49.0' is too recent for this tool to under
stand.
error: Class com.fl.ac.Account not found in class com.fl.ac.EJSRemoteStatelessAc
countEJB_ca490e54.
error: Invalid class file format in C:\account\deploy\account.jar(com/fl/ac/Acco
untHome.class). The major.minor version '49.0' is too recent for this tool to u
nderstand.
error: Class com.fl.ac.AccountHome not found in class com.fl.ac.EJSRemoteStatele
ssAccountEJBHome_ca490e54.
4 errors
[*Error] An unexpected exception was thrown. Halting execution.
Shutting down workbench.
Error generating RMI code: RMIC Command returns RC = 1. The problems which stopp
ed RMIC are displayed, and have also been recorded in the .log file in c:\accoun
t\deploy\account-ejb._\.metadata.
RMIC command was:
-extdirs D:\Program Files\WebSphere\AppServer\java\jre\lib\core.jar;D:\Program F
iles\WebSphere\AppServer\java\jre\lib\graphics.jar;D:\Program Files\WebSphere\Ap
pServer\java\jre\lib\security.jar;D:\Program Files\WebSphere\AppServer\java\jre\
lib\server.jar;D:\Program Files\WebSphere\AppServer\java\jre\lib\xml.jar;D:\Prog
ram Files\WebSphere\AppServer\java\jre\lib\charsets.jar;D:\Program Files\WebSphe
re\AppServer\java\jre\lib\ext;D:\Program Files\WebSphere\AppServer\java\lib;D:\P
rogram Files\WebSphere\AppServer\classes;D:\Program Files\WebSphere\AppServer\li
b;D:\Program Files\WebSphere\AppServer\lib\ext;D:\Program Files\WebSphere\AppSer
ver\web\help;D:\Program Files\WebSphere\AppServer\deploytool\itp\plugins\com.ibm
.etools.ejbdeploy\runtime;D:\Program Files\ibm\WebSphere MQ\Java\lib; -classpath
c:\account\deploy\account-ejb._\account.jar\ejbModule;C:\account\deploy\account
.jar -iiop -always -keep -d c:\account\deploy\account-ejb._\account.jar\ejbModul
e -sourcepath c:\account\deploy\account-ejb._\account.jar\ejbModule com.fl.ac.EJ
SRemoteStatelessAccountEJBHome_ca490e54 com.fl.ac.EJSRemoteStatelessAccountEJB_c
a490e54
BEAN SOURCE CODE IS
------------------Remote Interface -------------------------------
package com.fl.ac;
import java.rmi.*;
import javax.ejb.*;
public interface Account extends EJBObject {
public double withdraw(double balance,double amount) throws RemoteException;
public double deposite(double balance,double amount) throws RemoteException;
------------------------ Home Interface -----------------------------------
package com.fl.ac;
import java.rmi.*;
import javax.ejb.*;
public interface AccountHome extends EJBHome {
public Account create() throws CreateException,RemoteException;
------------------------- Bean Class -----------------------------------------------
package com.fl.ac;
import java.rmi.*;
import javax.ejb.*;
public class AccountEJB implements SessionBean {
public void setSessionContext(SessionContext ctx) { }
public void unsetSessionContext() { }
public void ejbCreate() { }
public void ejbActivate() { }
public void ejbPassivate() { }
public void ejbRemove() { }
public double withdraw(double balance,double amount){
return (balance - amount);
public double deposite(double balance,double amount){
return (balance+amount);
------------------------------ ejb-jar.xml --------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="ejb-jar_ID">
<display-name>Account EJB</display-name>
<enterprise-beans>
<session>
<ejb-name>AccountEJB</ejb-name>
<home>com.fl.ac.AccountHome</home>
<remote>com.fl.ac.Account</remote>
<ejb-class>com.fl.ac.AccountEJB</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
PLZ HELP ME......
francisHi Gauarv,
Did you not see my reply in the following post?
Re: 502 service temporarily unavailable
If I'm not mistaken, this is exactly the same question as you asked
there.
By the way, is there some reason you are still using OC4J version
1.0.2.2? Is there something stopping you from upgrading to the later
versions (9.0.2 and 9.0.3)?
Good Luck,
Avi. -
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 new logon screen par file via NWDS
hi
i have a problem with deploying .par files out of the NWDS.
i want to change the look of the logon screen in our EP Portal (SAP NetWeaver 2004s).
when i just import the (working one) par file into NWDS and deploy it without ANY changes i get then an error when trying to call the portal:
instead of the logonscreen i get some IView error (like IView: N/A).
if i just copy the par file, and put it back to the pcd, everything works fine.
my problem seems to be the "compiling/deploying" via NWDS.
any suggestions?
i followed the guide:
http://help.sap.com/saphelp_nw04/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm
i followed also the BLOG:
Modifying The Logon Par(or customising the Logon Screen)
and the help:
http://help.sap.com/saphelp_nw04/helpdata/en/23/c0e240beb0702ae10000000a155106/content.htm
thanks for your help.
markusMarkus,
If you import the par file using NWDS, most likely you wouldn't import the associated jar files (I think 2 jars) that are originally part of the par file. So, when you make changes and update your custom jar, it would lack the two jars and your application would fail. Try downloading the par file using System Administration -> Support -> PCD Administration -> Browse Deployment..
Save the jar file on desktop and then import it to NWDS.
Hope this helps,
Kiran -
Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J
hi everybody
I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
Thanks In Advance
Rohit TiwaryHi Rohit,
You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
HTH.
Regards,
Arun -
Problem in deploy a entitiy bean in WAS5.0 (URGENT)
ANYONE Pl Give u r suggestions
I am trying to deploy a entitiy bean in WebSphere Application Version 5. I have followed all the steps provided by the User Interface. I am connecting to Oracle 9i driver. I am trying to validate and install the ear. the validation and installation are happenning properly. but when I try to start the services, it is failing to start with the following exception:
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Failed to lookup the object configured with a null or empty name
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:92)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:135)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1227)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanClassExtensionImpl.lookup(ConcreteBeanClassExtensionImpl.java:727)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanClassExtensionImpl.getConnectionFactory(ConcreteBeanClassExtensionImpl.java:260)
at com.ibm.ws.ejbpersistence.beanextensions.PMModuleCookieImpl.beanInstall(PMModuleCookieImpl.java:98)
at com.ibm.ws.ejbpersistence.beanextensions.PersistenceManagerImpl.beanInstall(PersistenceManagerImpl.java:69)
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1293)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:958)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:881)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:860)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1249)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:982)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1456)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:743)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:337)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:458)
at java.lang.reflect.Method.invoke(Native Method)
at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:655)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:137)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:239)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)hello there
when u are deploying ur component there will be a screen that will show components present in ur jar/ear and will ask for JNDI name.U will have to fill the JNDI name manually and deploy the bean..
If even after that u are facing the same problem, use AAT(Application Assembly Tool) to create ur jar / ear ... there is a seperate link for giving JNDI names (namely JNDI Bindings) .use this tab to specify ur JNDI name and create the jar/ear.deploy as such in WAS and i am sure the error will not occur
Ganesh V -
Problems with deployment in 6.1 on tru64
Hi,
We are having problems with deployment of web applications in 6.1. We are running
cluster ( 2 managed servers ) .The problem is that every time we restart the admin
and managed servers, none of our application gets loaded and deployed. In the
console, application looks ok i.e. targtes are listed and application is deployed
but actually the application is not loaded and does not work. If I go and deploy/redploy
the app , it works fine but again after every restart of the servers, application
does not get loaded.
Any idea. Your help is greatly appreciated.
Thanks,
Manoj
Kumar,
I do not see applicaitons being loaded and deployed at the time of server startup.
In config.xml everything looks ok.
Manoj
Kumar Allamraju <[email protected]> wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Whenever an application is deployed you should see the
><br>following message in the server console or in the weblogic.log
><p><Mar 19, 2002 11:49:52 AM PST> <Info> <J2EE> <Deployed
>:
>certificate>
><p>Do you see such messages or not?
><p>Manoj wrote:
><blockquote TYPE=CITE>Hi,
><br>We are having problems with deployment of web applications in 6.1.
>We are running
><br>cluster ( 2 managed servers ) .The problem is that every time we
>restart
>the admin
><br>and managed servers, none of our application gets loaded and deployed.
>In the
><br>console, application looks ok i.e. targtes are listed and application
>is deployed
><br>but actually the application is not loaded and does not work. If
>I
>go and deploy/redploy
><br>the app , it works fine but again after every restart of the servers,
>application
><br>does not get loaded.
><br>Any idea. Your help is greatly appreciated.
><br>Thanks,
><br>Manoj</blockquote>
></html>
>
-
Problem while deploying an ear
Hi,
i have a problem in deploying an ear which contains an ejb and with a web service which is already deployed in another ear.The error is
"Web service already exsits in the http service provider for that ear".
Now i need a solution for this problem .I need to deploy that ear with out deleting that web service in the previous ear.Please send me the related links and information and the way of doing it.Hi Bhogi,
Refer this link for deploying the ear files.<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/7d/dd813e77d46245e10000000a114084/frameset.htm">EJB Components ear deployment</a>
Go to the EJB Components in the left hand side once u r into the link.
Regards,
Nagarajan. -
Problem while deploying entity beans
Hi,
We are using JDeveloper 3.2.2 (NT) and 8.1.7 (NT) to deploy EJB's.
Now we are trying to deploy the entity bean to Oracle JVM. We are facing the following problem while deploying an entity bean .
"Persistence provider declared in the deployment descriptor is not supported
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***"
We would appreciate if anyone could help us to solve this error.
nullHi,
The error was coming because of the table structure. All the columns were composite keys. I alter the structured by removing composite keys and added a new column as primary key. Now it is getting deployed successfully.
Can anybody comment on such a behaviour of OC4J?
Regards,
Jinal Shah -
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 -
Re: (forte-users) SAXParser and InputSource
Michael Beaulieu wrote on Mon November 8:
Hello,
I was wondering if anyone has any experience using the XMLParser
Library!? in Forte. I have no problem parsing a file using the
forte parser but when I try to parse a message/TextData object I get
the error " element not found " ( which is not due to my xml file )
The class InputSource has a method that takes SeekStream in its
setCharacterStream method:
str : MemoryStream = new();
str.open(SP_AM_READ_WRITE);
str.WriteText(myMessage);
theSource : InputSource = new();
theSource.setCharacterStream(str);
myParser.parse(theSource);Add this line after you're done writing to the MemoryStream:
str.Seek(position=0);
When the SAX parser is reading, it's reading from the current position
forward; after writing to the stream the current position is at the
end, so you have to rewind it to the beginning before giving it to the
SAX parser.
Cliff Draper
Forte Engineering
Forte Software, a subsidiary of SunWhy not this:
while myText.moveToString(' ') do
myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
end while;
or if you prefer verbosity:
while myText.moveToString(source=' ') do
myText.ReplaceRange(source='-', startOffset=myText.Offset,
endOffset=myText.Offset+1);
end while;
-----Original Message-----
From: FatchJeBAM.com [mailto:FatchJeBAM.com]
Sent: Wednesday, January 12, 2000 2:51 PM
To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
Subject: RE: (forte-users) search and replace within a TextData
How about this?? May have to play with start/end on ReplaceRange as I
didn't really test this
Anybody got a better way??
-- replace space with underscore
For x in 1 to myTextdata.LengthToEnd() do
If myTextData.IsSpace() then
MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
endoffset=myTextdata.offset+1);
End if;
MyTextdata.MoveNext;
End for;
Jerry Fatcheric
-----Original Message-----
From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
Sent: Wednesday, January 12, 2000 9:40 AM
To: kamranaminyahoo.com
Subject: (forte-users) search and replace within a
TextData
Hello all,
I need to search within a textdata object, replacing all
occurrances of a
space
with another character. Can you give a quick code example
of how I would do
this?
Thanks in advance,
Troy
Troy Burns
Marriott Vacation Club Intl.
E-mail: troy.burnsvacationclub.com
Phone: (941) 688-7700 ext. 4408
For the archives, go to: http://lists.sageit.com/forte-users
and use
the login: forte and the password: archive. To unsubscribe,
send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.sageit.com
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com
Maybe you are looking for
-
Additional Line Carriage in Text File
Hi All, I have a requirement to place a additional line carriage at the ending of each line, and I have to place a character of small square box. I am using the FM GUI_DOWNLOAD to download into the text file. My internal table for downloading to text
-
hi , Can anyone tell me how can u do reconcillation by lookups thru ODS , Step by step procedure is appreciated .. regards
-
Can anyone explain me how to scale the image in canvas in flash builder 4.6
Can anyone explain me how to scale the image in canvas in flash builder 4.6, Scaling of image in component , can i get some examples .. it should set almost all size screen
-
How can i put my sim card to my HP touchpad!?
there is no sim slot in touchpad this is a old model only wifi wifi !!!!!!!!!!!!! i would like if have one sim slot [edited by moderator on 8-10-14]
-
Error 100a --- if this issue continues, please contact HP Support
Hi, got HP DV6-1103AX and did a clean form yesterday. The whole recorvery process had no option to create a new partition besides factory partition - one huge 221GB (system boot etc) and one Recovery Partition. Tried on windows disk management and it