Bc4j.xcfg, database connections and deploying ADF apps to oc4j
I'm trying to understand how to enable custom database connections on a JDeveloper ADF application deployed to a stand-alone instance of OC4J.
All entity objects were created as ADF Business Components.
I looks like the db connection information used by the application is stored in a file named "bc4j.xcfg".
How would I change the database connection information between different environments, changing the server, port and password information from an OC4J instance?
I'd like to use an OC4J defined data-sources.xml file, but am looking for the simplest approach for now.
Tomato tomaato, call it what you will, we now have to spend time (money) figuring out how to change from using the recommended use of a "connection" from Oracle tutorials and in Oracle Press books.
Plus, neither I nor our client can get JDeveloper ADF 10.1.3 to work on OAS 10.1.2.
Oracle has been of little help, other than stating to follow documentation. We followed the documentation at least a dozen times and on three different install of OAS 10.1.2.
Why doesn't JDeveloper have a check-box or button that reconfigures the application to run on 10.1.2 (J2EE 1.3), there is a check-box to change JDK versions (1.4)? This is suspect to me.
We are going to be speaking with the client this week, and have to state the ADF application works, but NOT on OAS 10.1.2.
Does ADF work on OAS 10.1.3, absolutely, but the client is in 10.1.2 and can not upgrade at this time.
I've read in blogs where lots of developers have the same issues without resolution and Oracle should just come out and state that 10.1.3 does not work on 10.1.2.
So my experience has been a mixed bag with ADF, both in terms of the software and customer support from Oracle.
Similar Messages
-
Is your organization building and deploying J2EE apps? If so, Halo
can help solve one of the toughest issues facing enterprises today:
Finding the root cause of software faults.
"Halo monitors, pinpoints, reports on and provides a source-code level
root cause of software faults in deployed J2EE apps. Halo is unique
because it's the only technology that can give you a root cause
diagnosis in a fully deployed, live production application. Halo has
such low performance overhead that customers deploy their final,
production versions of their applications with Halo enabled.
Used with Web Application Servers like WebLogic, Halo helps ensure
that deployed code is reliable and able to be quickly fixed if
problems turn up. Most important, because Halo is an "always on"
technology, you get all the information you need to rapidly solve a
problem on the first fault. Problem replication and bug reports are
obsolete with Halo
"Halo has a unique ability to provide a root cause diagonosis and
understanding
of software problems in production systems, without needing to
replicate the
issue.
Test on WebLogic proved that Halo runs with extremely low overhead and
is suitable for use in deployed production systems"
Andrew Sliwkowski, Software Engineer
BEA Systems, Inc.
The key is Halo's high performance, low overhead TraceBack
instrumentation technology. Based on technology out of MIT and proven
in the field, TraceBack enables you to instrument JARs, EARs and WARs
within minutes, without touching source code.
Halo is useful throughout the entire application life cycle, from
development through test, beta and deployment.
If you have interest in learning more visit our website at
www.incer.com or email me directly at [email protected] (Rick Martin)I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
Also, you will othe OC4J docs on OTN.
Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
Any help would be greatly appreciated. Thanks in advance. -
Not able to deploy ADF app in weblogic
hi all,
I am using 11.1.1.5 . when I am trying to deploy adf app ,I am getting this error.
An error occurred during activation of changes, please see the log for details.[J2EE:160149]Error while processing library references.
Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false ....... so on
I am not sure what went wrong. can anyone suggestClick on Deployements
Click on adf.oracle.domain(1.0,11.1.1.2.0) library
Click on Targets tab and select the server where the application going to be deployed (
Click on “Save”
Follow same steps from 3 to 5 on following library too
- adf.oracle.businesseditor(1.0,11.1.1.2.0)
- adf.oracle.domain.webapp(1.0,11.1.1.2.0)
Try again deploying,it will work now. -
Is there an alternative way other than manually entering PHP code?
Thanks, It works. Author of the article politely says what many of us have to say to Adobe when they make "improvements" - WTF, Adobe???
From: Ben Pleysier <[email protected]>
To: Jon Lane <[email protected]>
Sent: Saturday, January 31, 2015 1:44 AM
Subject: OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
created by Ben Pleysier in Dreamweaver support forum - View the full discussionWeb development tutorial
Deprecated Server Behaviors for Dreamweaver Creative Cloud
WebAssist A better, more secure and future proof way MySQLi Server Behaviors
Dreamweaver extension
WebAssist If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7148099#7148099 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7148099#7148099 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" Start a new discussion in Dreamweaver support forum by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
Error deploying ADF App (Fusion Web Application) to JBOSS 7.1.1.Final
When i'm deploying ADF App in JBOSS 7.1.1.Final AppServer it gives me the following in JDeveloper 11g release 2 (11.1.2.2.0):
[02:53:17 PM] Target platform is (JBoss 5.x).
[02:53:17 PM] Running dependency analysis...
[02:53:17 PM] Building...
[02:53:17 PM] Deploying profile...
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Runtime
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Controller Schema
[02:53:17 PM] ADF shared library is not available, implicitly deploying library ADF Page Flow Runtime
[02:53:18 PM] Wrote Web Application Module to C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war
[02:54:48 PM] Copied C:\JDeveloper\mywork\ola\ViewController\deploy\ola_ViewController_webapp.war to //10.10.1.11/jboss-as-7.1.1.Final/standalone/deployments/ola_ViewController_webapp.war
[02:54:48 PM] Elapsed time for deployment: 1 minute, 30 seconds
[02:54:48 PM] ---- Deployment finished. ----
On the JBoss side it gives me the stack error: [http://justpaste.it/zom]
I can´t understand what's missing.
Thanks in advance.Ok finally i've done it...it deployed with no errors.
But now when i look it in my browser it just shows me:
<?xml version='1.0' encoding='windows-1252'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center"/>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
Now i'm out of ideas. -
Step by Step Deploying ADF Faces to OC4J 10.1.2
Hi there,
I've already read the previous topic about deploying ADF Faces to OC4J 10.1.2.
But I'm still getting failed to deploy it.
Some clue that I know are:
- Using JDK 1.4.2 (not 1.5)
- Using J2ee 2.3 (not 2.4)
- Using ADF Runtime installer to OC4J 10.1.2
But i've got some problem, when I'm trying to run my project using jdk 1.4.2. It gives me an error like this:
classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
Loader: system.root:0.0.0
Code-Source: /D:/av/src/Jdev1013/jdev/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
Configuration: <ejb> in wrappers
Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /D:/av/src/Jdev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\av\src\Jdev1013\j2ee\home\oc4j.jar
Can anyone tell me how to deploy ADF Faces to 10.1.2 step by step?
Thanx in advance :),
AndreI have the same problem. My applications works fine with Jdev 10.1.3 but after deploying it on the application server I'm getting this error.
Started
adfmobile: jsp: init
adfmobile: Started
adfmobile: resources: init
adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
/index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
Error: jsp:output is not a registered tag in that namespace.
adfmobile: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException:
/index.jspx: Line # 9, <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" xmlns:jsp="http://java.sun.com/JSP/Page"/>
Error: jsp:output is not a registered tag in that namespace.
Any hints?
Regards,
Thomas -
Dear colleagues,
I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
Operation failed with error:
******************** FIRST ERROR (SOLVED)********************************************
Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
Dependent class: amaos.model.common.AmaosModule
Loader: amaos.root:0.0.1
Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
(Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
The missing class is available from the following locations:
1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
This code-source is available in loader adf.generic.domain:10.1.3.1.
This code-source is available in loader adf.oracle.domain:10.1.3.1
Any ideas?
Thanks
Message was edited by:
BenalúaBenalua,
(sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
John -
How to immediately released database connection in jclient form app ?
Hello Steve,
We want our jclient form application could immediately released database connection when its be closed,
We had follow your Weblog technical paper about http://radio.weblogs.com/0118231/stories/2005/02/10/amPoolingConsiderationsForAdfJclient.html , it mentioned following step to release Jclient database connection, but in our jclient project when we close separate jclient form application the database connection seems not immediately released(we monitor through TOAD trace session), the database connection will continue stay alive until we close the all project application.
Call panelBinding.releaseDataControl() method before our form application closed,
Set the AM pool's minimum available size to 0 (zero), and set the idle time and pool monitor interval shorter if the up-to 20-minute wait (in case it takes two wakeup cycles for the AM instance to be idle more than its idle time) is not something you like, or
Disable AM pooling altogether (jbo.ampooling.doampooling=false)In our project application the database connection behavior like following:
1.when we open every Jclient form application , it will establish a new database connection for every form application
2.But when we closed the jclient form application , the database connection still exist
3.But when we open the same jclient form application again, the database connection will not create new database connection , it seems using the same connection when this application first create.
4.when we close the all project application , it will release all database connection.
Could you help us, thanks.
Sincerely from, TIng-RungHello Steve,
We have been study the paper that you mentioned, sorry that we still got some confused about AM pool and jdbc pool, My project bc4j,xcfg like following , could you help us what we missing ?
==============================
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig>
<AppModuleConfigBag>
<AppModuleConfig name="xxxAppModuleLocal">
<jbo.ampool.maxinactiveage>5000</jbo.ampool.maxinactiveage>
<user>xxx</user>
<jbo.project>His</jbo.project>
<AppModuleJndiName>com.xxx.business.module.xxxAppModule</AppModuleJndiName>
<DeployPlatform>LOCAL</DeployPlatform>
<jbo.poolmonitorsleepinterval>10000</jbo.poolmonitorsleepinterval>
<jbo.poolmaxinactiveage>5000</jbo.poolmaxinactiveage>
<JDBCName>NEWNTUHRIS</JDBCName>
<RELEASE_MODE>Stateless</RELEASE_MODE>
<jbo.recyclethreshold>0</jbo.recyclethreshold>
<ApplicationName>com.xxx.business.module.xxxAppModule</ApplicationName>
<java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
<password>xxxx</password>
<jbo.poolminavailablesize>0</jbo.poolminavailablesize>
<DBconnection>jdbc:oracle:thin:@10.0.0.8:1521:xxx</DBconnection>
<jbo.ampool.minavailablesize>0</jbo.ampool.minavailablesize>
<jbo.ampool.monitorsleepinterval>10000</jbo.ampool.monitorsleepinterval>
</AppModuleConfig>
</AppModuleConfigBag>
<ConnectionDefinition name="xxx">
<ENTRY name="JDBC_PORT" value="1521"/>
<ENTRY name="ConnectionType" value="JDBC"/>
<ENTRY name="HOSTNAME" value="xx.xx.xx.xx"/>
<ENTRY name="DeployPassword" value="true"/>
<ENTRY name="user" value="xxx"/>
<ENTRY name="ConnectionName" value="xxx"/>
<ENTRY name="SID" value="xxx"/>
<ENTRY name="password">
<![CDATA[{904}0505E5FED797881374FDE8BD1606B6CF01]]>
</ENTRY>
<ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
<ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
<ENTRY name="DeployPassword" value="true"/>
</ConnectionDefinition>
</BC4JConfig>
and our jclient code to release connection like following:
tabbedPane.addCloseListener(new CloseListener(){
public void closeOperation(MouseEvent e){
cleanTabComponentListener(tabbedPane.getComponentAt(tabbedPane.getOverTabIndex()));
tabbedPane.remove(tabbedPane.getOverTabIndex());
UPanelBinding panelbd = tabbedPane.getPanelBinding();
panelbd.releaseDataControl();
panelbd.getBindingContext().release();
} -
Database Lite and JDeveloper / ADF
Hello,
I'm planning to create a small application which will run on mobile PC in an off-line mode, having synchronization with master DB once connected to the proper network.
The main architecture on the target PC may be :
- Oracle Lite
- GlassFish
- ADF application
I downloaded JDeveloper 11.1.1.3.0 and the latest version of Oracle Lite (10.3.0.3).
I'm looking the tutorials but none of them are talking about the JDeveloper 11g version, they all speak about BC4J/OC4J. Since I'm new to Oracle's product I don't know these "products" (framework ?) and in the 11g version this seems to have disappeared.
Are those versions compatible with each other ?
Will the tutorial work ?
Regards
PS: the same thread is present on the JDeveloper forumThe main thread will be the one on JDeveloper section :)
==> Database Lite and JDeveloper / ADF -
JBO-33001 bc4j.xcfg CLASSPATH problem in deployed java web service
Hi
I have deployed a web service that uses a simple java class to update some BC4J EO's.
I have included the deployed jar files in the OC4J Classpath.
I have also deployed the web service to the application server.
I then call the web service from BPEL.
During the web service call, I'm getting the following exception:
exception on JaxRpc invoke:
start fault message:
oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /cb/test/peoplebc/common/bc4j.xcfg in the classpath at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
I've checked that the file is deployed in the MiddleTier jar file, so not sure what to do.
Any ideas most appreciated.
Cheers
ChrisHi,
This may sound a bit stupid, but as a quick and dirty solution i just copied the common directory with the bc4j.xcfg file where it is looking for it. This makes it at least work. Any updates to the xcfg file done will of course not be reflected.
Regards, G -
We have developed an application using JDev Version 11.1.2.1.0 and the database is oracle 11g EE.
We have many database procedures or function calls from the model (AMImpl.java, VORowImpl.java) and the commit does not happen in the database and it happens from ADF. The database procedures are called in some valueChangeListnener and these procedures use the same transaction or session database session when called and update some records in some tables that are displayed in pages.
We started using connection pooling recently in our ADF application, -Djbo.doconnectionpooling=true -Djbo.txn.disconnect_level=1. When using connection pooling, we noticed that the database procedure calls use a different trasanction or different database session and the data or records that these procedures update is lost.
After removing the connection pooling, we noticed that the procedures again started using the same transaction or same database session and was working fine.
I want to know why this connnection pooling caused this issue and is there any fix for this when using connection pooling?Take a look at
http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#CIHCHHEA
What You May Need to Know About Database User State and jbo.doconnectionpooling = true
As you can see:
"At the end of the request when the application module is released back to the application module pool, that application module pool releases the JDBC connection it was using back to the database connection pool. It follows that with jbo.doconnectionpooling set to true the application module instance in the pool may have a completely different JDBC connection each time you check it out of the pool"
So, the best you can do, is to revert jbo.doconnectionpooling to false. -
Database constraints and Struts ADF
I have a struts ADF project and wish to pick up unique constraint violations from the database(only the database)
How and where to i trap these violationsThe toy store demo has two java classes called
toystoreDBtransactionfactory & toystoreDBtransactionimpl.
These are used to overide the default functionality of
DBtransaction and DBtransactionimpl. The configuration
manager (right click your bc4j application module) allows you to set the database transactionfactory class to the overriden classes. The toystore routines basically capture the databse constraints and reformat the messag einto something more meaningful.
When i run the bc4j tester the changed routines function correctly for example when doing an insert.
With a struts jsp program a similar insert doesn't trigger the changed routines so i just get the database error comiing back to the screen. -
What are best practice for packaging and deploying j2EE apps to iAS?
We've been running a set of J2EE applications on a pair of iAS SP1b for about a year and it has been quite stable.
Recently however we have had a number of LDAP issues, particularly when registering and unregistering applications (registering ear files sometimes fails 1st time but may work 2nd time). Also We've noticed very occasionally that old versions of classes sometimes find their way onto our machines.
What is considered to be best practice in terms of packaging and deployment, specifically:
1) Packaging - using the deployTool that comes with iAS6 SP1b to package is a big manual task, especially when you have 200+ jsp files. Are people out there using this or are they scripting it with a build tool such as Ant?
2) Deploying an existing application to multiple iAS's. Are you guys unregistering old application then reregistering new application? Are you shutting down iAS whilst doing the deployment?
3) Deploying ear files can take 5 to 10 mins, is this normal?
4) In a clustered scenario where HTTPSession is shared what are the consequences of doing deployments to data stored in session?
thanks in asvance for your replies
OwenYou may want to consider upgrading your application server environment to a newer service pack. There are numerous enhancements involving the deployment tool and run time layout of your application that make clear where you're application is loading its files from.
If you've at a long running application server environment, with lots of deployments under your belt, you might start to notice slow downs in deployment and kjs start time. Generally this is due to garbage collecting in your iAS registry.
You can do several things to resolve this. The most complete solution is to reinstall the application server. This will guarantee a clean ldap registry. Of course you've got to restablish your configurations and redeploy your applications. When done, backup your application server install space with the application server and directory server off. You can use this backup to return to a known configuation at some future time.
For the second method: <B>BE CAREFUL - BACKUP FIRST</B>
There is a more exhaustive solution that involves examining your deployed components to determine the active GUIDS. You then search the NameTrans section of the registry searching for Applogic Servlet *, and Bean * entries that represent your previously deployed components but are represented in the set of deployed GUIDs. Record these older GUIDs, remove them from ClassImp and ClassDef. Finally remove the older entries from NameTrans.
Best practices for deployment depend on your particular environmental needs. Many people utilize ANT as a build tool. In later versions of the application server, complete ANT scripts are included that address compiling, assembly and deployment. Ant 1.4 includes iAS specific targets and general J2EE targets. There are iAS specific targets that can be utilized with the 1.3 version. Specialized build targets are not required however to deploy to iAS.
Newer versions of the deployment tool allow you to specify that JSPs are not to be registered automatically. This can be significant if deployment times lag. Registered JSP's however benefit more fully from the services that iAS offers.
2) In general it is better to undeploy then redeploy. However, if you know that you're not changing GUIDs, recreating an existing application with new GUIDs, or removing registered components, you may avoid the undeploy phase.
If you shut down the KJS processes during deployment you can eliminate some addition workload on the LDAP server which really gets pounded during deployment. This is because the KJS processes detect changes and do registry loads to repopulate their caches. This can happen many times during a deployment and does not provide any benefit.
3) Deploying can be a lengthy process. There have been improvements in that performance from service pack to service pack but unfortunately you wont see dramatic drops in deployment times.
One thing you can do to reduce deployment times is to understand the type of deployment. If you have not manipulated your deployment descriptors in any way, then there is no need to deploy. Simply drop your newer bits in to the run time space of the application server. In later service packs this means exploding the package (ear,war, or jar) in to the appropriate subdirectory of the APPS directory.
4) If you've changed the classes of objects that have been placed in HTTPSession, you may find that you can no longer utilize those objects. For that reason, it is suggested that objects placed in session be kept as simple as possible in order to minimize this effect. In general however, is not a good idea to change a web application during the life span of a session. -
Database connection and what is the best method
Hi - I am new at this, so hopefully someone can point me in the right direction.
looking at a project costing form where specific users need to complete a form with some prepopulated data expense data
The data is in a local Access database at the moment, with plans on moving it to a web sql tables.
Overview
I would like to be able to open a main form, select various criteria
(ie select Project Number)
push button to load data the specific project data
push button to extend reader functionality and save as with a new name based on project number
After review, push button to send PDF to user by email (email address is in the loaded data).
User is able to save data locally on his PC (save capability with the extended reader functions)
When user finished, he can send pdf back to me for data upload to the database
Question 1:
I am looking at the ODBC connection strings and javascript to do this.
Is this possible? If so, what is the best way to do this?
Question 2:
Once the "extend features" has been used, can javascripts be used to load different data or extended the Reader functions can only be done after the data is loaded?
Any help or assistance as to where to look would be greatly appreciated.As long as your database provides an ODBC driver then it can be used to access the DB. Please see my answers below for the rest of your queries.
Paul
I would like to be able to open a main form, select various criteria (ie select Project Number) push button to load data the specific project data
<answer> This is doable. There are samples published but note that it will involve some javascript coding to accomplish
push button to extend reader functionality and save as with a new name based on project number
<answer> This woudl have to be done through Acrobat and woudl involve some manual intervention. Do you intend on sending the form with the data connection information to them? I woudl recommend that a separate form be used for this. The data connection may cause problems for them when they open the form (remember that they will not have access to the DB).
After review, push button to send PDF to user by email (email address is in the loaded data).
<answer> not an issue
User is able to save data locally on his PC (save capability with the extended reader functions)
When user finished, he can send pdf back to me for data upload to the database
<answer> The form that they have will not be able to do DB connections so I woudl send back just the data. Then you can import it into your version of the form (that does DB connections) and you can do the update from that.
Question 1:
I am looking at the ODBC connection strings and javascript to do this.
Is this possible? If so, what is the best way to do this?
<comment> I just did a presentation on this topic .....here is the playback recording. It also has samples that show how to do it.
http://adobechats.adobe.acrobat.com/p69655795/
Question 2:
Once the "extend features" has been used, can javascripts be used to load different data or extended the Reader functions can only be done after the data is loaded?
<commment> The RE functionality in Reader will only allow them to save the PDF locally. I do not know how big this project is but if this is only for a few users, then I woudl buy Acrobat for your people (this gives them the ability to do the DB connection as well as RE to allow for the Customer to save the form locally). If this is a large project I woudl go down the LiveCycle Server path and woudl pre-populate the forms on the server. Note that this would be at least a 100K solution whereas the Acrobat woudl be the price of Acrobat times the number of users that you have.
Make sense? -
Too many database connections and configurator logins ?
Hi,
We're having some performance and/or stability problem with Oracle Waveset 8.1.1. patch 2.
I'm not sure what the problems is yet, but two facts got my attention:
I noticed for too many database connections waiting to be closed on the OS, varying between 600 and 1200 :
TCP: IPv4
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
doesburg.ic.uva.nl.33555 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
doesburg.ic.uva.nl.33556 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
doesburg.ic.uva.nl.33557 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
doesburg.ic.uva.nl.33558 hopewell.ic.uva.nl.1539 49640 0 49640 0 TIME_WAIT
etc.
(doesburg is our Solaris 10 server where the tomcat application server is installed, hopewell is our Oracle 10g database server )
I also noticed numerous Configurator logins in the audit log, about 10 per second:
Audit Event Details
Timestamp 03/15/2011 04:37:05 PM MET
Subject CONFIGURATOR
Action Login
Result Success
Identity System Type User
Object Name CONFIGURATOR
Server DOESBURG.IC.UVA.NL
Sequence Number No Value
Interface BPE
Resource No Value
AccountId No Value
Message No Value
Changes No Value
Organization Membership Top
Event Parameters
Session ID #SESS#15E4CCFDD2645B36:10C191A6:12EB99FCC85:-5A50
Configurator logins on the BPE interface which we don't use?
Has anyone seen something like this before? What could cause it?
Greetings,
MarijkeI'm still struggling with this problem. Our database administrator did add some tracing, and we see these type of queries:
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT task.id, task.type, name, :"SYS_B_0", :"SYS_B_1", summary, :"SYS_B_2", :"SYS_B_3", xmlSize, :"SYS_B_4"
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT object.id, object.type, name FROM object WHERE object.type=:"SYS_B_0"
SELECT tstamp, id, version, changeType FROM orgchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM rolechange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
SELECT tstamp, id, version, changeType FROM objchange WHERE tstamp > :1 AND type=:2 ORDER BY tstamp
541 seperate logon sessions by waveset in about 2 minutes.
Has anyone seen this? What could cause it?
Greetings,
Marijke
Maybe you are looking for
-
I just downloaded iPhoto upgrade for my Macbook. I just bought Lion and wanted to upgrade my iLife suite. I downloaded this and it works great. I looked the other day at the App Store and saw it said upgrade beside iPhoto. I clicked it and it told me
-
Certificate Problem When Downloading Pictures
My phone has a probleme of certificate an is not downloding pictures. What am i supose to do? Moderator's Note: The subject was amended as the post was moved to the more appropriate board.
-
Sleep or shut down at night?
Hi, it just occurred to me that in summer with frequent lightning storms especially during the night, might it be a good idea to shut the computer down and disconnect the power adapter at night? I tend to use the computer plugged in during the day, w
-
Cover Flow does alpha channels -- almost!
Just for fun, inspired by the semi-transparent musical note default cover art, I tried adding some artwork (PICT with alpha channel) for some albums. It works! For example (one I think most people would recognize, even if it dates me somewhat): Pink
-
How can I get back my text tone?
After updating to 7.0.2, my 4S no longer makes a sound when text comes through. I checked all settings and even changed the tones a couple times. This phone was perfect before the update! Annoying, to say the least. I have to keep checking to assure