Run BC4J application with Oracle10g
Hi all,
I have a BC4J application running in 9iAs and I want to migrate it to 10g.
I installed the application server and did the deploy of the application.
The pages that not use BC4J process well but the others do the browser time out.
Somebody help me!!!
Hello,
I have the same problem and I don't know kow to resolve.
Clemas.
Similar Messages
-
How to run others applications with abap commands
Is there a mothed that can use it to run an application with abap statement?
for example: how to open a text file in program with abap command?
thank you very much.CALL FUNCTION '<b>WS_EXECUTE'</b>
EXPORTING
DOCUMENT = ' '
CD = ' '
<b>COMMANDLINE</b> = ''
INFORM = ' '
<b> PROGRAM </b> = 'NOTEPAD'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here...
In the <b>CommandLine</b> you can give the path where the file is located like for Example
C:\Test\Hello.txt.
In the <b>Program</b> you need to give the application that you want to open that file.
if helpful reward points...
Regards,
Vivekananda Varma Dandu -
Revision: 12869
Revision: 12869
Author: [email protected]
Date: 2009-12-11 14:50:26 -0800 (Fri, 11 Dec 2009)
Log Message:
Fix FB-24801: Unable to run an application with AIR 3.4 sdk
Ticket Links:
http://bugs.adobe.com/jira/browse/FB-24801
Modified Paths:
flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.javaI've fixed the problem!
I think the problem was in the way I was linking to the libraries. I ended up deleting all my hand made ANT settings and instead exporting the settings from my Flash Builder project, and just using those.
Full details in this article here, it saved my life: http://helpx.adobe.com/x-productkb/multi/compilation-results-flex-builder-flex.html -
To run webutil application with jre
Hi All,
I have successfully configure webutil on both DS and AS. In my application server when i try to run my form only the project name [webutil] runs with jinitiator but with the others with different name which include jre not working the webutil part in the formweb.cfg file. I used the [webutil] configuration as follows-
[webutil]
workingDirectory=/home/oracle/support/aiblss_forms
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=server
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=basejpi.htm
baseHTMLjinitiator=webutiljini.htm
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
#archive_jini=frmall_jinit.jar
lookAndFeel=oracle
form=LOGON_FORM.fmx
width=100%
height=100%
jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93what i need to change or add to run my application with jre and webutil?
Regards
ArifHi,
I have used the following conf in formsweb.cfg file but not works properly. I m getting the error of loading webutil settings.
[sunwebutil]
IE=native
baseHTMLJInitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
jpi_codebase=http://57.200.1.63:52003/forms/jinitiator/jre16016.exe#Version=1,6,0,16
jpi_mimetype=application/x-java-applet;version=1.6
jpi_download_page=/forms/jinitiator/us/jinit_download.htm
#jpi_download_page=https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProduct
#Detail-Start?ProductRef=jre-1.5.0_06-oth-JPR@CDS-CDS_Developer
# Webutil:
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
# archive including rich text editor
archive=frmall.jar,hst65.jar,HTMLEditorLight.jar
# application-specific
#workingDirectory=/home/oracle/support/aiblss_forms
#otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%q
#uiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log%
form=LOGON_FORM.fmx
#term=/software/dutrf65w.res
#envFile=/software/ontw/<application>/<application>.env
height=100%
width=100%
record=forms
#tracegroup=33,35,39,45,64-69,98,101
separateFrame=true
splashScreen=no
lookAndFeel=Generic
colorScheme=blaf
background=NO
pageTitle=Welcome to AIBL Online Support System
# to find *.gif files in jars
imageBase=codebase
what to change more. please specify.
Arif -
Have the BC4J application with BPEL sample ?
Hi all:
have anybody know or have the example that about how to using BPEL as a application integrator(EAI) in some BC4J applications ?
In our project have some BC4J/Struts application, we prepare adopt BPEL as these application integrator, so we need example or guideline about how to approach it. I don't sure BPEL as a EAI solution with BC4J application whether is feasible? and how to approach it.We have developed a couple of examples in the last 7 weeks around integrating ADF and BPEL.
The first one shows how to implement a BPEL process and then us the WSDL interface of the BPEL process in ADF/Struts to create a control and initiate it (also showcasing the data binding capabilities of ADF).
Is that the type of uses cases you are looking at implementing?
Edwin -
Error while running webdynpro application with an Interactive form
Hi all,
I am getting the following defect when I run a adobe interactive form (webdynpro application). Any pointers?
Regards,
Deepak
500 Internal Server Error
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
... 47 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)
Version null
DOM version null
Client Type msie7
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Wed Oct 10 10:17:00 EDT 2007
J2EE Engine 7.00 patchlevel 109044.44
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Thu Oct 18 17:39:22 EDT 2007 (Java Time: 1192743562661)
Web Dynpro Code Generation Infos
local/NIBCOSecurityFormWD
SapDictionaryGenerationCore 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:26:06[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:13:54[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:11[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:42[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:35[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:23:29[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:28:49[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
SapWebDynproGenerationCore 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:21[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:100)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:123)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:340)
... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3948)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
... 35 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 37 moreHi Deepak,
If you have solved the issue could you kindly close the thread with the solution as this will help others as well. If not kindly update the thread with the status. -
Unable to run Flex application with IIS
Hi,
I'm new to flex 3 application. I created a simple application
using wizard from Flex IDE, but this application run well under
ASP.net server but failed under IIS.
Below is how i created the application
1. I created a flex project running on APS.net default server
(cassini).
2. I created an application from database by clicking on Data
-> Create application from database
This application is running fine. However, if i followed the
same step, but used IIS instead of ASP.net default server, the
application failed.
Below are error codes:
faultcode: server.error.request.
faultstring: HTTP request error
faultdetail: Unable to load WSDL. if currently online, please
verify the URI and or format of the WSDL
Appreciate if anyone can help me on that. Thanks in advanceLooks like a domain or path problem.
Try using httpService to get data -
What am I doing wrong when running multiple applications with the Web Server enabled ?
I am running multiple Vi's (applications) on the same Nt Workstation and the Web Server is enable for all applications. However, I am able to view only one Panel from the browser. Only the first application that is started can be viewed. What am I doing wrong ?
Only one application can act as a web server at the default http port 80.
To solve this either run all VIs into a single application or use different
http ports for each application. For example an application can use the
default port 80 and others use ports 8080, 8081, 8082 etc.
In the browser, you enter the URL for non default ports as
http://hostname:8080/...
HTH
Jean-Pierre Drolet
"zemaitis" a ecrit dans le message news:
[email protected]..
> I am running multiple Vi's (applications) on the same Nt Workstation
> and the Web Server is enable for all applications. However, I am able
> to view only one Panel from the browser. Only the first application
> that is started can be viewed. What am I doing
wrong ?
LabVIEW, C'est LabVIEW -
Hi,
I want to display my BSP application in different IE9 windows each one with a different log account.
Who can I do it?
RegardsHello,
As far as I know, only IE8 and IE9 share the same session if you open 2 different windows.
And both versions of the browser have the "new session" functionality.
So if you are using IE7, opening a new window should open the BSP in a new session already.
However, you can try with URL parameter sap-sessioncmd=open as you mentionned, maybe this would work.
Hope it helps,
Tanguy -
Help running an application with java
public void actionPerformed(ActionEvent event)
if (event.getActionCommand().equals("Application"))
getContentPane().runApplication(Application);
}What would replace "runApplication(Application)"?
Thanks.What on earth are you trying to do with that code?
Do you just want to execute an external application via java, such as with the Runtime.exec() method?
try {
Runtime.getRuntime().exec(...);
} catch ( ... )Something similar to that? -
Problems with Running the application with adobe interactive form
Hi,
I am pasting the error below. Can you tell me whats happening?
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
Request start time: Wed Sep 14 13:11:22 CEST 2005
com.adobe.ProcessingError: File not found error writing stream:
<Render><Template><Name> "http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true :
java.io.FileNotFoundException: IO error detected while retrieving input stream for: http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true :
java.io.IOException: Server returned HTTP response code: 500 for URL: http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true
Thanks,
Tarun.did you set the build.properties settings properly ?
-
Error when running PDA application with emulator
Hi,
I receive my LabVIEW PDA Module yesterday and I tried to realise the Tutorial. I don't have any problem to make it work on the PDA but I always have a error message when I want to use an emulator (see the attached file for the message).
One more information, the driver requires according to the message is installed.
Thank you.
Attachments:
NI_LABVIEW8.20.jpg 86 KBHi Roberto,
I saw this message when I first used the PDA emulator but installing VPC resolved it. Are you able to launch the emulator outside of the LabVIEW context? The emulator manager should be at this location: C:\Program Files\Microsoft Device Emulator\1.0\dvcemumanager.exe . You can use the emulator manager to launch specific emulators by right-clicking on them and selecting "Connect".
Also, have you attempted to uninstall and reinstall VPC? You should be able to remove it from the Add/Remove Programs dialog. You can then download a fresh copy here.
If you are still having problems after trying these things, you may want to check out or post to the Microsoft Device Emulator Forum. Especially check out this thread about "Failed to open VPC Network driver".
Hope this helps!
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be... -
HOW TO: Set up your application server to run BC4J
How To set up your application server to run BC4J.
INTRODUCTION
A running BC4J application is actually the combination of:
* Your own application files
* BC4J runtime libraries
In order to successfully run your BC4J application in local mode, the first requirement is
that your application server contains the necessary BC4J libraries.
This How To describes the steps required to ensure that you have a functional
BC4J runtime environment installed on your application server.
Oracle IAS 1.0.2 and Tomcat 3.1 will be used as examples.
THE BC4J RUNTIME LIBRARIES
Whatever application server you deploy to, the following libraries
are required in the following order to be in the classpath.
BC4J Libraries:
xmlparserv2.jar
jdev-rt.zip
jbojdbcpatch.zip
connectionmanager.zip
jbohtml.zip
jboimdomains.zip
ordim817.zip
ordvir817.zip
ordhttp.zip
jbomt.zip
jbodomorcl.zip
jboremote.zip
jndi.jar
jbodatum12.zip
These libraries can be found in <JDEV_HOME>/lib/
INSTALLING THE LIBRARIES ON IAS:
Installing the libraries is simply a matter of copying them to the
application server's filesystem and adding them to the classpath.
IAS's classpath can be modified by editing the file:
<IAS_HOME>\Apache\Jserv\conf\jserv.properties
In this file you'll find the existing pre-installed BC4J libraries which
looks like this:
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordim817.zip
etc.
Note! These BC4J libraries correspond to JDeveloper 3.1.1.
In order to run JDev 3.2 based applications you will have to update these libraries
to JDeveloper 3.2 production.
Steps:
1. Copy (or FTP) the JDev 3.2 BC4J libraries from <JDEV_HOME>\lib to a NEW directory on the
appserver's filesystem called:
<IAS_HOME>\Apache\BC4J\newlib
2. Modify the classpath by editing <IAS_HOME>\Apache\Jserv\conf\jserv.properties.
Example: (modified classpath entries)
# New 3.2 BC4J Runtime libraries
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\xmlparserv2.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jdev-rt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbojdbcpatch.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\connectionmanager.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbohtml.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboimdomains.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordim817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordvir817.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordhttp.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbomt.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodomorcl.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboremote.zip
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jndi.jar
wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodatum12.zip
Note: Make sure to remove or comment out the existing 3.1.1 BC4J library entries!
To see the changes, you must restart IAS and that's it, your IAS will be updated with
the JDev 3.2 BC4J libraries which allow you to run BC4J Data Tags among other
things!
INSTALLING THE LIBRARIES ON TOMCAT
As before, this process involves both the copying of the libraries
and modifying the classpath.
After copying the BC4J libraries to a path accessible from Tomcat,
you can modify Tomcat's classpath by editing it's startup script:
<TOMCAT_HOME>\bin\tomcat.bat (NT)
<TOMCAT_HOME>\bin\tomcat.sh (Unix)
Here is a portion of a modified tomcat.bat (on NT)
rem Add BC4J libraries
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\or dim817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jndi.jar
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodatum12.zip
rem Add Oracle JDBC library
set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\classes12.zip
Note: I also added the Oracle JDBC library since Tomcat does not have it.
It is found at:
<JDEV_HOME>\jdbc\lib\oracle8.1.7\classes12.zip
And That's It!
When Tomcat is restarted using this script, the necessary BC4J libraries
will be in the classpath..
A follow up How To:"How To Deploy a BC4J JSP Application on IAS and Tomcat"
will be posted shortly!I copied the following files in jserv classpath
bc4jct.jar
bc4jctejb.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4jmtejb.jar
bc4juixtags.jar
collections.jar
datatags.jar
jdev-cm.jar
regexp.jar
share.jar
uix2.jar
cabo.war
classes12.jar
nls_charset12.jar
ordim.jar
ordhttp.jar
runtime12.jar
jdev-rt.jar
xmlparserv2.jar
bc4j_jclient_common.jar
webapp.war
I got this list from Jdev 9031 on-line help
I also copied the new DataTags.tld file to /webapp directory
When i run my jsp page i get this error..
java.lang.NoClassDefFoundError: java/util/TimerTask
at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:693)
at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:148)
at jspapp.odrjsp__html._menu._jspService(Compiled Code)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
at oracle.jsp.JspServlet.doDispatch(Compiled Code)
at oracle.jsp.JspServlet.internalService(Compiled Code)
at oracle.jsp.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:116)
at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(Compiled Code)
at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
In the JDK 1.3 APi docs, i found that TimerTask was introduced only in JDK 1.3
Does this mean that BC4J (in jdev 9031) will only work
with JDK 1.3 or later?
Thanks for your time.
Harish -
Run application with mobile power on
how to run an application with the mobile powering on
is this avilable by j2me?Hi
how to run an application with the mobile powering on
is this avilable by j2me?Do you mean when the power is off? If this is the case, then you can't as far as I know.
Mihai -
Exception while running STRUTS application???
HI,
This is my 2nd post regarding my struts application, previous error was solved, but when i'm tryin to run my application with tomcat i'm getting error(plz help me tellin what changes i've to do in my application).It is actually the first page of the application which is a simple index.jsp, from where i've links to other main pages.The error i'm getting is:-
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:521)
org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:436)
org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:96)
org.apache.jsp.index_jsp._jspService(index_jsp.java:69)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.
Apache Tomcat/5.0.27Here i'm posting my index.jsp(where link tag is used), search.jsp, web.xml and struts.xml.frm index.jsp i just want to go to search.jasp frm where all the real thing will start.plz have look on all these files and let me no where i'm wrong.
index.jsp :-
<%@ page langiuage="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html>
<head>
<title>Gaurav, Human Resource Portal</title>
<head>
<body>
<font size="+1"><b>Gaurav Human Resource Portal</b></font><br>
<hr wodth="100%" noshade="true">
• Add an Employee<br>
•<html:link forward="search">Search for Employees</html:link><br>
</body>
</html>
search.jsp :-
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title>Gaurav, Human Resource Portal</title>
</head>
<body>
<font size="+1"><b>Gaurav, Human Resource Portal - search.jsp</b></font>
<hr width="100%" noshade="true">
<html:errors/>
<html:form action="/search">
<table>
<tr>
<td align="right"><bean:message key="label.search.name"/>:</td>
<td><html:text property="name"/></td>
</tr>
<tr>
<td></td>
<td>--- or ---</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssNum"/>:</td>
<td><html:text property="ssNum"/> (xxx-xx-xxxx)</td>
</tr>
<tr>
<td></td>
<td><html:submit/></td>
</tr>
</table>
</html:form>
<logic:present name="searchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name"searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>
</logic:present>
</body>
</html>
web.xml :-
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>Gaurav MiniHR Portal</display-name>
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- The Usual Welcome File List -->
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
</web-app>
struts-config.xml :-
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- ==========Form Beans configuration section.(i.e ActionForm objects)========== -->
<form-beans>
<form-bean name="searchForm" type="com.jamesholmes.minihr.SearchForm" />
</form-beans>
<global-forwards>
<forward name="search" path="/search.jsp" />
</global-forwards>
<!-- =================================== Action Mapping Definitions -->
<action-mappings>
<action path="/search"
type="com.jamesholmes.minih.SearchAction"
name="searchForm"
scope="request"
validat="true"
input="/search.jsp"
</action>
</action-mappings>
<!-- ================================ Message Resources Definitions -->
<message-resources parameter="com.jamesholmes.minihr.ApplicationResources"/>
</struts-config>
Maybe you are looking for
-
Schedule Lines for Sales BoM Material
Hi All, When i trying to maintain the multiples schedule lines for the Sales BoM Material(Both Header and Item), system is not allowing to maintain it.Please guide me how to achieve this?
-
Exchange Rate Mismatch in Credit Memo CO-PA Document
Hi, Exchange Rate in Sales Invoice is 23.081211 (from Tcode Ob08) Exchange Rate in Credit Memo is 23.0812 (maintained manaully) But Co-PA document is calculated according to the Exchange Rate as 23.081211 Please let me know why Co-Pa Document is calc
-
Unique Identifier in MDM Profisee Stage table
Hi team, I am new to MDM profisee tool and currently working for Addres verification project for my organization. I wanted to clear my doubts here about Unique Identifer in Stage table and how it works.. Here what i understand till now: Step 1) I cre
-
I'm hoping that I'm missing something really obvious here and someone can kindly sort me out. I've got loads of comp albums. In fact the vast majority of my library is mix CDs from various clubs/DJs/etc. Previously I had the lib sorted by artist and
-
On resetting up my system after some DIY in the room it was in, the speakers are not working. They were fine before and now, all I can hear is a very quiet muffled sound from all the speakers, but nothing else. I am running it on Realtek 97 onboard a