Possible to run web applications from cd?
Hi, I currently have a web application which needs is required for a demo in a location where internet connection does not exist. Is that possible for me to put jvm, tomcat and my web app into a cd, and run the cd as a server? Then I can use IE to do the demo. I know it is all read only, but my app does not need to write to disk.
Thanks.
Your webapp might not write to disk, but what about the application server?
At the very least your Java runtime will need to be installed at the computer you run the app on, and most likely the appserver as well (depending on the appserver, some are zero-installation).
It may well use disk to cache session information (for example).
You can try of course. Make the disk and try using it on one of your own machines before going to the customer.
Might be better to take a laptop and install the whole thing on there...
Similar Messages
-
Is it possible to run an application from a user or container login script?
Is it possible to run an application from a user login script or a container login script?
A "Force Run" application object works fine if the user's workstation is setup to auto-load "Application Window" or "Application Explorer" but in this case I'd like to run an application when someone does a manual login (ie. they right-click red "N" and choose "Novell Login...")
Using a User Package's "Scheduled Action Policy" and the Event=Login also does not work when a user logs in manually. This type of Event seems to only apply when the user first logs into the workstation, not at a manual login.
Thanks,
Marc> Is it possible to run an application from a user login script or a
container login script?
Yes, see the documentation:
http://www.novell.com/documentation/...a/a7q6999.html
Regards
Rolf Lidvall
Swedish Radio (Ltd) -
How to run two applications from same application server
hi,
i am working on oracle application server 10g , is it possible to run 2 applications from one application server by using different url ? but same report server name .
if i can do so plz tell me how ?
regardshi,
offcourse,you can do this you.you can deploy n no of applications on a single application server.
and even you can run all the reports on a single report server
to the below location.
$ORACLE_HOME/forms/server
create a new enviroment file(for eg fd.env) using the default.env as follows and make the following FORM_PATH and REPORTS_PATH changes in the fd.env
FORMS_PATH=/oraApp/Ora_bi/forms:/oraApp/backup_29_11_2010_0.12/fd/pll:/oraApp/backup_29_11_2010_0.12/fd/forms
REPORTS_PATH=/oraApp/backup_29_11_2010_0.12/fd/reports
similarily create another env file (eg appr.env) and make the above changes in it.
Now make the following changes in formsweb.cfg
for example:
[xyz]
envFile=appr.env(env file name)
form=xyz.fmx(your start form)
lookandfeel=oracle
separateFrame=false
userid=appraisal/[email protected]
splashscreen=NO
logo=NO
background=NO
color=automatic
render=yes
archive=frmall.jar
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,ofasIcons.jar,icons.jar,OfasPrint.jar,newicons.jar(these jar file are the images files of your applications..needs to be stored in $ORACLE_HOME/forms/java.
imagebase=codebase
term=frmpcweb.res
baseHTML=webutilbase.htm
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
WebUtilArchive=frmwebutil.jar,jacob.jar
[fd]
envFile=fd.env
form=fd.fmx
lookandfeel=oracle
separateFrame=true
userid=fdmmfsl/fdmmfsl@mmfdlive
splashscreen=NO
logo=NO
background=NO
color=automatic
render=yes
archive=frmall.jar
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar
imagebase=codebase
term=frmpcweb.res
baseHTML=webutilbase.htm
baseHTMLjinitiator=webutiljini.htm
This depends on your application which your deploying
now for about accessing the seperate application then
use as follows
1st application
http://ip address:7778/forms/frmservlet?config=xyz
2nd application
http://ip address:7778/forms/frmservlet?config=fd
you can even deploy 2 war files on one application server...and you can even make these 2 war files to access the same report server
If you require any other help then do let me know
Regards
Fabian D'souza -
Is it possible to invoke an external REST web-service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4) with parameters as input and manipulating the response depending on the type of parameters it gets back. Then invoking an Adobe Form and prepopulating the Form based on the response parameters? Do you have sample projects that do this invocation. The part highlighted in red is what I need examples.
You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
http://www.adobe.com/devnet/livecycle/articles/building-xml.html
http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
Hope this helps.
-Wasil -
Is it possible to call web service from ABAP SAP 4.6 c..If yes how
Hi Friends,
Is it possible to call web service from ABAP-SAP 4.6 c..If yes Could you please let me know how.
Thanks in Advance.
Murali Krishna K
Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:09 PM
Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:11 PMOlivier CHRETIEN wrote:>
> Hi Terry,
>
> So these function modules must use the SAPHTTPA RFC destination which uses the exe saphttp.exe ?
>
> How much abap code lines do you have for a web service call ?
> Do you have to code the call specifically for each different web service ?
> Are you able to use the WSDL ?
>
> Nice job if you have coded your own private SOAP runtime !
>
> But I don't think this is an easy solution for everybody...
>
> Regards,
>
> Olivier
Yes, SAPHTTPA (runs on application server) and/or SAPHTTP (runs on front-end pc), one of which, is required for HTTP communication. So far, nothing too elaborate as far as SOAP goes, but the logic is simplistic. Here's some sample code:
DEST = 'SAPHTTPA'.
TRANSLATE HOST TO LOWER CASE.
MYURL = 'wssrvTest/Service.asmx/GetByOrderItem'.
CONCATENATE HOST MYURL INTO MYURL.
REQUEST_HEADERS-DATA =
'Content-type: application/x-www-form-urlencoded'.
APPEND REQUEST_HEADERS.
CLEAR REQUEST_HEADERS.
*........Convert Order Number to External Format........................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ORDER
IMPORTING
OUTPUT = ORDER.
*........Convert Item Number to External Format.........................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ITEM
IMPORTING
OUTPUT = ITEM.
*........Convert Material Number to External Format.....................
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = MATERIAL
IMPORTING
OUTPUT = MATERIAL.
CONCATENATE 'sOrder=' ORDER
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CONCATENATE '&sItem=' ITEM
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CONCATENATE '&sMaterial=' MATERIAL
INTO REQUEST_BODY-DATA.
APPEND REQUEST_BODY.
CLEAR REQUEST_BODY.
CALL FUNCTION 'HTTP_POST'
EXPORTING
ABSOLUTE_URI = MYURL
RFC_DESTINATION = DEST
BLANKSTOCRLF = 'X'
TABLES
RESPONSE_ENTITY_BODY = RESPONSE_BODY
REQUEST_ENTITY_BODY = REQUEST_BODY
RESPONSE_HEADERS = RESPONSE_HEADERS
REQUEST_HEADERS = REQUEST_HEADERS
EXCEPTIONS
CONNECT_FAILED = 1
TIMEOUT = 2
INTERNAL_ERROR = 3
TCPIP_ERROR = 4
DATA_ERROR = 5
SYSTEM_FAILURE = 6
COMMUNICATION_FAILURE = 7
OTHERS = 8.
CHECK SY-SUBRC = 0. "more appropriate msg goes here
LOOP AT RESPONSE_BODY.
IF RESPONSE_BODY+0(7) <> '<string' AND
RESPONSE_BODY+0(8) <> '</string' AND
RESPONSE_BODY+0(5) <> '<?xml'.
SPLIT RESPONSE_BODY-DATA AT '=' INTO FIELD_NAME FIELD_VALUE.
TRANSLATE FIELD_NAME TO UPPER CASE.
CASE FIELD_NAME.
WHEN 'HEIGHT'.
HEIGHT = FIELD_VALUE.
WHEN 'WIDTH'.
WIDTH = FIELD_VALUE.
WHEN 'LENGTH'.
LENGTH = FIELD_VALUE.
WHEN 'WEIGHT'.
WEIGHT = FIELD_VALUE.
WHEN 'QTY'.
QTY = FIELD_VALUE.
ENDCASE.
ENDIF.
ENDLOOP.
Hope this helps...
Terry
Edited by: Terry West on Feb 4, 2008 3:08 PM -
Error while running web application through JDEV (10.1.3.0.3) in OC4J.
Here is the error message.
07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
Loader: oc4j:10.1.3
Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
The missing class is not available from any code-source or loader in the server.
07/10/02 14:45:28 at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]Hi,
The guide you were refering was pointing to 10.1.2 wizards.
For the latest 10.1.3 tutorial, please follow the below tutorial link :
http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
Hope this helps,
Sunil.. -
Accessing web application from users' PC
Hi there,
My server is up and running, appsets are working nicely and everything works perfectly. But I have an issue when accessing the web application from a user PC on the same domain, and I'm not sure if it's down to me or not.
From the users' PC, with BPC for Excel open, I click on the link for BPC Web, and Internet Explorer opens and attempts to take me to the web app. But if the address contains the server name, it doesn't work. If I manually type the IP address in instead it works.
Why is this? Have I forgotten to do something, or is it a DNS problem, or other local IT issue?
I'm sure I've missed something really silly, but can't figure out what!
Any ideas appreciated!
Thanks a lot,
JasonHi Akim,
I think this is actually part of a wider problem - I have been testing this on my local PC (over the clients' VPN) and now it works fine. But I just logged onto the clients PC using Webex and I can't get into ANYTHING! Not the Admin client, not BPC for Office, not the web application - nothing.
I think I need to go there on monday and actually go through this with one of their network guys - I'm not convinced that it's a problem with the server anymore!
Thanks for your help - I will keep you posted!
Jason -
How to protect web application from piracy?
I m looking for solution to protect Web application from piracy.
I want my application run on web server for which it is built, &
it musn't run on any other web server.
how can i protect my web application from piracy?.
Our .Net applications we protect using Hardware ID binding ,
How can i protect J2EE applications?Run it on your own server is the simple and only secure solution.
-
Can you reload web application from the Weblogic console?
Good day, eh!
Can you reload all your jsp/servlet classes of your
web application from the Weblogic console?
A one big button labeled 'Reload application' would be very
good property in Weblogic
Thanks for Your answers
- hoser
Hi,
I agree it is a much needed feature. Suppose I just change an init
param of one application in the web.xml, I don't want to take down the
15 other webapps running on my server just to be able to have that web
app restart and re-read is configuration. Of course, I could program
some servlet that allows changing application attributes and to enable
restarting, but really this a)does not cover all the cases (i.e. addind
an EBJ reference binding to web.xml) b) should be provided by the app
server, not programmed by every little programmer again & again.
Mathieu
Jeff Nowakowski wrote:
>
> The URL you give refers to redeploying EJBs, not web applications. Being
> able to redeploy a web application would be a very convenient feature.
>
> -Jeff
>
> Gene Chuang <[email protected]> wrote in message news:[email protected]...
> > Button is already there!
> >
> > http://www.weblogic.com/docs51/techdeploy/hotdeploy.html#consoledeployejb
> >
> > Gene
> >
> > "hoser" <[email protected]> wrote in message
> > news:[email protected]...
> > >
> > > Good day, eh!
> > >
> > > Can you reload all your jsp/servlet classes of your
> > > web application from the Weblogic console?
> > >
> > > A one big button labeled 'Reload application' would be very
> > > good property in Weblogic
> > >
> > > Thanks for Your answers
> > >
> > > - hoser
> >
> >
-
Moving web-application from WebLogic 10.0.0 to 10.3.3 - EJB Exception
Hello all,
I've moved my web-application from weblogic 10.0.0 to the new platform with Weblogic 10.3.3. After this I had some JMSEceptions (unable to run JMS methods inside of servlet or EJB) and they were fixed. For now I got new exception:
####<07.12.2012 16:03:06 FET> <Info> <EJB> <pc-XXXXXX> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-00340877198035A73969> <1354885386932> <BEA-010227> <EJB Exception occurred during invocation from home or business: weblogic.ejb.container.internal.StatelessEJBHomeImpl@14df37f threw exception: javax.ejb.EJBTransactionRolledbackException: EJB Exception: : java.lang.ClassCastException: com.XXX.XXXX.XXXXXX.persistence.OperatorBean cannot be cast to com.XXX.XXXX.XXXXXX.persistence.SwitchboardBean
at com.XXX.XXXX.XXXXXX.SwitchboardDataImpl.initialize(SwitchboardDataImpl.java:147) // itsSwitchboardBean = itsEntityManager.find(SwitchboardBean.class, switchboardNumber);
at com.XXX.XXXX.XXXXXX.SwitchboardDataImpl.create(SwitchboardDataImpl.java:86)
at com.XXX.XXXX.XXXXXX.SwitchboardDataEJB.create(SwitchboardDataEJB.java:64)
persistence.xml:
... <persistence-unit name="xxxSwitchboard_PU" transaction-type="JTA">
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
<jta-data-source>jdbc/xxSwitchboard</jta-data-source>
<non-jta-data-source>jdbc/xxSwitchboard</non-jta-data-source>
<class>com.XXX.XXXX.XXXXXX.switchboard.persistence.OwnerBean</class>
<class>com.XXX.XXXX.XXXXXX.switchboard.persistence.OperatorBean</class>
<class>com.XXX.XXXX.XXXXXX.switchboard.persistence.SwitchboardBean</class>
<class>com.XXX.XXXX.XXXXXX.switchboard.persistence.CallBean</class>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
</persistence-unit>...
@Entity
public class OperatorBean extends OwnerBean
@ManyToOne(optional = true, fetch = FetchType.EAGER)
private SwitchboardBean switchboard;
@Entity
public class SwitchboardBean extends OwnerBean
@OneToMany(mappedBy = "switchboard", cascade = CascadeType.PERSIST, fetch = FetchType.LAZY)
private List<OperatorBean> itsOperators = new ArrayList<OperatorBean>();
Seems that it happened due to updating weblogic version (changes in jee, jms, ejb, jpa versions?). Could you please advice me how to fix this issue?
Thanks, IlyaI belive there is no problems for this change, because the versions are the same for java at least for OaS, for weblogic you should see documentation. I think you can try deploying you app to new environment if you get any noclassdeffound error or something like it then you could have problems for versions.
Regards -
From what I understand, with sharepoint it is possible to run web apps on the server that don't need to be referenced via the cloud, ie in contrast to SkyDrive.
If so, would it be possible to create a web site on the share point server that embeds say a word web app in a page, all done in the one server, on the same domain?
ThanksHi,
First Office Web Apps and SharePoint can't be installed in one server as it's not supported. So you need at least two servers - one for SharePoint and another for Office Web Apps. About 'word web app', As far as I know you can run word app/excel app runs
in either word/excel but not inside Office Web Apps.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
Is it possible to run Rules/Seq from SmartView while connected to Essbase?
Is it possible to run rules/sequences from SmartView while connected to Essbase URL in 9.3.1 version?
Current environment does not have planning and we have to run rules while connecting to Essbase.
Using http://<<ServerName>>:9080/aps/SmartView URL.
There seems to be no way we can do it. Referred to DBAG, Planning and SV document but not mentioned.
Thanks in advance!Hi,
If you have attached you business rules to Essbase database connection in EAS, you should see them under Calculation Options. If you attached only Planning connection, you will have to connect to Planning in Smartview to execute business rules.
Else, you will see only calculation scripts attached to the Essbase application.
Let me know if it helps.
Cheers
RS -
Call Web Applications from Xcelsius using LiveOffice connections
Hi,
I have read the HTG: "How To... Call BEx Web Applications from SAP BusinessObjects Dashboards (Xcelsius) and vice versa" here on SDN. Problem is that it is using BW Connection as connection.
Is it be possible to call web applications using Live Office connections?
Br,
SonniHi Sonni,
If you are building dashboard using live office connection and you want to give a drill down to detailed webi or crystal report, you can use Open document interface. In the particular HTG you have mentioned, Open document approach is not possible because dashboard is based on SAP BW. Since you are using live office, i guess you have the source report published in BOE and you can use open document approach here.
If this is not your requirement please mention your exact requirement.
Hope it helps you.
Regards,
Nikhil Joy -
Get installation path of web application from class file
Can anybody tell me how I can get the path on disk to the root of my web application from a class file. Im running under Tomcat 5.5 and I have 3 copies of the same webapp under 3 differenet directories:
C:\xxx\dev\yyy
C:\xxx\test\yyy
C:\xxx\prod\yyy
Based on which directory the web-app, I need to do a lookup on a properties file to pull the right jdbc connection to connect to the appropriate database. So it would be similar to using getServletContext().getRealPath("/") from a .jsp file.
Thanks,
JasonSorry for not clarifying. I have a properties file with name/value pairs. I know where this properties file is and I can do a lookup in it. In this file, I have jdbc connection names which point to corresponding jdbc resources in my context.xml file.
jdbcDevDatabase=jdbc/tfmDev
jdbcTestDatabase=jdbc/tfmTest
jdbcProdDatabase=jdbc/tfmProd
These connections are for dev, test and prod databases. Now based on where the web-app is installed on disk, i.e-dev dir, test dir, prod dir, I want to retrieve the corresponding connection. The problem is I don't know how to get a handle to the web apps real path on disk without access to the request object or using getServletContext().getRealPath("/") which are not available to me in a class file.
Thanks,
Jason -
Urgent help needed:oc4j server error coming while running web application
while running application below error is coming
2007-05-28 18:05:39.439 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
2007-05-28 18:05:39.470 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
2007-05-28 18:05:54.471 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webappHello,
The notification messahes (JMS related) are here for information purpose and not related to your application.
The ERROR J2EE HTTP-00004 is related to your application, is looks like you have a misconfiguration or something bad with your application and the module/application named "datatags".
Could you please give more information about the application that you are deploying?
- how do you deploy it?
- what is the packaging? EAR or WAR, how did you package it? (Jdev or other?)
- what are the different modules that you are using? (web apps, ejb, ...)
- can you run the application from JDeveloper if you are using it?
Regards
Tugdual Grall
Maybe you are looking for
-
How to add a dynamic drop down list in RDLC reports in WPF
I have to Load an RDLC report in WPF application and need to include a drop down list in report.Based on the selection of drop down list different reports to be generated.I am using C# and WPF. Eg: I have to list the details of employees in in RDLC r
-
Can i share mac mini's SD drive on a iMac G5? The reason is my iMac G5's SD drive is not working properly, it says "DVD DRIVE NOT FOUND" after updated from OSX 10.4.0 to OSX 10.4.2. I need to reinstall my OS and hopefully it can fix the DVD drive pro
-
Having scanned b&w negatives and sending them to iPhoto as positives, I'm now having difficulty editing these photos. When I attempt to edit, the photo resumes it's negative format. Why? When I crop, it reverts to positive format?? Any answers would
-
How to adjust brightness in FCE
I'm not sure if this is the right forum but I still have FCE 1 and shot some footage that's a little bit over exposed. I would like to know if there's a brightness setting like photoshop that I can use to adjust it to make it darker?
-
Unable to access iTunes account
For the past few weeks (and potentially much longer, as I have only recently checked), I have not been able to access my iTunes account. I have checked and double checked everything i could think of - my password is correct, it is not my internet con