Unable to deploy App more than once, ClassLoader Issues
Here is a way to solve your problem.
try to use
Runtime.getRuntime().load(absolute_library_path);
However, make a copy of the library you tried to load and name it uniquely such
as
append the current miliseconds.
After completed loading the library into the Runtime, new File(new_library_path).delete();
or you can try to use deleteOnExit() (createdTempFile instead).
"Bob H" <[email protected]> wrote:
>
I am working on a project that relies on the SAP Java Connector (JCO).
This "connector"
consists of a JAR containing some Java classes, and some native platform
libraries
(i.e. DLLs for Windows). The problem is I can only deploy the application
once
on a running WL Server 7.0 node. If after the first deployment I remove
the application
(via the WL server console) and try to redeploy, deployment works fine,
but the
JVM will not be able to load the SAP JCO stuff... if fails on calling
the native
library with an ExceptionInInitializerError:
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not
load middleware
layer 'com.sap.mw.jco.rfc.MiddlewareRFC' Native Library C:\WINDOWS\system32\sapjcorfc.dll
already loaded in another class loader
Based on this error message it appears that the class loader created
for the previous
deployment still exists (even though the application is no longer deployed),
and
therefore still has a hold on the native library (which apparently can't
support
multiple processes).
What I have to do is stop the server, start back up and then redeploy.
This is
a very exhausing ordeal during development, and also leads to a not-very-flexible
situation for production.
Does anyone know if there a way to terminate this other classloader instance
while
the server is running?
Thanks,
Bob
Similar Messages
-
Having to update apps more than once
When I launch the app store (Lion 10.7.1) and go to updates, it shows me which apps need updating so I proceed to update. After installation I quit the app store but if I launch the app store again, say 10 minutes later, the very same apps are listed as requiring an update. This happened 3 times for one app!
Is anyone else having this issue and is there a fix?
Many thanks
MarkWhen I launch the app store (Lion 10.7.1) and go to updates, it shows me which apps need updating so I proceed to update. After installation I quit the app store but if I launch the app store again, say 10 minutes later, the very same apps are listed as requiring an update. This happened 3 times for one app!
Is anyone else having this issue and is there a fix?
Many thanks
Mark -
Unable to Run Form more than once!
Hi,
1. I create an oracle 10g Form
2. I am trying to "Run Form" from within the Forms Builder. It runs OK.
3. I close the IE, and try to "Run Form" again. It fails!
My problem is that my form runs only the first time!!!
However, If i try to run it manually by opening the IE and type: http://EH011W04G.greece.clb:8889/forms90/f90servlet?form=c:\myform.fmx&userid=lala/xaxa@orcl, it runs ok!
I discovered that the problem is this:
The first time i "Run Form" through Forms Builder, a file lets's say giorgos.htm is created in my Temp directory, and this file loads the form OK. The second time i "Run Form" through Forms Builder, a file giorgos.1htm is created and cannot load because it is not an html file!! If i rename it to giorgos1.htm it works ok!!!
so... anybody can help me?
thx for your time!Hello there, One Solution that i think is due to not closing the form application properly.If you happen to close the IE directly through the close button without exiting the FORM (with the Action => exit or through Exit_form ) then your forms instance keeps on running on the server and it only closed when timed out .That's why you are not able to run it again . but when you type the url itself it get loaded because it load the already running instance of the form so i'll suggest try to close it from Action=>exit and run again.
Hope it will help you. -
Unable to submit reports more than once using RUN_REPORT_OBJECT
Report Gurus,
Am trying to have reports be run from a form. Heres the design..
a] I have multiple reports being displayed in a form multi-record block.
b] Each report line has a button associated with it that can be clicked to execute the report. Behind
the scene, I have the button executing a run_report_object in an ASYNCHRONOUS mode.
c] When the button is clicked, I have the web.show_document code display the parameters on an HTML page.
d] On the HTML page that is displayed, the user can enter all the parameter values and then click on
the submit button to run the report.
Issue:
i. If one HTML page is already opened and the report submitted, - the user cannot go back to running
another report until the previous report completes running. Even if they click on the another
report, - the HTML page opens up with a message that says that the server is busy and the
user will have to wait until the previous report completes. Problem is that this happens even across
users!!!
ii.If the user were to click on just multiple report buttons, each opening up individual HTML pages and
then submit each, all the report runs just fine. The output is designed to be displayed as PDF.
Am I doing something wrong here. Please advice. I was under the impression that if run in an Asynchronous mode, one should be able to run multiple reports at the same time.
Any help will be greatly appreciated.
Thanks
Ravi KumarReport Gurus,
Am trying to have reports be run from a form. Heres the design..
a] I have multiple reports being displayed in a form multi-record block.
b] Each report line has a button associated with it that can be clicked to execute the report. Behind
the scene, I have the button executing a run_report_object in an ASYNCHRONOUS mode.
c] When the button is clicked, I have the web.show_document code display the parameters on an HTML page.
d] On the HTML page that is displayed, the user can enter all the parameter values and then click on
the submit button to run the report.
Issue:
i. If one HTML page is already opened and the report submitted, - the user cannot go back to running
another report until the previous report completes running. Even if they click on the another
report, - the HTML page opens up with a message that says that the server is busy and the
user will have to wait until the previous report completes. Problem is that this happens even across
users!!!
ii.If the user were to click on just multiple report buttons, each opening up individual HTML pages and
then submit each, all the report runs just fine. The output is designed to be displayed as PDF.
Am I doing something wrong here. Please advice. I was under the impression that if run in an Asynchronous mode, one should be able to run multiple reports at the same time.
Any help will be greatly appreciated.
Thanks
Ravi Kumar -
Bug! Hot-deploying the same bean more than once results in a DeploymentException!
Hi all,
Anyone else having this problem? When re-deploying an EJB within a
running WL server 4.5.1 w/ sp9 more than once results in the following
DeploymentException. The first time we re-deploy it works fine, but any
re-deployments after that fail.
This is potentially fatal in that if we have to make more than one
change to a bean over time and re-deploy those changes, we have to cycle
the server, which is NOT acceptable for a production environment!
Any clues or workarounds would be greatly appreciated.....Thanks!
BP
[xxxx.xxxx.com] < /pkg/bea > java -classpath
/pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
weblogic.ejb.common.DeploymentException: Unable to create bean
classloader:
weblogic.ejb.common.DeploymentException: loading EJB JAR
/local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
exception is:
java.io.EOFException
java.io.EOFException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(IOException.java:35)
at java.io.EOFException.<init>(EOFException.java:43)
at java.io.DataInputStream.readUnsignedShort(Compiled Code)
at
weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
Code)
at
weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
at weblogic.utils.classfile.ClassMember.read(Compiled Code)
at weblogic.utils.classfile.MethodTable.read(Compiled Code)
at weblogic.utils.classfile.ClassFile.read(Compiled Code)
at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
Code)
at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
Code)
at
weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
at
weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
at
weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
at
weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
at java.lang.Throwable.fillInStackTrace(Native Method)
at
weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
at
weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
at weblogic.deploy.deploy(deploy.java:129)
at weblogic.deploy.runBody(deploy.java:79)
at weblogic.utils.compiler.Tool.run(Tool.java:55)
at weblogic.deploy.main(deploy.java:140)how about undeploy an already deployed bean first and then trying to redeploy.
becoz i know there's an option like that with DDDeploy. I am talking of 5.1 but the
logic should probably work in 4.5 too.
Try doing it and see what happens.
-Vikas
Blah Blah wrote:
Hi all,
Anyone else having this problem? When re-deploying an EJB within a
running WL server 4.5.1 w/ sp9 more than once results in the following
DeploymentException. The first time we re-deploy it works fine, but any
re-deployments after that fail.
This is potentially fatal in that if we have to make more than one
change to a bean over time and re-deploy those changes, we have to cycle
the server, which is NOT acceptable for a production environment!
Any clues or workarounds would be greatly appreciated.....Thanks!
BP
[xxxx.xxxx.com] < /pkg/bea > java -classpath
/pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
weblogic.ejb.common.DeploymentException: Unable to create bean
classloader:
weblogic.ejb.common.DeploymentException: loading EJB JAR
/local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
exception is:
java.io.EOFException
java.io.EOFException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(IOException.java:35)
at java.io.EOFException.<init>(EOFException.java:43)
at java.io.DataInputStream.readUnsignedShort(Compiled Code)
at
weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
Code)
at
weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
at weblogic.utils.classfile.ClassMember.read(Compiled Code)
at weblogic.utils.classfile.MethodTable.read(Compiled Code)
at weblogic.utils.classfile.ClassFile.read(Compiled Code)
at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
Code)
at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
Code)
at
weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
at
weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
at
weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
at
weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
Code)
at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
at java.lang.Throwable.fillInStackTrace(Native Method)
at
weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
at
weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
at weblogic.deploy.deploy(deploy.java:129)
at weblogic.deploy.runBody(deploy.java:79)
at weblogic.utils.compiler.Tool.run(Tool.java:55)
at weblogic.deploy.main(deploy.java:140) -
Since I updated to iCloud, (which may or may not be related) Mail on my MacBookPro 10.6.8 has been unable to connect to MobileMe more than once or twice per day. Mail on my iPhone 4 and my old iMac has no problems. When there is no service a yellow warning triangle appears adjacent to the Inbox and Connection Doctor reports,"Trying to log into this MobileMe IMAP account failed. Verify that username and password are correct." Since it does fetch Mail from time to time they cannot be wrong.... can they? Should I update to 10.7 and if so what does that entail?
You have been using MobileMe's email settings, which sometimes continue to work for a time after migration but then get turned off. iCloud's mail server settings are different. Strictly speaking Lion 10.7.2 is required for iCloud, and on that Mail is set up automatically.
Snow Leopard cannot access most of iCloud's facilities, however you can set Mail up manually to access your email. The method is described here:
http://www.wilmut.webspace.virginmedia.com/notes/icloudmail.html
The situation with iCloud and Snow Leopard is described in detail here:
http://www.wilmut.webspace.virginmedia.com/notes/icloudSL.html -
When i put an app on m my iphone to show in lock screen it rings more than once
when i put an app on m my iphone to show in lock screen it rings more than once
When I go to settings/ notifications and select an app's notification and select on in the "view in lock screen* the msg tone rings more than once but when I turn it off it ring once.
What should I do to make the msg appears in lock screen but only notify me once -
I'm unable to install the newest version of itunes on my pc, the promt says that there is a problem with the windows installer package, but I have downloaded the exe more than once. Is anyone able to help?
Yes, I had found a similar solution also. I'm running XP Pro, SP3. I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair. Then run the 10.5 exe.
While the programme updated from version 8 of iTunes, my new iTunes is now a mess. Not all of my music was in the same folder previously but it all showed up on iTunes. Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing. I haven't begun to work on that. -
Weblogic.management.server bound more than once?
Sorry if I already posted this in cluster, but I realized that it should belong here instead....
I have an admin server that does not belong in any cluster. I set up 2 managed server (app01,
app02) targetted to "app cluster". I can start up app01 or app02 by itself, when when I start both
up, I get the following message on both managed servers; the admin server, on the other hand, does
not display any errors. Why are the managed servers trying to bind weblogic.management.server to
jndi????
<Apr 3, 2001 11:07:37 AM PDT> <Info> <Cluster> <Adding
server -4094822875006454559S:fortran-1:[10085,10085,7002,7002,10085,7002,-1] to cluster view>
<Apr 3, 2001 11:07:37 AM PDT> <Info> <Cluster>
<Adding -4094822875006454559S:fortran-1:[10085,10085,7002,7002,10085,7002,-1] to the cluster>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.server in the jndi tree. The object you have bound
weblogic.management.internal.RemoteMBeanServerImpl from fortran is non clusterable and you have
tried to bind more than once from two or more servers. Such objects can only deployed from one
server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.server in the jndi tree. The object you have bound
weblogic.management.internal.RemoteMBeanServerImpl_WLStub from fortran-1 is non clusterable and you
have tried to bind more than once from two or more servers. Such objects can only deployed from one
server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.adminhome in the jndi tree. The object you have bound
weblogic.management.internal.AdminMBeanHomeImpl from fortran is non clusterable and you have tried
to bind more than once from two or more servers. Such objects can only deployed from one server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.adminhome in the jndi tree. The object you have bound
weblogic.management.internal.AdminMBeanHomeImpl_WLStub from fortran-1 is non clusterable and you
have tried to bind more than once from two or more servers. Such objects can only deployed from one
server.>
GenePrasad diagnosed the problem. Look in clustering under the same title if you're interested!
Gene
"Gene Chuang" <[email protected]> wrote in message news:[email protected]...
Sorry if I already posted this in cluster, but I realized that it should belong here instead....
I have an admin server that does not belong in any cluster. I set up 2 managed server (app01,
app02) targetted to "app cluster". I can start up app01 or app02 by itself, when when I startboth
up, I get the following message on both managed servers; the admin server, on the other hand,does
not display any errors. Why are the managed servers trying to bind weblogic.management.server to
jndi????
<Apr 3, 2001 11:07:37 AM PDT> <Info> <Cluster> <Adding
server -4094822875006454559S:fortran-1:[10085,10085,7002,7002,10085,7002,-1] to cluster view>
<Apr 3, 2001 11:07:37 AM PDT> <Info> <Cluster>
<Adding -4094822875006454559S:fortran-1:[10085,10085,7002,7002,10085,7002,-1] to the cluster>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.server in the jndi tree. The object you have bound
weblogic.management.internal.RemoteMBeanServerImpl from fortran is non clusterable and you have
tried to bind more than once from two or more servers. Such objects can only deployed from one
server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.server in the jndi tree. The object you have bound
weblogic.management.internal.RemoteMBeanServerImpl_WLStub from fortran-1 is non clusterable andyou
have tried to bind more than once from two or more servers. Such objects can only deployed fromone
server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.adminhome in the jndi tree. The object you have bound
weblogic.management.internal.AdminMBeanHomeImpl from fortran is non clusterable and you have tried
to bind more than once from two or more servers. Such objects can only deployed from one server.>
<Apr 3, 2001 11:07:38 AM PDT> <Error> <Cluster> <Conflict start: You tried to bind an object under
the name weblogic.management.adminhome in the jndi tree. The object you have bound
weblogic.management.internal.AdminMBeanHomeImpl_WLStub from fortran-1 is non clusterable and you
have tried to bind more than once from two or more servers. Such objects can only deployed fromone
server.>
Gene -
Custom Administrative Template Error 53 Key name specified more than once
Hi All,
Hope I've picked the correct forum. I am making my first foray into setting up a custom administrative template for some software that is developed in house. The current deployment method is to merge a reg file on each computer that requires the registry
settings. I am trying to set this up so that it is controlled via GPO.
My idea is that in the a GP can set the registry settings for one or more areas that are controlled by the software.
The problem I have - I get Error 53 Keyname specified more than once on Line 9 (second KEYNAME). In total I will have about 30 different sites this needs to be set up for.
Does this mean that I can't set more than one registry key per "Policy" setting in the GPO?
The adm file I have so far is below
TIA
Jason
---------------------------------------------CUT---------------------------------------------
CLASS User
CATEGORY "App Site Settings"
POLICY !!Site1Policy
EXPLAIN !!Site1Explain
KEYNAME "Software\ApplicationCompany\Site1\Access"
VALUENAME "SystemDatabase"
VALUEON "D:\\App\\Data\\App.mdw"
VALUEOFF DELETE
KEYNAME "Software\ApplicationCompany\Site1\Arbitration"
VALUENAME "ConfigPath"
VALUEON "D:\\Site1\\Data"
VALUEOFF DELETE
KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
VALUENAME "ConfigFile"
VALUEON "D:\\App\\Data\\App_Comms.mdb"
VALUEOFF DELETE
VALUENAME "SysConfig"
VALUEON "D:\\Site1\\Data\\SITE1_SYS.mdb"
VALUEOFF DELETE
END POLICY
POLICY !!Site2Policy
EXPLAIN !!Site2Explain
KEYNAME "Software\ApplicationCompany\Site2\Access"
VALUENAME "SystemDatabase"
VALUE "D:\\App\\Data\\App.mdw"
KEYNAME "Software\ApplicationCompany\Site2\Arbitration"
VALUENAME "ConfigPath"
VALUE "D:\\Site2\\Data"
KEYNAME "Software\ApplicationCompany\Site2\Common Settings"
VALUENAME "ConfigFile"
VALUE "D:\\App\\Data\\App_Comms.mdb"
VALUENAME "SysConfig"
VALUE "D:\\Site2\\Data\\Site2_SYS.mdb"
END POLICY
END CATEGORY
[strings]
Site1Policy = "Site1 settings"
Site1Explain = "Enabling this setting configures the registry settings for dummy Site1."
Site2Policy = "Site2 settings"
Site2Explain = "Enabling this setting configures the registry settings for dummy Site2."Well - I ended up sorting this out - and no - you can't have the Keyname keyword twice - unless you enclose the the setting in a PART statement. Below is what I ended up with:
---------------------------------------------CUT---------------------------------------------
CLASS USER
CATEGORY "ApplicationSettings"
KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
POLICY !!SITE1Policy
#if version >= 3
EXPLAIN !!PolicyExplain
#endif
KEYNAME "Software\ApplicationCompany\Site1\Access"
PART !!ConfigFilePolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site1\Common Settings"
VALUENAME ConfigFile
DEFAULT !!ConfigFileDefault
END PART ;!!ConfigFilePolicy
PART !!SystemDBPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site1\Access"
VALUENAME SystemDatabase
DEFAULT !!SystemDBDefault
END PART ;!!SystemDBPolicy
PART !!SysConfigPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site1\Common Setting"
VALUENAME SysConfig
DEFAULT !!SysConfigDefault
END PART ;!!SysConfigPolicy
PART !!ArbitrationPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site1\Arbitration"
VALUENAME ConfigPath
DEFAULT !!ArbitrationDefault
END PART ;!!ArbitrationPolicy
END POLICY
POLICY !!SITE2Policy
#if version >= 3
EXPLAIN !!PolicyExplain
#endif
KEYNAME "Software\ApplicationCompany\Site2\Access"
PART !!ConfigFilePolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site2\Common Settings"
VALUENAME ConfigFile
DEFAULT !!ConfigFileDefault
END PART ;!!ConfigFilePolicy
PART !!SystemDBPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site2\Access"
VALUENAME SystemDatabase
DEFAULT !!SystemDBDefault
END PART ;!!SystemDBPolicy
PART !!SysConfigPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site2\Common Setting"
VALUENAME SysConfig
DEFAULT !!SysConfigDefault
END PART ;!!SysConfigPolicy
PART !!ArbitrationPolicy EDITTEXT
KEYNAME "Software\ApplicationCompany\Site2\Arbitration"
VALUENAME ConfigPath
DEFAULT !!ArbitrationDefault
END PART ;!!ArbitrationPolicy
END POLICY
END CATEGORY
[Strings]
ArbitrationDefault =D:\SITE\Data
ArbitrationPolicy =Arbitration path
ConfigFileDefault =D:\App\Data\App_Comms.mdb
ConfigFilePolicy =Application configuration file
PolicyExplain =Enter Explainition of the Registry settings here
SysConfigDefault =D:\SITE\Data\SITE1_SYS.mdb
SysConfigPolicy =Application site system configuration file
SystemDBDefault =D:\App\Data\App.mdw
SystemDBPolicy =Application system database path
SITE1Policy =Site1 Application Settings
SITE2Policy =Site2 Application Settings -
Hello
We are using JDeveloper 11.1.1.6
We have three 3 separate viewcontroller projects and one Master projects which i supposed to integrate all these projects into one.
Issue:
After putting all three together into the Master project, the app fails to deploy due to this error:
oracle.jbo.JboException: JBO-34010: The "adf/tabs/view/DataBindings.cpx" descriptor appears in the application classpath more than once:
We did some digging and found out that it is because of the fact that "DataBindings.cpx" in all three projects falls withing the default package. How do we rectify this issue. We cannot even Refector this file because that option is not available for this file. We have a demo soon, What can we do?
Thanks...Hi,
this error typically comes from name clashes. Apparently you created ADF libraries (or projects) that contain a DataBindings.cpx file. The DataBindings.cpx file seems to be located in the same folder structure and thus could not be merged but are found to be added twice. When you create new view controller projects then best practice is to ensure the root package name is unique to avoid such issues.
Frank -
Button/click box click more than once
Hi, I'm hoping you guys can point out what I'm doing wrong...
I have an image where the user can click on certain parts of
it to display a callout. However, I want them to be able to click
on the area of the image more than once if requried. I suppose you
can say it's a bit like an image map.
First I used click boxes to achieve this, then I tried using
transparent buttons. However for both of these methods you can only
click on each part once during playback. Clicking again does not
show the callout.
I thought about copying the contents to another slide and add
a 'Reset' button the user could click on. This would move to the
other slide, but this seems a bit on the 'clunky' side, so I
thought there must be a setting or something really obvious that I
have missed. I was unable to find the relevant informaiton in the
help file or elsewhere in the forum, so if it does exist I would
appreciate someone pointing me in the right direction.
How can I allow the user to click on parts of the image more
than once to show the callout?
Thanks for your help,
LizThanks for your reply Rick.
I started the activity using rollovers, but I wanted the user
to do something more definite than just hovering over each part of
the image. So essentially, I want the rollover functionality but
with the ability to click instead of just hovering the cursor over.
I thought this would be easy!
I've tried using both buttons and click boxes without any
success. I ventured a little into slidelets, but I want the callout
to appear in a very specific place and this did not appear to
satisfy my requirements. The 'click to stick' sounds intriguing so
I'll take a look into this, but I'm not convinced it's what I want.
Any more suggestions are most welcome.
Regards
Liz -
Method called more than once - and dies with EXC_BAD_ACCESS error
Hi,
In my app, I have 4 views with their respective viewControllers. In the appDelegate.m, I provide methods that allows to switch to any of these views. Following is code for switching to the editView:
-(void) flipToEditView {
[self populateTheList]; // populate an array
EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
[self setEditVC:anEditVC];
[viewController.view removeFromSuperview];
[self.window addSubview:[editVC view]];
[anEditVC release]; }
The view is not switched - and moreover, this method is called more than once; and the app dies with EXCBADACCESS!
2009-08-23 14:54:40.648 iNotate[2128:20b] Album (before): x= 0 y=20 width=320 height=460
2009-08-23 14:54:40.653 iNotate[2128:20b] Album (after): x= 0 y= 0 width=320 height=480
warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
(gdb) bt
#0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
#1 0x00008661 in -[FirstView editAction] (self=0x546a30, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
#2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
#3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
#4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
#5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
#6 0x30a67917 in -[UIWindow sendEvent:] ()
#7 0x30a56fff in -[UIApplication sendEvent:] ()
#8 0x30a561e0 in _UIApplicationHandleEvent ()
#9 0x31565dea in SendEvent ()
#10 0x3156840c in PurpleEventTimerCallBack ()
#11 0x94a713c5 in CFRunLoopRunSpecific ()
#12 0x94a71aa8 in CFRunLoopRunInMode ()
#13 0x31566600 in GSEventRunModal ()
#14 0x315666c5 in GSEventRun ()
#15 0x30a4eca0 in -[UIApplication _run] ()
#16 0x30a5a09c in UIApplicationMain ()
#17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
Current language: auto; currently objective-c
(gdb) continue
2009-08-23 14:54:55.885 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
(gdb) bt
#0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
#1 0x00008661 in -[FirstView editAction] (self=0x5457b0, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
#2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
#3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
#4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
#5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
#6 0x30a67917 in -[UIWindow sendEvent:] ()
#7 0x30a56fff in -[UIApplication sendEvent:] ()
#8 0x30a561e0 in _UIApplicationHandleEvent ()
#9 0x31565dea in SendEvent ()
#10 0x3156840c in PurpleEventTimerCallBack ()
#11 0x94a713c5 in CFRunLoopRunSpecific ()
#12 0x94a71aa8 in CFRunLoopRunInMode ()
#13 0x31566600 in GSEventRunModal ()
#14 0x315666c5 in GSEventRun ()
#15 0x30a4eca0 in -[UIApplication _run] ()
#16 0x30a5a09c in UIApplicationMain ()
#17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
(gdb) continue
2009-08-23 14:55:22.493 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
Program received signal: “EXCBADACCESS”.
(gdb) continue
What's happening here?
Sam!-(void) flipToEditView {
[self populateTheList]; // populate an array
EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
[self setEditVC:anEditVC];
[viewController.view removeFromSuperview];
[self.window addSubview:[editVC view]];
[anEditVC release]; }
}<---- is this } matched elsewhere? -
Hello All -
I am trying to add a user to a SharePoint site using PowerShell like below:-
New-SPUser -UserAlias MyDomain\jan20a -Web http://SPServer/sites/MySite
If I execute the above more than once, SharePoint does not throw that user already exists or something. This is not the same behavior in AD/Exchange PowerShell cmdlets.
Also, even the client object model behaves the same way.
Another interesting thing I noticed, I tried to remove a user from group in which the user was not part of it at all and still no error..!!
Looks like SharePoint does not care of invalid input and just ignores it.
Can anyone please confirm this and also the reason behind it ?It's not really invalid input, since the user exists and that is how SharePoint behaves (will behave same way in browser). Try to input a user that and misspell the name, e.g. say you didn't have a MyDomain\Jan21a, then try to use same script above,
only with invalid data. It will bark at you. Or try using a web that it cannot find, one that does not exist. You'll get what I like to call, the red badge of courage if you enter invalid data.
you can test that sharepoint will let you enter a user twice in the browser, and nothing bad comes from it. Powershell is just unable to tell that the user was not in the site, when you removed it the second time.
Hope that confirms it, if it does please mark this reply accordingly. thanks
Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com -
HT201436 How can I listen to a voice mail more than once?
How can I likten to a voice mail more than once?
Don't delete it. Go back into your phone app, tap voicemail then hit play
Maybe you are looking for
-
Live! Cam Voice causing XP to crash
I have been using the Live! Cam Voice with no problems for about two months. However, now all of a sudden it is causing XP to crash and reboot, sometimes after an hour or so, and sometimes all it takes is having WebCam Center opened without uploading
-
I want to use both a Bluetooth mouse and head-set at the same time, is that possible?
-
Error while executing report from Query designer
Hi All, When I am executing from query designer, I am getting following error. Even I can't execute it from another portal where i created source system of BI server. But i can execute queriew from Query analyser and t-code RSRT. When I execute from
-
Patching and auto installing SAPgui for Windows
Hi, is it possibile to patch directoly SAPgui DVD installation with last released patch so we can install in one way SAPgui 7.10 and last patch ? is it possibile to install SAPgui with unattended installation and/or without desktop interaction ? ...
-
Is there a way to sync music to an ipod by albums? All I see is artist, playlist, and genre...but what about albums?