Issue while deploying dynamic region to stand alone server
Hi,
In my application there is one page I have panel splitter, where i have drag and dropped menu-taskflow as regionModel, and created dynamic region on second facet panel.
<af:region value="#{bindings.menutaskflow1.regionModel}" id="r1"/>
<af:region value="#{bindings.dynamicRegion4.regionModel}" id="r2"/>
I have created application level class to handle dynamic region loading.
This settings are working fine when i run application with integrated web logic server, When I deployed my application to stand alone server, its giving me exception as
java.lang.IllegalStateException: The expression "#{bindings.menutaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{bindings.menutaskflow1}" evaluates to "null".
If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
at jsp_servlet.__editopportunity_jspx._jspx___tag18(__editopportunity_jspx.java:923)
at jsp_servlet.__editopportunity_jspx._jspService(__editopportunity_jspx.java:452)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I tried to update bindings with data level binding as
<af:region value="#{data.view_MenuPageDef.menutaskflow1.regionModel}" id="r1"/>
<af:region value="#{data.view_MenuPageDef.dynamicRegion4.regionModel}" id="r2"/>
but it is rendering empty page with another exception..
Please help
Regards,
Meera
Hi,
Check
Runtime errors with ADF Dynamic region
java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
Problem with bounded task flow: binding lost?
Similar Messages
-
Issue while deploying Agentry application on local SMP server
Hello Experts,
I have deployed a customized SAPWM application on the SMP 2.3 server.
I am referring to the tutorial maintained at the following URL :http://scn.sap.com/docs/DOC-43353
After deployment, the status of the application is shown as "running_without_metadata".
Few sections from my agentry.INI (present under application's root folder (C:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\com.sap.agentry.wm53) are as follows.
[HTTPXML-2]
authenticationCertificateStore=MY
authenticationCertificateStorePassword=
authenticationCertificateStorePasswordEncoded=False
autoDequote=True
baseURL=http://localhost:8282
basicAuthenticationPassword=
basicAuthenticationPasswordEncoded=False
basicAuthenticationUserID=
constantsFile=httpxml_sd.ini
enableAuthentication=False
enablePreviousUserAuthentication=False
httpConnectTimeout=60
httpReceiveTimeout=300
httpResolveTimeout=60
httpSendTimeout=300
listenOn=8282
name=HTTP-XML Back End
timeZoneName=
timeout=300
trustedCertificateStore=
useSSL=False
xmlAllowXSLTScript=True
xmlNamespaces=
xmlResolveExternals=True
xmlValidateOnParse=True
[Java-1]
classPath=./ini4j.jar;./sapjco.jar;./Agentry-v5.jar;./SAPWM-5.3.0.0.jar;./SAPCommon-122971.jar;WMDeloitte.jar;
constantsFile=
deleteSource=True
enableAuthentication=True
enablePreviousUserAuthentication=False
initialHeapSize=256
maxHeapSize=512
name=Java Back End
outputDirectory=.
performCompile=False
printBusinessLogicStackTrace=False
printStackTrace=False
reduceOSSignalUse=True
scriptsPath=
serverClass=com/syclo/sap/workmanager/Server
sourceDirectory=.
timeZoneName=
[File-1]
name=dos
enableAuthentication=false
enablePreviousUserAuthentication=false
allowPreviousUserLogin=false
userDomain=dev
tempPath=
[Configuration]
apnsCertificateDirectory=apnsCertificates
apnsCertificatePassword=Rzdrj~SwixoAqzmbVxgi
apnsCertificatePasswordEncoded=True
apnsEnabled=True
applicationGlobalsFile=Globals.ini
applicationStringsFile=ApplicationText.ini
clientStringNamesFile=ClientStringNames.ini
clientStringsFile=ClientText.ini
developmentServer=False
enableFailedTransactionLogging=True
enableOverrideFile=Enables.ini
enableTransactionFailureHandling=False
failedTransactionFilenameFormat=%{userid} %{transaction_name} %{date} %{time}-%{count}.xml
failedTransactionsQueue=FailedTransactionsQueue
gcmEnabled=True
gcmServerAuthorizationKey=Authorization:key=AIzaSyDi0qWQEewdbmNSV_o9QNtSQrlxPnBXtBM
gcmServerLink=https://android.googleapis.com/gcm/send
imagesPath=Application\Development\Images
localizationPath=
localizations=
overrideInfoTableDirectory=OverrideInfoTable
overrideTypesFile=OverrideTypes.ini
postedTransactionDirectory=posted
postedTransactionFile=%{device}.pli
scriptsPath=Application\Development\Scripts
spinDocIniFile=
threadCount=0
transmitConfigurationFile=TransmitConfigurations.ini
trustedCertificateStore=
updateIdleWait=60
updatePeriod=60
[Web Server Front End]
listenOn=80
permitGetCGI=true
xslDirectory=xsl
resourceDirectory=resource
authenticationCertificateStore=AgentryServer.pfx
authenticationCertificateStorePassword=Rzdrj~SwixoAqzmbVxgi
authenticationCertificateStorePasswordEncoded=true
When I connect this application from my iPad with my machine's IP and port as 7003, I get an error saying "Invalid password for User <username>".
When I debugged this application in the ECC, in the BAPI /SYCLO/CORE_SUSR_LOGIN_CHECK, I saw that the Password being sent to the ECC was blank, inspite of entering the password on the application. (have run it for another user in ECC in the below screenshot).
Is something missing in the agentry.INI or application configuration on the SCC which is causing this issue?
Any help will be appreciated.If you are getting "running_without_metadata" this means the Agentry server did not load any application on start up.
1) In your Agentry.ini in the [Configuration] section what is developmentServer set to?
2) Depending on the value is where the Agentry Server looks for the application logic in the following locations:
Set to" True"
C:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\com.sap.agentry.wm53\Application\Development\
Set to false:
C:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Agentry\default\com.sap.agentry.wm53\Application\Production
In the above folder does it contain your application logic?
Stephen -
Getting Duplicate Object existing issue while deploying the BIAR file
Hi All,
We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
Error Message:
[report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
[report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
[report] Failed to commit objects to server : Duplicate object name in the same folder.
[report]
[report] [InstallEntSdkWrapper.main] BIAR File could not be imported
If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
Cheers!That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
Sincerely,
Ted Ueda -
Calendar and Time showing in arabic but my phone's language is English. I bought my phone from DU in UAE , Dubai. Please help me solve this issue while keeping the Region to United Arab Emirates
Valentine350z wrote:
while keeping the Region to United Arab Emirates
Not possible, I think. Tell Apple how you feel about this at
http://www.apple.com/feedback/iphone.html -
Facing issue while deployment on 11.1.1.6 soa server
Problem Summary
Facing issue while deployment on 11.1.1.6 soa server
Problem Description
We are facing issue while deploying a bpm project over a newly built bps-soa server 11.1.1.6.
While we are deploying a bpm project, first it is taking around 40mins to create .jar file and then while deploying, it is getting failed with transaction timed out error.
"composite: Onboarding: javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 second".
we have tried with changing all transaction parameters also like JTA,XA( as similar to our exiting running QA/PROD environment which is on 11.1.1.5) but even then facing the same issue.
The code were originally build over 11.1.1.5 version, for the first time opening with jdev, code gets migrated and over the upgraded code we did some business specific changes and now trying to deploy over the new server.
Code is getting successfully compiled and also .jar file is creating properly but while deployment facing error(As shared earlier).
Also tried to deploy the same .jar file using em consle(to soa-infra) but facing similar issue.
Error Codes
Problem Category/Subcategory
BPM 11g installation issues
Uploaded Files
Template Question Responses
1) ### Product Versions Including Build Numbers ###
BPM SOA suite 11.1.1.6
2) ### Is the Issue Reproducible ###
Yes, mentioned in issue detailes.
3) ### OS Version ###
SunOS xxxxx 5.10 Generic_144488-06 sun4v sparc SUNW,T5440
More logs:
Name
=== ODM Data Collection ===
[2013-02-27T01:10:59.436-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
[2013-02-27T01:11:17.402-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
[2013-02-27T01:11:18.147-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] BPEL Component "default/Onboarding!2.0*soa_8130f118-f9b5-462a-8e75-5ec0f34b45bd/Remediation" successfully loaded.
[2013-02-27T01:11:18.166-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to activate process Remediation[[
javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:156)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:595)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:842)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:636)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:151)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:243)
Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-172EC48037986ACD0C13
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
... 2 more
FileName
soa_server1-diagnostic-2.log2 things must be noticed:
First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
I did over 20 windows installations using these settings, it'll work perfectly.
Regards.
Luiz Araujo -
PI 7.0 Java stack config of the stand-alone server to new cluster system
Hi colleagues,
we have a PI installation in stand alone server (SAP with abap +
java and Oracle in the same server)
The system number of the ABAP stack is 00, and we are conecting to the
Java stack to the for example the URL
http://hostname:50000/rep/start/index.jsp
We have installed a new PI in a MSCS and in some weeks, we´ll have to
copy the database and configuration of the stand-alone server to the
new cluster system. In the SAP PI installation on the MSCS, we have
confirmed that with the ABAP stack, we won´t have any issue because the
ASCS has the system number 00 (message server), so we only have to
install a SAP system in each nodes without care these new system
numbers because we are configuring a Logon group but the question is in
the Java stack... The SCS (service in the cluster) has the 01 system
number...
What is the best way to keep the same URL to the Java stack that in the
stand-alone server? (remember:
http://hostname:50000/rep/start/index.jsp )
Have we to install a Webdispatcher in the MSCS and one Java stack in
each node of the cluster? we think that is right but we have a lot of
doubts about the URL, the files of the Java (if they are stored in
local disk in one node, how are they replicated to the second node?)
and so on....
Could you give us any suggestion to make the "migration" from the stand-alone to a cluster in a transparent way for the users?
Thanks in advanced and kind regards !!
VictorThanks a lot.
For information
Our central SLD is on a standalone system
However slave SLD (to ensure autonomy and HA for production XI system) will be deployed on Java separated hardware system of Xi production system.
On master SLD all systems are described and all machine are linked with it (SLDAPICUST) except production XI one
On slave SLD, all data of master one are replicated and only XI system is linked with (SLDAPICUST) -
How to use dbxml as a stand alone server?
Dear All
Is there any way to launch dbxml as a stand alone server?
What I want to do is the following.
I am using PHP and creating a web site on which users can search information stored in dbxml.
So far each time client (browser) come to the page,
php code opens the database and containers as
$env = new Db4Env();
$env->open(path, DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN);
I wonder if I can run the dbxml as like daemon, so that I do not need to open the database each time,
and only thing I need to do is to connect to the server.
Thank you for any advise or comments in advance.
oyasainot only should you do this, but you have to do it to make sure that your database does not get corrupted in a multi request/multi threaded environment. However, there are weird requirements when working with recovering databases and corruption, especially in a dynamic language. We are using python and then coded a front end server with the Twisted framework with a lot of success (single threaded access to manage corruption). Then, all of our web apps talk to the twisted server in the same way as you would a mysql server. It is python, but if you are interested in working with it I can try to get this code out to you personally (I've been wanting to open source the code for a while now) - or if you want to do the same in php I can get you the big concepts which make it different than a traditional mysql or http server.
Email me at eleddy at janushealth dot com if you are interested - it could be a long discussion :)
hth,
eleddy -
Problem while deploying ADF application to standalone WLS server
Hi,
I am facing a problem while deploying ADF application to standalone WLS Server.
Following is the error message that I am getting.
[07:24:03 PM] ---- Deployment started. ----
[07:24:03 PM] Target platform is (Weblogic 10.3).
[07:24:07 PM] Retrieving existing application information
[07:24:08 PM] Running dependency analysis...
[07:24:08 PM] Building...
[07:24:13 PM] Deploying 2 profiles...
[07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
[07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
[07:24:14 PM] Deploying Application...
[07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
[07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
[07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
[07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
[07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
[07:24:27 PM] See server logs or server console for more details.
[07:24:27 PM] weblogic.application.ModuleException:
[07:24:27 PM] #### Deployment incomplete. ####
[07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
Thanks
AjayI logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
Also, please let me know how to configure the app to not to auto-deploy JDBC data sources -
Error when execute Stand Alone Server
Hi All,
After installation Java Development Environment Release 6.20. I tried to execute the Stand Alone Server, but this error message occured:
Loading core services:
Starting core service monitor ... done.
Starting core service p4 ... done.
Starting core service log ... done.
Starting core service dbms ... done.
Starting core service security ... done.
System Exception * Fail to start Naming. Exception is: java.security.AccessContr
olException: access denied (com.inqmy.lib.security.DomainsEnumerationPermission
ProtectionDomainEnumeration)
java.security.AccessControlException: access denied (com.inqmy.lib.security.Doma
insEnumerationPermission ProtectionDomainEnumeration)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:269)
at java.security.AccessController.checkPermission(AccessController.java:
401)
at com.inqmy.core.policy.PolicyManager.getProtectionDomainStack(PolicyMa
nager.java:311)
at com.inqmy.core.service.context.container.security.DefaultProtectionDo
mainContext.getProtectionDomainStack(DefaultProtectionDomainContext.java:99)
at com.inqmy.services.security.domains.ProtectionDomainManagerImpl.getPr
otectionDomainStack(ProtectionDomainManagerImpl.java:96)
at com.inqmy.services.jndi.InitialContextFactoryImpl.getInitialContext(I
nitialContextFactoryImpl.java:72)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at com.inqmy.services.jndi.JNDIFrame.bindReferences(JNDIFrame.java:278)
at com.inqmy.services.jndi.JNDIFrame.start(JNDIFrame.java:176)
at com.inqmy.core.service.application.ApplicationServiceRunner.startFram
e(ApplicationServiceRunner.java:55)
at com.inqmy.core.service.container.ServiceRunner.run(ServiceRunner.java
:126)
at com.inqmy.core.thread.impl2.SingleThread.run(SingleThread.java:118)
Starting core service naming ... done.
Please Help.
Warm regard,
Edward.The error is caused by JDK 1.4.*
Thank you
Edward. -
11g HTTP Stand Alone Server Media
Does anyone know where the 11g HTTP Stand Alone Server media is located for download. It used to come with the companion CD in 10g, but this is the statement in the Oracle Documentation - "Oracle HTTP Server: Starting with Oracle Database 11g, Oracle HTTP Server is available on a separate media shipped with Oracle Database. In the previous releases, this product was available as a Companion CD component.".
Can anyone provide a link to the download? As its not with the 11g database download....But there is still a copanion CD (it is called examples now).
http://www.oracle.com/technology/software/products/database/oracle11g/111060_linx8664soft.html
Dim -
BI Publisher Stand Alone Server
HI,
where i can download BI Publisher Stand Alone Server for Windows 7 Home Basic.
Thanks
NagaSimple Answer.. You are in the WRONG forum.. Try this one: BI Publisher
Thank you,
Tony Miller
Webster, TX -
Issue while Deploying Project through JDeceloper to server
HI,
Error finding SOA configured servers to deploy. Deployment cannot continue.
Javax.naming.communicationException [Root exception is java.net.ConnectionException: t3://blr-ro-narik.in.xxx.com:7001:Destination unreachable; nested exception is: java.net.protocolException: unrecognized response from proxy:’HTTP/1.1.502 Proxy Error (The specified Secure Sockets Layer (SSL) port is not allowed. ISA Server is not c onfigured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. ); No available router to destination].
Note:- The above error, i am getting while deploying a project through "Application Server" to Admin Server.
If any1 knows regarding this issue,please Let me know detailed.
Regards
NarikHi,
Check
Runtime errors with ADF Dynamic region
java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
Problem with bounded task flow: binding lost? -
Exceptions arsing while accessing DataSource from a stand alone java clie
Dear all responders,
can any one help in resolving my problem??the problem description is as follows:
i am using sun one application server 7.0 to deploy a J2EE Apllication
so i have created a data source using the admin page with the name
"nodbsession".now i want to access this datasource using a stand alone java client and want to establish a connection to database.i am using the following code snippet to do so
**code is as follows**
Hashtable env=new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:3700");
System.out.println("creating context");
Context ctx =new InitialContext(env);
System.out.println("created successfull");
DataSource ds =(DataSource)ctx.lookup("nodbsession");
/* by using like this also it is not working
DataSource ds =(DataSource)ctx.lookup("java:comp/env/jdbc/nodbsession");
i am able to obtain the context succussfully but the exception is thrown for the data source look up
the following exception is thrown
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at Test.<init>(Test.java:27)
at Test.main(Test.java:47)
please help me in resolving the above problem
advance thanx to all those who intend to reply
please provide me a proper resolutionI think the appserver uses com.sun.enterprise.naming.SerialInitContextFactory on the server side to register different resources. Anything registered with SerialialInitContextFactory cannot be resolved with a CNCtxFactory.
Can you try using SerialInitContextFactory on the client side. -
Web Services - Issue with running OC4J stand alone server from JDeveloper
I created a stand alone OC4J App. server instance in JDeveloper. I deployed my Webservice (WebServices.deploy) to that OC4J server.
Now I want to test my web service. I opened a browser window and I specfied the URL as
http://localhost:<RMI Port#>/<Project1>-context-root/<Webservice name>.
Default RMI Port#23791.
http://localhost:23791/<Project1>-context-root/<Webservice name>.
and I am getting the following error message
ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol.
Could you please let me know, what's going on.
Thanks!OK, so there's two threads in this email.
1. When using a Web browser client and an OC4J standalone instance, the default address of the OC4J website is http://host:8888/.
The port you keep referring to is the ORMI port. That is a different protocol that is used with EJBs, and our remote deployment mechanism. As you have observed, JDeveloper uses it to deploy to the OC4J instance.
2. The root problem you are seeing is related to the message you posted on the console.
OC4J 10g (10.1.3) Default Web Site. Application: bc4j does not exist. Error creating Web application: webapp
Because this web app is misconfigured, its not starting so you can't access it.
In the j2ee/home/config/default-web-site.xml file, there is a reference to an application called BC4J -- which is not available on the server as a deployed application.
So you need to correct that situation -- BC4J is not normally present in a vanilla OC4J standalone distribution.
You can try editing the j2ee/home/config/default-web-site.xml file and remove the <web-app> entry that mentions BC4J and then try starting OC4J.
If you don't have a lot of time invested in configuring the instance, you could also try extracting oc4j_extended.zip again and starting with a fresh one.
cheers
-steve- -
Issues while deploying Spring 3+Hibernate 4+Weblogic 12C app
Hi,
We are migrating spring 2.5 to 3.1 and hibernate 3.4 to 4.1 During this migration, we got some JPA2 issues on weblogic 10.3, so we moved to weblogic 12C to get hibernate 4 working ...but getting below exception while deploying the war. Please guide.
java.lang.NoSuchMethodError: org.hibernate.cfg.Configuration.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;
My POM file is,
<dependencies>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.0.b2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<!--<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-faces</artifactId>
<version>${springWebFlow.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf.version}</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.1.Final</version>
<exclusions>
<exclusion>
<artifactId>antlr</artifactId>
<groupId>antlr</groupId>
</exclusion>
</exclusions>
</dependency>
<!--<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jmx</artifactId>
<version>3.3.2.GA</version>
</dependency>-->
<!--<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>3.3.0.ga</version>
</dependency>-->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>weblogic</groupId>
<artifactId>weblogic.jms.client</artifactId>
<version>11</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils-core</artifactId>
<version>1.8.3</version>
</dependency>
<dependency>
<groupId>commons-dbutils</groupId>
<artifactId>commons-dbutils</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.1.1.Final</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.9.RC1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.9.RC1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.1.0</version>
</dependency>
<dependency>
<groupId>commons-jxpath</groupId>
<artifactId>commons-jxpath</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2.1.1</version>
<exclusions>
<exclusion>
<artifactId>stax-api</artifactId>
<groupId>javax.xml.stream</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
</dependency>
<dependency>
<groupId>com.cgi.sipcip</groupId>
<artifactId>SipCipBuild</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.4.2</version>
</dependency>
<dependency>
<groupId>com.googlecode.ehcache-spring-annotations</groupId>
<artifactId>ehcache-spring-annotations</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<exclusions>
<exclusion>
<artifactId>antlr</artifactId>
<groupId>antlr</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.0.1</version>
</dependency>
<!-- Lab Upgrade change for spring 3.1.1-->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.6</version>
</dependency>
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>1.5.3</version>
</dependency>
</dependencies>
Thanks
Shilpa984456 wrote:
java.lang.NoSuchMethodError: org.hibernate.cfg.Configuration.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;
Thanks
ShilparClear indication of class path issue, please correct the hibernate files. appropriately.
Hope this helps.
Regards,
Jeets.
Maybe you are looking for
-
Running out of hard drive space---can I use my external hard drive-??
I have a 16GB iPod nano. I hope I can explain my problem well enough. My laptop computer has the iTunes that I use for syncing my iPod. It has over 25gb of songs in it, but my problem is that it has completely run out of hard drive space, and I don't
-
How to change the Schema Location ??
Hi , I need to change the Schema name which is registered through the Deployment Manager . OWB allows all other Parameters to change except the Schema name . Any workaround ???
-
How to upgrade SCCP 7960 phone to SIP
Someone asks me to convert a phone to SIP to do some SIP tests. I only have a callmanager 4 at this time, which I wanted to use for this upgrade. I copied all SIP firmware to the TFTP folder, changed the load in the device (on ccm 4.1) to the good lo
-
Can you help me find pix that I stupidly made a new folder in temp files and now can't find my pictures?
-
Installing TungstenE to Windows 7
I am a Volunteer here, not employed by HP. You too can become an HP Expert! Details HERE! If my post has helped you, click the Kudos Thumbs up! If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you