Integrating BIRT 4.5 into web application with tomcat8
Hello,
i made a web application integrating birt 3.7.1, running on tomcat 7. All is fine. Now i wanted to update from birt 3.7.1 to birt 4.5.0. And tomcat 7 to tomcat8.
So i downloaded birt-source and changed all files from 3.7.1/ReportEngine/lib to 4.5.0/ReportEngine/lib. After that, my application wasn't able to start. So additionally i included jar-files from "birt-runtime-4.5.0-20150609.zip\birt-runtime-4_5_0\WebViewerExample\WEB-INF\lib\"
Application starts. But it's still not working.
Here's my code for creating the report engine:
EngineConfig config = new EngineConfig();
Platform.startup();
IReportEngineFactory factory = (IReportEngineFactory) Platform
.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
engine = factory.createReportEngine( config );
It throws following exception:
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/CoreException
org.eclipse.birt.core.framework.Platform.createPlatformLauncher(Platform.java:115)
org.eclipse.birt.core.framework.Platform.startup(Platform.java:74)
org.eclipse.birt.core.framework.Platform.startup(Platform.java:57)
chromareportengine.CallReportEngineMain.<init>(CallReportEngineMain.java:64)
chromareportengine.ChartGenerator.<init>(ChartGenerator.java:80)
org.apache.jsp.Dashboard_jsp._jspService(Dashboard_jsp.java:191)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
What am i missing? It's maybe a bug of birt?
Kind regards Marina
So here is my class path:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="ChromaReportEngine" name="Chroma Report-Engine" basedir=".">
<target name="ChromaReportEngine">
<jar destfile="release/report.jar">
<manifest>
<attribute name="Main-Class" value="CallReportEngineMain"/>
<attribute name="Class-Path" value="lib/com.ibm.icu_54.1.1.v201501272100 lib/com.lowagie.text_2.1.7.v201004222200 lib/derby lib/flute lib/javax.wsdl_1.5.1.v201012040544 lib/javax.xml.stream_1.0.1.v201004272200 lib/javax.xml_1.3.4.v201005080400 lib/net.sourceforge.lpg.lpgjavaruntime_1.1.0.v201004271650 lib/ojdbc6 lib/org.apache.batik.bridge_1.6.0.v201011041432 lib/org.apache.batik.css_1.6.0.v201011041432 lib/org.apache.batik.dom.svg_1.6.0.v201011041432 lib/org.apache.batik.dom_1.6.1.v201505192100 lib/org.apache.batik.ext.awt_1.6.0.v201011041432 lib/org.apache.batik.parser_1.6.0.v201011041432 lib/org.apache.batik.pdf_1.6.0.v201105071520 lib/org.apache.batik.svggen_1.6.0.v201011041432 lib/org.apache.batik.transcoder_1.6.0.v201011041432 lib/org.apache.batik.util.gui_1.6.0.v201011041432 lib/org.apache.batik.util_1.6.0.v201011041432 lib/org.apache.batik.xml_1.6.0.v201011041432 lib/org.apache.commons.codec_1.6.0.v201305230611 lib/org.apache.commons.logging_1.1.1.v201101211721 lib/org.apache.lucene.core_3.5.0.v20120725-1805 lib/org.apache.poi_3.9.0.v201405241750 lib/org.apache.xerces_2.9.0.v201101211617 lib/org.apache.xml.resolver_1.2.0.v201005080400 lib/org.apache.xml.serializer_2.7.1.v201005080400 lib/org.eclipse.birt.runtime_4.5.0 lib/org.eclipse.core.contenttype_3.5.0.v20150421-2214 lib/org.eclipse.core.expressions_3.5.0.v20150421-2214 lib/org.eclipse.core.filesystem_1.5.0.v20150421-0713 lib/org.eclipse.core.jobs_3.7.0.v20150330-2103 lib/org.eclipse.core.resources_3.10.0.v20150423-0755 lib/org.eclipse.core.runtime.compatibility_3.2.300.v20150423-0821 lib/org.eclipse.core.runtime_3.11.0.v20150405-1723 lib/org.eclipse.datatools.connectivity.apache.derby.dbdefinition_1.0.2.v201107221459 lib/org.eclipse.datatools.connectivity.apache.derby_1.0.103.v201212070447 lib/org.eclipse.datatools.connectivity.console.profile_1.0.10.v201109250955 lib/org.eclipse.datatools.connectivity.db.generic_1.0.1.v201107221459 lib/org.eclipse.datatools.connectivity.dbdefinition.genericJDBC_1.0.2.v201310181001 lib/org.eclipse.datatools.connectivity.oda.consumer_3.2.6.v201403131814 lib/org.eclipse.datatools.connectivity.oda.design_3.3.6.v201403131814 lib/org.eclipse.datatools.connectivity.oda.flatfile_3.1.8.v201403010906 lib/org.eclipse.datatools.connectivity.oda.profile_3.2.9.v201403131814 lib/org.eclipse.datatools.connectivity.oda_3.4.3.v201405301249 lib/org.eclipse.datatools.connectivity.sqm.core_1.2.8.v201401230755 lib/org.eclipse.datatools.connectivity_1.2.11.v201401230755 lib/org.eclipse.datatools.enablement.hsqldb.dbdefinition_1.0.0.v201107221502 lib/org.eclipse.datatools.enablement.hsqldb_1.0.0.v201107221502 lib/org.eclipse.datatools.enablement.ibm.db2.iseries.dbdefinition_1.0.3.v201107221502 lib/org.eclipse.datatools.enablement.ibm.db2.iseries_1.0.2.v201107221502 lib/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition_1.0.7.v201405302027 lib/org.eclipse.datatools.enablement.ibm.db2.luw_1.0.3.v201401170830 lib/org.eclipse.datatools.enablement.ibm.db2.zseries.dbdefinition_1.0.4.v201107221502 lib/org.eclipse.datatools.enablement.ibm.db2.zseries_1.0.2.v201107221502 lib/org.eclipse.datatools.enablement.ibm.db2_1.0.0.v201401170830 lib/org.eclipse.datatools.enablement.ibm.informix.dbdefinition_1.0.4.v201107221502 lib/org.eclipse.datatools.enablement.ibm.informix_1.0.1.v201107221502 lib/org.eclipse.datatools.enablement.ibm_1.0.0.v201401170830 lib/org.eclipse.datatools.enablement.msft.sqlserver.dbdefinition_1.0.1.v201201240505 lib/org.eclipse.datatools.enablement.msft.sqlserver_1.0.3.v201308161009 lib/org.eclipse.datatools.enablement.mysql.dbdefinition_1.0.4.v201109022331 lib/org.eclipse.datatools.enablement.mysql_1.0.4.v201212120617 lib/org.eclipse.datatools.enablement.oda.ws_1.2.6.v201403131825 lib/org.eclipse.datatools.enablement.oda.xml_1.2.5.v201403131825 lib/org.eclipse.datatools.enablement.oracle.dbdefinition_1.0.103.v201206010214 lib/org.eclipse.datatools.enablement.oracle_1.0.0.v201107221506 lib/org.eclipse.datatools.enablement.postgresql.dbdefinition_1.0.2.v201110070445 lib/org.eclipse.datatools.enablement.postgresql_1.1.1.v201205252207 lib/org.eclipse.datatools.enablement.sap.maxdb.dbdefinition_1.0.0.v201107221507 lib/org.eclipse.datatools.enablement.sap.maxdb_1.0.0.v201107221507 lib/org.eclipse.datatools.modelbase.dbdefinition_1.0.2.v201107221519 lib/org.eclipse.datatools.modelbase.derby_1.0.0.v201107221519 lib/org.eclipse.datatools.modelbase.sql.query_1.1.4.v201212120619 lib/org.eclipse.datatools.modelbase.sql_1.0.6.v201208230744 lib/org.eclipse.datatools.sqltools.data.core_1.2.3.v201212120623 lib/org.eclipse.datatools.sqltools.parsers.sql.lexer_1.0.1.v201107221520 lib/org.eclipse.datatools.sqltools.parsers.sql.query_1.2.1.v201201250511 lib/org.eclipse.datatools.sqltools.parsers.sql_1.0.2.v201107221520 lib/org.eclipse.datatools.sqltools.result_1.1.6.v201402080246 lib/org.eclipse.emf.common_2.11.0.v20150512-0501 lib/org.eclipse.emf.ecore.change_2.11.0.v20150512-0501 lib/org.eclipse.emf.ecore.xmi_2.11.0.v20150512-0501 lib/org.eclipse.emf.ecore_2.11.0.v20150512-0501 lib/org.eclipse.equinox.app_1.3.300.v20150423-1356 lib/org.eclipse.equinox.common_3.7.0.v20150402-1709 lib/org.eclipse.equinox.preferences_3.5.300.v20150408-1437 lib/org.eclipse.equinox.registry_3.6.0.v20150318-1503 lib/org.eclipse.help_3.6.0.v20130326-1254 lib/org.eclipse.orbit.mongodb_2.10.1.v20130422-1135 lib/org.eclipse.osgi.services_3.5.0.v20150519-2006 lib/org.eclipse.osgi_3.10.100.v20150529-1857 lib/org.eclipse.update.configurator_3.3.300.v20140518-1928 lib/org.mozilla.javascript_1.7.5.v201504281450 lib/org.w3c.css.sac_1.3.1.v200903091627 lib/org.w3c.dom.events_3.0.0.draft20060413_v201105210656 lib/org.w3c.dom.smil_1.0.1.v200903091627 lib/org.w3c.dom.svg_1.1.0.v201011041433 lib/plugins/birt.controls.lib.ui_2.5.2.1.jar lib/plugins/birt.controls.lib_2.5.2.1.jar lib/itextpdf-5.5.2.jar lib/servlet-api.jar lib/tomcat-dbcp.jar lib/axis.jar lib/axis-ant.jar lib/chartengineapi.jar lib/chartexamplescoreapi.jar lib/chartitemapi.jar lib/commons-cli-1.0.jar lib/commons-discovery-0.2.jar lib/coreapi.jar lib/crosstabcoreapi.jar lib/dataadapterapi.jar lib/dataaggregationapi.jar lib/dataextraction.jar lib/dteapi.jar lib/emitterconfig.jar lib/engineapi.jar lib/jaxrpc.jar lib/js.jar lib/modelapi.jar lib/modelodaapi.jar lib/odadesignapi.jar lib/org.eclipse.birt.axis.overlay_4.5.0.v201506092134.jar lib/saaj.jar lib/scriptapi.jar lib/viewservlets.jar"/>
</manifest>
<fileset dir="bin" includes="**/*.class"/>
</jar>
</target>
</project>
Hi,
i finally found a solution. So if someone is interested...
In tomcat installation file catalina.properties i added common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,{path to birt jars}/lib/*.jar
Kind regards
Similar Messages
-
Issue of deploying a fusion Web Application with integrated Weblogic server
Hi,
i'm using Jdev 11.1.1.3.0 to develop a fusion web application, with a model and ViewController Projects.
When i try to deploy this application with the integrated server, i have any issues.
The origin seems to be that it builds an application with 3 profiles. The model application is recognized and deployed as a webapp and not an ADF library as it should be..
[11:00:45 PM] Retrieving existing application information
[11:00:45 PM] Running dependency analysis...
[11:00:45 PM] Deploying 3 profiles...
[11:00:46 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ViewControllerWebApp.war
*[11:00:48 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ModelWebApp.war*
[11:00:48 PM] Wrote Enterprise Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0
[11:00:48 PM] Deploying Application...
<27 déc. 2010 23 h 00 CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application easygestionV2.0 is not versioned.>
<JpsDstCredential><setCredential> Impossible de migrer le dossier/la clé d'informations d'identification et de connexion ADF/anonymous#easygesprod. Raison : oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: Les informations d'identification et de connexion avec la correspondance ADF et la clé anonymous#easygesprod existent déjà..
<TrinidadFilter><init>
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.register(ConverterValidatorRegistrationUtils.java:36)
at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.init(RegistrationConfigurator.java:79)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:400)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFilter.java:53)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:103)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:54)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
How can i fix the model project to be deployed as an ADf library and not a webapp with the integrated weblogic server ? Because with me it doesn't do it by itself.
Thanks a lot for helpduplicate to Issue of deploying a fusion Web Application with integrated Weblogic server
-
Couldn't complete tutorial 'Integrating EJB 3.0 into Web Dynpro ...'
Hi All,
I am trying to complete the Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesnt happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the propertys are set and the student object is returned, but still it isnt displayed.
After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because its one of the key subjects of Java EE 5 and its a tutorial displayed in the welcome page of the Developer Studio.
So do you people think its a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
Regards,
SanderHi Sander,
I guess, it's not a bug in Web Dynpro, maybe it's a bug in the tutorial
I tried something similar, but not following the tutorial and it works. I wasn't able to call the model from the view controller and I guess that's the problem. Take the code from the init-method of the view controller and put it to the component controller's init -method and the code inside the onActionGetStudent and put it into a method you create in the component controller, too. From onActionGetStudent just call this method in the component controller with some code like this:
wdThis.wdGet<your component controller's name>.<your method's name>;
Hope this helps
Kind regards
Stefanie -
Integrate Web application with Oracle BPM
Hi,
Can you guide me in achieving the following scenario:
1. Integration web application with oracle BPM
Say, I have a application where I need to trigger an event to call Oracle BPM. For ex: On click of submit button call the Oracle BPM workflow to do some process and then revert back to the same application with an alert or status message. Please let me know the steps to acheive this.
Thanks
STHi,
I take from this description that you currently have your Web Application and you would possibly like to trigger or create an instance into an OBPM business process. If this is the case, you have several options available here:
a) Use PAPI (Java API).
b) Use PAPI-Ws (SOAP API).
c) Use some sort of communication channel that the process is implemented to listen (for example a JMS Queue or Topic).
For the first 2, you can try to take a look into the official Documentation page for OBPM through this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html (Check the For Developers section).
If I have miss interpreted your question, please do not hesitate to provide more details.
Cheers,
eduardoc. -
Weblogic 10.0 web application with CLIENT-CERT suddenly redirect with 401
Hi everybody,
we currently have a Weblogic Portal 10.2 web application with an integrated Windows authentication.
I configured a Negociate Identity Asserter and an Active Directory provider.
I configure Kerberos services, so we have succefully access to our application through the Windows session.
But, most of time we have 401 errors on any page when navigating. In fact, the error occures when clicking on a link when a page is not fully loaded.
For our tests, we use the security webapp provided by BEA/Oracle, and it just work.
The web.xml used in our webapp :
<security-constraint>
<web-resource-collection>
<web-resource-name>sso</web-resource-name>
<description>Desc</description>
<url-pattern>/appmanager/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>desc</description>
<role-name>ssoRole</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name/>
</login-config>
<security-role>
<description>Authenticated user</description>
<role-name>ssoRole</role-name>
</security-role>which version of web server r u using here ? 6.1 or 7.0 ? if it is 6.1 then there is no easy <If> syntax. if u r using 7.0, then u need to be aware that the processing of 'ppath' is slightly different in 7.0
in any case, this would be the syntax
<Object name="weblogic" ppath="/hw/">
Service fn="wl_proxy" WebLogicHost="------------------" WebLogicPort="------"
# gateway timeout - back end web logic not responding handle differently
<If code='504'>
# send it to a different post..
Service fn="wl_proxy" WebLogicHost="------------------" WebLogicPort="------"
</If>
</Object>
- sriram -
Need idea : Integration of CRM On Demand web services with Oracle SOA 10g
Hi Al,
Can anyone have any idea on integration of CRM on Demand Web service with Oracle SOA 10g specially BPEL 10g.
If you have any idea please share with us. Or if you know any good link on the same... please let me know.....
Thanks in advance
DebarshiAFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "
I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
The "Messages" pane displays:
"Compiling...
Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
[11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
[Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" displays:
"C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
Stopping Weblogic Server...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://localhost:7101 with userid weblogic ...
This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx4.connect$1(<iostream>:16)
at org.python.pycode._pyx4.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyFunction.__call__(PyFunction.java:184)
at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
... 38 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
... 43 more
Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
File "<iostream>", line 22, in connect
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
Done
I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
Any suggestions on how to fix this problem would be appreciated?
LA$$EJupp,
It fails in a similar way.
What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 121552 ms.
DefaultServer started.
In the "Messages" pane, however, things are not looking so good:
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
But, of course, the server is actually running as I can access it via its Admin Console.
So, I try to run the project again, and this time the following is shown in the "Messages" pane:
Compiling...
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" now comes up with:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
The WLS is still running though as I can still access its adm console.
To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install. -
Can i deploy web application with WEB-INF as war and leave others as it is
i'm asked to deploy my web application with WEB-INF in a war and leave all the others as it is, but i'm getting error that "resource not found"
what shld i do?
this is the command i used to create war
jar cvf WEB-INF.war *.*
i entered this command from command prompt from the directory
c:/tomcat/webapps/myapplication/WEB-INF/>jar cvf WEB-INF.war *.*
please help!!!!!can u please elaborate...because i need to speak about that to the manager who is asking me to do so. he will not listen to me until i explain with true reasons.
-
Standards in a web application with JSP and J2EE
Hello!
Can anyone to point me to a tutorial or an URL that contains standards for an web application with jsp(including tag libs), beans and servlets.
Thanks
Catalinon the left side of this page...there are links "Documenation", "Tutorials", "Code Samples", pick your choice...there are alot of tutorials, try some or try them all :)
-
Print Web Application with chart
Hello all!
We want to print our Web Application after push a button, not over context menu.
I have read the "How to ... Enhance Web Printing". But this solution doesn't help me with charts as far as I understand. Else it would be a fine solution for my problem.
Has anyone an idea how I can print the whole web application with chart and table? But I have to say that the web application is embedded in SAP Enterprise Portal. So it is also no answer to just print the full web page.
Isn't there a way to just use context menu commands with a button?
Thanks for help!
Regards,
PeterIf you are using BI 7.0 you can use PDF based printing for this.
In 3.5 you can use StyleSheets for formatting, and use js command window.print to just print the BI Report area within EP.
<A href="ajavscript:window.print()">Print</A> -
Associating Default Web Application with Virtual Host
Hi
We are trying to run several virtual hosts on the same managed server. However, each of those virtual hosts (e.g. bob.mydomain.com, john.mydomain.com) will need to have a different default web application (the rest of the deployed web applications will be the same between hosts). We tried to create default web applications with <context-root> in weblogic.xml set to / (also tried "") - however when attempting to deploy 2nd default web app an error message comes up:
Context path '/""' is already in use
So, it appears that we can't associate a default web application with a virtual host. Any ideas on how to solve it?
Our Environment:
Weblogic version: 10.3 TP, Windows
Many thanks
JasonIs your webapp targetted to the correct virtual-host during deployment?It could be possible that your webapp is targetted to the default web-server instead of the virtual-host causing this error. Can you validate this from your config file?
You can also configure default webapps for virtual hosts by setting the default-web-app-context-root element of virtual-host element in your config file -
Web application with RAD tool inside for dynamic JSP building
I would realize a J2EE Web application based on JSP,Struts and eventually Spring for transaction management and iBatis for data access in my opinion very complex.
The application presents search, list and detail pages, and the information visibility depends on the user.
Each edit page could be based on a single page or many tabs, and a tab could contain entity's information or information associated to the entity subject of the page, displayed as list. The informations in editing phase will be controlled by javascript rules.
A web application administrator will set the information's grants (hidden, readonly, read and write) for each entity managed inside the application.
Now there is the complication: each page (search, list, detail) must be built by the web application administrator with a configurator/builder directy inside the same web application on the server!
For example, for a detail page:
1) each tab must be defined and named: so I can't develop a static number of tabs, in which I managed a fixed set of data inside each of these tabs. I must develop a page with all the entity's fields and all the rules, and then the web application administrator set which informations must be available for each tab from the same page detail developed. The tabs in which there's a list could be displayed or not, and the data in the list follow the grants setted by the web application administrator.
2) the web application administrator can specify all the data inside a tab: every tab will be built indicating which fields show or edit if the user has the grants. For example for entity1, we could define a detail page for user1 with field1, field3 and field2, while for user2 we could define the detail page with tab1 within field2, and a second tab, tab2 within field3.
3) the web application administrator can specify the layout inside the tab, indicating the pixel position inside the tab, or the application could provide a visual tool, in HTML, in which there is a design area, and in which the web application administrator clicks in a point and positions in it an information, and even specify the style's properties (color, font, background,...)
4) the application must provide to the users the possibility to define new fields for an entity, and must manage them adding in whichever tab for that entity. For such informations will be possible only management without controls except the controls of type (data, int, money, ...)
In my opinion point 3 I think it's part of a report tool and not of detail visualization; moreover all the styles of a page must be personalized, not only the informations contained inside the tabs. I think the only solution in a highly configurabile application is to show the search/detail fields 1 for row, and not with a positioning based on pixel coordinates or positioning with a RAD tool.
I ask to you:
- have you ever seen or realized web application that they supply application design tools within the same application, realized in HTML+Javascript?
- is realizable this kind of application?
- ...any suggestion to supply for proceeding?
Honestly my ideas are to realize points 1 and 2; I suppose point 3 is not feasible and that the result of the styles customization is little appropriated; for point 4 I suppose to simplify the management of new data by managing all the new ones inside the same tab, or I will have to think another possible solution...
Thanks to everyone has interesting ideas or suggestions to give.have you ever seen or realized web application that they supply >application design tools within the same application, realized in >HTML+Javascript? Yes, Oracle HTML DB is one such purchasable off the shelf :)
is realizable this kind of application? I would think so - yes. It requiresa good team - 4 or 5 developers with excellent jsp/servlet knowledge :)
- ...any suggestion to supply for proceeding? Such kind of functionality is achievable only in 1 way-DB, always. You would store the information for each entity and the permissions for each attribute of that entity per user in the db. You can consider having roles (teams), assign permissions to the roles and then add users to the roles so that they inherit the permissions. You should be able to ovderride the permissions per individual user too.
I would say you first plan this out in a piece of paper, convert it into relationships in the db. Implementing the jsp solution is by far the easist (& tedious :)), IMO
ram. -
Problem with Uploading files in Web applications with the iPad
Hello,
I have a question. How can I upload a word file in the gmx-Mailserver with my IPad? I can only find the picture library. In this library i cannot upload a word-file or other files-types. I use Safari. The same problem exists by other web applications.
Thanks for your help.
Kami2013I think I just did something wrong myself. I was finally able to upload the file. However, I wrote the following procedure in my package but wasn't able to download the file from the report. Do I need to grant any privilege from the system user?
Also, does anyone know how to convert a BLOB table into 11g Securefiles table?
Thanks.
<pre>
procedure download_birth_cert(p_vrds_birth_cert_pk in number) is
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(4000);
Lob_loc BLOB;
begin
select mime_type, blob_content, file_name, dbms_lob.getlength(blob_content)
into v_mime, lob_loc, v_file_name, v_length
from vrds_birth_cert
where vrds_birth_cert_pk = p_vrds_birth_cert_pk;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header(nvl(v_mime,'application/octet'), FALSE);
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the user does a save as
htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
exception
when others then
null;
end download_birth_cert;
</pre> -
Web application with capable of auto update
Hi All,
I have been developing the webapplications using struts (J2ee Technology) and i have developed few web applications and send to the production. now i want to add autoupdate capability of the application, means if any changes was made jsp/action class then application must have capability of updatin the new code.
is my thought/requirements come in reality?
Can anyone suggest/recommend the approach.
Thanks in advanceThank you
Struts is not a JEE technology; its a framework built by Apache.I agree, but given as example,consider servelts are example now.
you have a version of the web application running and when you make changes in your code you see these >>changes in the running application without having to restart the server. Am I correct this time?Yes you are correct!!.. Thanks
If so: did you try starting the server in debug mode? How to do that depends on what IDE you're using, you >>should google it.I am talking about the appliction running in production. What is the relation of IDE and debug mode
Can you please elobarate!!..
Once again my requirement is , Jsps and servlets are packed into war(app version 1.0) and sent customer environment ,
The application is running at customer place, now couple of servlets which was packed in app version 1.0, have been added new functionalites and packed into war(app version2.0).
I need to add capability of updating the version2.0 with replacement of version1.0 which is at client place. How can i do this
Do i need to container help or any other third party tools can be used for this
I am using Tomcat7
Hope i explained detail
Thanks
Dorairaj
Java TeamLead -
Three-tier web applications with toplink
I'm looking for patterns people have used with TopLink for building web applications that employ the following typical usage scenario:
- the application loads an object (using one UOW)
- the object is passed up to the UI tier (i.e., browser)
- some modifications are made to the object (via browser form submission)
- the object is passed back down to the business logic tier
- the application persists these modifications (in a second UOW)
Because this scenario spans two requests, each using a separate thread, the same UOW (nor the same session)cannot be used for both the read and write.
So far, the best approach to doing this in TopLink that I've come up with is the following:
- my application reads the object in a UOW.
- it registers the object to get a working clone.
- my app commits the UOW, but keep the clone
- the clone is passed to the UI tier
- UI layer modifies clone and returns to business logic tier
- my app reads the object again in a new UOW
- the new object is registered
- the changes in clone are incorporated into the uow via the mergeClone method
- the changes are committed
it works, but it clearly violates some of the intentions of the framework.
Can anyone recommend a better way to handle this scenario?
Thanks,
DerekThe first two tiers are analoguous to what Aperture
gives you: and index page and then a detail page with
a larger version of the photo and various EXIF
information.
However, I also had the option to export the
full-size photo as well, which was linked to clicking
the larger photo (or an explicit link). This was good
so people could get the big picture to print or
otherwise further manipulate.
This is exactly what I am looking for as well (would be satisfied with two-tier, though, just a thumbnail and a link to the hires image).
I already started a thread with my findings here: http://discussions.apple.com/thread.jspa?threadID=455157 but didn't find any further info yet. A documentation on the tags used for building the web gallery templates would probably help a lot.
Any help appreciated
Maybe you are looking for
-
How to get table code of a lookup table?
I have the lookup field name in the main table. How can I get the table code of the lookup table with MDM Java API? Thanks:-)
-
Java Swing, Displaying Images in Labels
Im rather new to java programming. Im finding it difficult to display images, as they never seem to appear when they should. When I downloaded the examples in the java tutorial (but not the picture files), changed the picture files to picture files I
-
I need to know the date when JOB is created in SAP
Could some one telme where i can find the details like date/time when a JOB is created (SM36) in SAP.
-
How do I stop outlined fonts in Indesign
I have a customer, requesting a print ready version of their artwork. But they have now come back asking for the fonts to be un-pathed [not outlined]. From what I've read on various forums, it appears that Indesign exports by 'default', fonts outline
-
When I click on the blue or green "secure connection" icon in Firefox 3.6 versions, running Windows 32, and click "more information" button, the view certificate button is locked (does not work). Furthermore the text in this window is a bit garbled i