Auto deployment of native libraries
i want to be able to put <a native library> inside my <war file>, is there a way for the webapp server to automagically put the native library in the correct place?
Place it under webapp\WEB-INF\lib folder for the web server to pick it up.
Thanks and regards,
Pazhanikanthan. P
Similar Messages
-
Maven Auto deployment problems in Weblogic 10.0
Hi All,
Past two day's i am facing a exception in maven auto deployment process. I have given properly the configuration Tags(Shown below). I am able to send the deployment commands to weblogic but i am getting some run time exceptions. Please find below details.
mvn -e org.codehaus.mojo:weblogic-maven-plugin:2.9.1:deploy -Dsource=target/test-war-SNAPSHOT.war
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-test-war -SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- weblogic-maven-plugin:2.9.1:deploy (default-cli) @ test-war ---
[INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServerH
ostName = localhost, adminServerProtocol = t3, adminServerPort = 8001, userId =
weblogic, password = weblogic, artifactPath = C:\test\test\test-war\target/test-war--SNAPSHOT, projectPackaging = war, name = test-war, targetNames = AdminServer, remote = false]
[INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:8001, -username
, weblogic, -password, weblogic, -name, test-war, -targets, AdminServer, -s
ource,
weblogic.Deployer invoked with options: -adminurl t3://localhost:8001 -username
weblogic -name test-war -targets AdminServer -source C:\test\test-war\target/test-war--SNAPSHOT.war -deploy
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.155s
[INFO] Finished at: Wed Jul 13 18:06:20 IST 2011
[INFO] Final Memory: 3M/12M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:dep
loy (default-cli) on project test-war: Execution default-cli of goal org.co
dehaus.mojo:weblogic-maven-plugin:2.9.1:deploy failed: A required class was miss
ing while executing org.codehaus.mojo:weblogic-maven-plugin:2.9.1:deploy: weblog
ic/rmi/extensions/RemoteRuntimeException
[ERROR] -----------------------------------------------------
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:225)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-c
li of goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:deploy failed: A requir
ed class was missing while executing org.codehaus.mojo:weblogic-maven-plugin:2.9
.1:deploy: weblogic/rmi/extensions/RemoteRuntimeException
r
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:125)
... 20 more
Caused by: java.lang.NoClassDefFoundError: weblogic/rmi/extensions/RemoteRuntime
Exception
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.Deployer.run(Deployer.java:70)
at org.codehaus.mojo.weblogic.DeployMojoBase.executeDeployer(DeployMojoB
ase.java:510)
at org.codehaus.mojo.weblogic.DeployMojo.execute(DeployMojo.java:49)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
... 20 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContaine
rException
I checked the weblogc.jar, i am unable to find the RemoteRuntimeException class in that jar.
Configuration Tags
================
<configuration>
<name>web</name>
<adminServerHostName>localhost</adminServerHostName>
<adminServerPort>7001</adminServerPort>
<adminServerProtocol>t3</adminServerProtocol>
<artifactPath></artifactPath>
<exploded>true</exploded>
<userId>weblogic</userId>
<password>weblogic</password>
<upload>true</upload>
<remote>false</remote>
<verbose>true</verbose>
<debug>false</debug>
<targetNames>AdminServer</targetNames>
</configuration>
Please help me on the same.
Regards,
Jerald.
Edited by: user1173449 on Jul 14, 2011 6:09 AMJerald, Oracle doesn't own this particular piece of code so I can't help too much since I have no real knowledge of it's working. It was built and used with earlier versions of WLS (8.1, 9.2) so it may not have tracked any changes made to libraries/packaging in WLS 10.0.
Caused by: java.lang.NoClassDefFoundError: weblogic/rmi/extensions/RemoteRuntimeException
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:90)I see in WLS 10.3.x, that the class identified as missing is located in client JAR files:
sbutton:~/Oracle/Middleware/wlserver_10.3 $ jwhich RemoteRuntimeException .
Adding . to search path
./server/lib/wljmsclient.jar: weblogic.rmi.extensions.RemoteRuntimeException
./server/lib/wlthint3client.jar: weblogic.rmi.extensions.RemoteRuntimeException
I don't have a 10.0 install so am not sure where it resides in that release.
We have introduced a WebLogic Server Maven Plugin in our WLS 10.3.3 release which supports deployment operations. This is not supported/certified for working against a WLS 10.0 environment, but if you are using Maven and have an opportunity to update to a more recent release, then we have something which may be of use to you.
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13702/maven_deployer.htm#BABBBEGG
-steve- -
Error auto-deploying a Web App (.WAR file)
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WAR file
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. Originally I was building
the WAR file right in the ../applications directory, so I thought that might be
an issue. So, I started building the WAR file in a staging directory and copying
it into ../applications. No luck. Next, I tried deleting the original WAR file
from ../applications, and THEN copying the new one over from the staging directory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
environment is on a network share, and it's from there that I'm copying the WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not, it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)Michael,
This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
working properly, developers are spending alot of time waiting for WebLogic to restart.
HELP!!! we need this fixed.
I see the EXACT same stack trace (ERROR).
Tom Markel
Sr. Java Engineer
Michael Young <[email protected]> wrote:
Hi.
This may be a known issue that was addressed in sp2. If you are not already
at that sp level I suggest you upgrade.
Regards,
Michael
David Ventimiglia wrote:
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WARfile
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. OriginallyI was building
the WAR file right in the ../applications directory, so I thought thatmight be
an issue. So, I started building the WAR file in a staging directoryand copying
it into ../applications. No luck. Next, I tried deleting the originalWAR file
from ../applications, and THEN copying the new one over from the stagingdirectory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
environment is on a network share, and it's from there that I'm copyingthe WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not,it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
Michael Young
Developer Relations Engineer
BEA Support -
Auto Deploy and VCD Network Isolation - Not Working
Hello,
I have opened a support case about this issue, but the case is moving a lot slower than I would like to see. I thought I'd post here to see if anyone has ran into anything similar.
We recently switched our 24-host vCloud cluster (more info about this cluster below) over to Auto-Deploy (was using boot from USB). After the switch, we had a few complaints from customers that use isolated networks. It turns out that only 4 of our 24 hosts were working properly with isolated networks. All 24-hosts are using the same auto-deploy image.
When the hosts boot up, the vCloud Director web interface shows the following with green check marks: "Status", "Enabled", "Ready", "Available", and "VCD Network Isolation Capable".
To get my other 20 hosts working, I disabled all 20 hosts in the vCloud interface, unprepared them, and prepared them. After this, network isolation worked for those 20 hosts. When I reboot one of the hosts, the host still looks like it's good in the interface, but network isolation doesn't work until I disable, unprepare, and prepare.
Here is some more information about our environment:
vCenter build 2001466
ESXi Host Build 2702864
VCD Build 5.5.2.2000523
vShield Build 5.5.3
Here is the Deploy Rule that the hosts are using:
Name : UCS-2.2.1-pcloud.5.5.aln
PatternList : {oemstring=$SPT:ESX_PublicCloud_autod.2.2.x}
ItemList : {ESXi-5.5.0-autod-2.2.1.vshield}
I have confirmed that this is indeed the profile being used by looking at the Summary tab for the hosts and seeing the listed Image Profile.
And here is what's in that item:
PowerCLI D:\ImageBuild> Get-EsxSoftwarePackage
Name Version Vendor Creation Date
misc-cnic-register 1.72.1.v50.1i-1vmw.550.0.0.... VMware 9/19/2013 6:0...
scsi-lpfc820 8.2.3.1-129vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-megaraid-mbox 2.20.5.1-6vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
esx-xlibs 5.5.0-0.0.1331820 VMware 9/19/2013 6:0...
lpfc 10.0.100.1-1vmw.550.0.0.133... VMware 9/19/2013 6:0...
mtip32xx-native 3.3.4-1vmw.550.1.15.1623387 VMware 2/22/2014 1:1...
net-nx-nic 5.0.621-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
block-cciss 3.6.14-10vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-fnic 1.6.0.5-1OEM.500.0.0.472560 cisco 9/30/2013 11:...
net-enic 2.1.2.42-1OEM.500.0.0.472560 Cisco 9/5/2013 8:30...
sata-sata-sil24 1.1-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
rste 2.0.2.0088-4vmw.550.1.15.16... VMware 2/22/2014 1:1...
elxnet 10.0.100.0v-1vmw.550.0.0.13... VMware 9/19/2013 6:0...
scsi-aacraid 1.1.5.1-9vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-cmd64x 0.2.5-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
net-cnic 1.72.52.v55.1-1vmw.550.0.0.... VMware 9/19/2013 6:0...
scsi-adp94xx 1.0.8.12-6vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
net-be2net 4.6.100.0v-1vmw.550.0.0.133... VMware 9/19/2013 6:0...
net-ixgbe 3.7.13.7.14iov-12vmw.550.2.... VMware 4/29/2015 6:4...
net-igb 5.0.5.1.1-1vmw.550.2.54.240... VMware 1/1/2015 8:00...
epsec-mux 5.1.0-01814505 VMware 5/13/2014 4:3...
esx-base 5.5.0-2.62.2702864 VMware 4/29/2015 6:4...
ata-pata-sil680 0.4.8-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ipmi-ipmi-msghandler 39.1-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-hpt3x2n 0.3.4-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-megaraid-sas 5.34-9vmw.550.2.33.2068190 VMware 8/23/2014 1:5...
scsi-mptsas 4.23.01.00-9vmw.550.0.0.133... VMware 9/19/2013 6:0...
net-bnx2 2.2.3d.v55.2-1vmw.550.0.0.1... VMware 9/19/2013 6:0...
ata-pata-via 0.3.3-2vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ima-qla4xxx 2.01.31-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-amd 0.3.10-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-serverworks 0.4.3-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-sata-promise 2.12-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-sata-nv 3.5-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ipmi-ipmi-devintf 39.1-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-ips 7.12.05-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-sata-svw 2.3-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-mptspi 4.23.01.00-9vmw.550.0.0.133... VMware 9/19/2013 6:0...
net-e1000e 1.1.2-4vmw.550.1.15.1623387 VMware 2/22/2014 1:1...
esx-xserver 5.5.0-0.0.1331820 VMware 9/19/2013 6:0...
net-tg3 3.123c.v55.5-1vmw.550.2.33.... VMware 8/23/2014 1:5...
net-forcedeth 0.61-2vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-aic79xx 3.1-5vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-ata-piix 2.12-10vmw.550.2.33.2068190 VMware 8/23/2014 1:5...
scsi-bnx2i 2.72.11.v55.4-1vmw.550.0.0.... VMware 9/19/2013 6:0...
ohci-usb-ohci 1.0-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-qla4xxx 5.01.03.2-6vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
scsi-qla2xxx 902.k1.1-9vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
net-mlx4-core 1.9.7.0-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-atiixp 0.4.6-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
misc-drivers 5.5.0-2.62.2702864 VMware 4/29/2015 6:4...
esx-dvfilter-generic-... 5.5.0-0.0.1331820 VMware 9/19/2013 6:0...
ata-pata-pdc2027x 1.0-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
qlnativefc 1.0.12.0-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
lsi-mr3 0.255.03.01-2vmw.550.1.16.1... VMware 4/15/2014 9:0...
vshield 5.5.3-2172759 VMware 9/30/2014 2:3...
net-vmxnet3 1.1.3.0-3vmw.550.2.39.2143827 VMware 9/18/2014 11:...
scsi-hpsa 5.5.0-44vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
tools-light 5.5.0-2.62.2702864 VMware 4/29/2015 6:4...
scsi-mpt2sas 14.00.00.00-3vmw.550.1.15.1... VMware 2/22/2014 1:1...
scsi-bnx2fc 1.72.53.v55.1-1vmw.550.0.0.... VMware 9/19/2013 6:0...
lsi-msgpt3 00.255.03.03-1vmw.550.1.15.... VMware 2/22/2014 1:1...
net-e1000 8.0.3.1-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
xhci-xhci 1.0-2vmw.550.2.39.2143827 VMware 9/18/2014 11:...
ipmi-ipmi-si-drv 39.1-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-ahci 3.0-21vmw.550.2.54.2403361 VMware 1/1/2015 8:00...
net-bnx2x 1.72.56.v55.2-1vmw.550.0.0.... VMware 9/19/2013 6:0...
scsi-megaraid2 2.00.4-9vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
ehci-ehci-hcd 1.0-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
esx-tboot 5.5.0-2.33.2068190 VMware 8/23/2014 1:5...
uhci-usb-uhci 1.0-3vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
sata-sata-sil 2.3-4vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
vcloud-agent 5.5.0-1280396 VMware 8/17/2013 4:0...
net-mlx4-en 1.9.7.0-1vmw.550.0.0.1331820 VMware 9/19/2013 6:0...
And here is the output of testing the deploy rule compliance:
PowerCLI D:\ImageBuild> Get-Cluster 0000000-ESXVCLOUDCL1.ALN | Get-VMHost |Test-
DeployRuleSetCompliance
VMHost ItemList
esx142269.vm.seo.... {}
esx140622.vm.seo.... {}
esx139784.vm.seo.... {}
esx140617.vm.seo.... {}
esx138793.vm.seo.... {}
esx135523.vm.seo.... {}
esx138945.vm.seo.... {}
esx138794.vm.seo.... {}
esx139783.vm.seo.... {}
esx140309.vm.seo.... {}
esx140310.vm.seo.... {}
esx140311.vm.seo.... {}
esx140313.vm.seo.... {}
esx140339.vm.seo.... {}
esx140614.vm.seo.... {}
esx140615.vm.seo.... {}
esx140616.vm.seo.... {}
esx140618.vm.seo.... {}
esx140619.vm.seo.... {}
esx140621.vm.seo.... {}
esx141947.vm.seo.... {}
esx141945.vm.seo.... {}
esx142271.vm.seo.... {}
esx142270.vm.seo.... {}
Here is another vib list from a host:
~ # esxcli software vib list
Name Version Vendor Acceptance Level Install Date
net-enic 2.1.2.42-1OEM.500.0.0.472560 Cisco VMwareCertified -
ata-pata-amd 0.3.10-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-atiixp 0.4.6-4vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-cmd64x 0.2.5-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-hpt3x2n 0.3.4-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-pdc2027x 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-serverworks 0.4.3-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-sil680 0.4.8-3vmw.550.0.0.1331820 VMware VMwareCertified -
ata-pata-via 0.3.3-2vmw.550.0.0.1331820 VMware VMwareCertified -
block-cciss 3.6.14-10vmw.550.0.0.1331820 VMware VMwareCertified -
ehci-ehci-hcd 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified -
elxnet 10.0.100.0v-1vmw.550.0.0.1331820 VMware VMwareCertified -
epsec-mux 5.1.0-01814505 VMware VMwareCertified -
esx-base 5.5.0-2.62.2702864 VMware VMwareCertified -
esx-dvfilter-generic-fastpath 5.5.0-0.0.1331820 VMware VMwareCertified -
esx-tboot 5.5.0-2.33.2068190 VMware VMwareCertified -
esx-xlibs 5.5.0-0.0.1331820 VMware VMwareCertified -
esx-xserver 5.5.0-0.0.1331820 VMware VMwareCertified -
ima-qla4xxx 2.01.31-1vmw.550.0.0.1331820 VMware VMwareCertified -
ipmi-ipmi-devintf 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified -
ipmi-ipmi-msghandler 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified -
ipmi-ipmi-si-drv 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified -
lpfc 10.0.100.1-1vmw.550.0.0.1331820 VMware VMwareCertified -
lsi-mr3 0.255.03.01-2vmw.550.1.16.1746018 VMware VMwareCertified -
lsi-msgpt3 00.255.03.03-1vmw.550.1.15.1623387 VMware VMwareCertified -
misc-cnic-register 1.72.1.v50.1i-1vmw.550.0.0.1331820 VMware VMwareCertified -
misc-drivers 5.5.0-2.62.2702864 VMware VMwareCertified -
mtip32xx-native 3.3.4-1vmw.550.1.15.1623387 VMware VMwareCertified -
net-be2net 4.6.100.0v-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-bnx2 2.2.3d.v55.2-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-bnx2x 1.72.56.v55.2-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-cnic 1.72.52.v55.1-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-e1000 8.0.3.1-3vmw.550.0.0.1331820 VMware VMwareCertified -
net-e1000e 1.1.2-4vmw.550.1.15.1623387 VMware VMwareCertified -
net-forcedeth 0.61-2vmw.550.0.0.1331820 VMware VMwareCertified -
net-igb 5.0.5.1.1-1vmw.550.2.54.2403361 VMware VMwareCertified -
net-ixgbe 3.7.13.7.14iov-12vmw.550.2.62.2702864 VMware VMwareCertified -
net-mlx4-core 1.9.7.0-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-mlx4-en 1.9.7.0-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-nx-nic 5.0.621-1vmw.550.0.0.1331820 VMware VMwareCertified -
net-tg3 3.123c.v55.5-1vmw.550.2.33.2068190 VMware VMwareCertified -
net-vmxnet3 1.1.3.0-3vmw.550.2.39.2143827 VMware VMwareCertified -
ohci-usb-ohci 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified -
qlnativefc 1.0.12.0-1vmw.550.0.0.1331820 VMware VMwareCertified -
rste 2.0.2.0088-4vmw.550.1.15.1623387 VMware VMwareCertified -
sata-ahci 3.0-21vmw.550.2.54.2403361 VMware VMwareCertified -
sata-ata-piix 2.12-10vmw.550.2.33.2068190 VMware VMwareCertified -
sata-sata-nv 3.5-4vmw.550.0.0.1331820 VMware VMwareCertified -
sata-sata-promise 2.12-3vmw.550.0.0.1331820 VMware VMwareCertified -
sata-sata-sil24 1.1-1vmw.550.0.0.1331820 VMware VMwareCertified -
sata-sata-sil 2.3-4vmw.550.0.0.1331820 VMware VMwareCertified -
sata-sata-svw 2.3-3vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-aacraid 1.1.5.1-9vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-adp94xx 1.0.8.12-6vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-aic79xx 3.1-5vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-bnx2fc 1.72.53.v55.1-1vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-bnx2i 2.72.11.v55.4-1vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-hpsa 5.5.0-44vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-ips 7.12.05-4vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-lpfc820 8.2.3.1-129vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-megaraid-mbox 2.20.5.1-6vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-megaraid-sas 5.34-9vmw.550.2.33.2068190 VMware VMwareCertified -
scsi-megaraid2 2.00.4-9vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-mpt2sas 14.00.00.00-3vmw.550.1.15.1623387 VMware VMwareCertified -
scsi-mptsas 4.23.01.00-9vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-mptspi 4.23.01.00-9vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-qla2xxx 902.k1.1-9vmw.550.0.0.1331820 VMware VMwareCertified -
scsi-qla4xxx 5.01.03.2-6vmw.550.0.0.1331820 VMware VMwareCertified -
uhci-usb-uhci 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified -
vcloud-agent 5.5.0-1280396 VMware VMwareCertified -
vmware-fdm 5.5.0-2001466 VMware VMwareCertified -
vshield 5.5.3-2172759 VMware VMwareCertified -
xhci-xhci 1.0-2vmw.550.2.39.2143827 VMware VMwareCertified -
tools-light 5.5.0-2.62.2702864 VMware VMwareCertified -
scsi-fnic 1.6.0.5-1OEM.500.0.0.472560 cisco VMwareCertified -
Any help is appreciated. Thanks.Right now, on my test host (that is not working), I have two VMs, one named "Test 1" and the other "Test 2" They only have an isolated network on them (named "Test Isolated Network") that is in my VDC, and pings do not work between them. If I move them to any other host (that have been unprepared and prepared), pings work. I can move both to the same host, or different hosts.
Here is the fence info on this host, I'm not really sure how to interpret this:
~ # esxcli vcloud fence getfenceinfo
Module Parameters:
Host Key: 0x104b0
Configured LAN MTUs:
+------------------------------------------------------------------------------------------+
| LAN ID | 1 2 3 4 5 6 7 8 9 10 - - - - - - |
| MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 - - - - - - |
+------------------------------------------------------------------------------------------+
Active Ports:
+-----------------------------------------+
| ID | OPI | LanID | MTU |
+-----------------------------------------+
| 410b1d4ce7d0 | 01,0001a2 | 4 | 1500 |
| 410b1d4cfde0 | 01,0001a2 | 4 | 1500 |
+-----------------------------------------+
Switch State:
+-----------------------------------------------------+
| Inner MAC | Outer MAC | used | age | seen |
+-----------------------------------------------------+
+ ............................... Port:0x410b1d4ce7d0 +
+-----------------------------------------------------+
+ ............................... Port:0x410b1d4cfde0 +
| 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1 | 1 | 1 |
+-----------------------------------------------------+
Port Statistics Summary:
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Identity | To VM dropped | To VM passed | From VM dropped | From VM passed | Reflect |
| Port ID | Fence ID | total | misunf | misfen | stored | frag | other | fenced | join | unfen | csum | frag | GVT | other | fenced | tso | frag | csum | GVT | ufport | pass | error |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 410b1d4ce7d0 | 01,0001a2 | 3991 | 2 | 3976 | 0 | 0 | 0 | 13 | 0 | 0 | 0 | 0 | 0 | 0 | 679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 410b1d4cfde0 | 01,0001a2 | 4478 | 2 | 3860 | 0 | 0 | 0 | 616 | 0 | 0 | 0 | 0 | 0 | 0 | 626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
And here is the output of the command a little while later on the same host (while my test pings are going)
~ # esxcli vcloud fence getfenceinfo
Module Parameters:
Host Key: 0x104b0
Configured LAN MTUs:
+------------------------------------------------------------------------------------------+
| LAN ID | 1 2 3 4 5 6 7 8 9 10 - - - - - - |
| MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 - - - - - - |
+------------------------------------------------------------------------------------------+
Active Ports:
+-----------------------------------------+
| ID | OPI | LanID | MTU |
+-----------------------------------------+
| 410b1d4ce7d0 | 01,0001a2 | 4 | 1500 |
| 410b1d4cfde0 | 01,0001a2 | 4 | 1500 |
+-----------------------------------------+
Switch State:
+-----------------------------------------------------+
| Inner MAC | Outer MAC | used | age | seen |
+-----------------------------------------------------+
+ ............................... Port:0x410b1d4ce7d0 +
+-----------------------------------------------------+
+ ............................... Port:0x410b1d4cfde0 +
| 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1 | 1 | 1 |
+-----------------------------------------------------+
Port Statistics Summary:
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Identity | To VM dropped | To VM passed | From VM dropped | From VM passed | Reflect |
| Port ID | Fence ID | total | misunf | misfen | stored | frag | other | fenced | join | unfen | csum | frag | GVT | other | fenced | tso | frag | csum | GVT | ufport | pass | error |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 410b1d4ce7d0 | 01,0001a2 | 4696 | 2 | 4681 | 0 | 0 | 0 | 13 | 0 | 0 | 0 | 0 | 0 | 0 | 796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 410b1d4cfde0 | 01,0001a2 | 5300 | 2 | 4565 | 0 | 0 | 0 | 733 | 0 | 0 | 0 | 0 | 0 | 0 | 743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Looking at the VDS, the Maximum MTU is set to 1500. Looking at dvs.VCDVSTest Isolated Network-ca9a45c9-1dec-4f95-8b96-68d9c05b2a5d, I see it's VLAN is set to 2535 (which matches the network pool settings) and number of ports is 16 -
Native libraries in ABAP runtime
Hello
I have a question. Im developing application which is doing lots of XML processing (quite complicated and time consuming). Since XML support in ABAP itself its very poor we decided to use Java libraries on external server. Comunication between java and abap is done via Jco. But ... the best solution could be if we could use native libraries (java or C JNI wrapper to java) in ABAP. Is there a method or approach to expose interface in ABAP OO and then code implementation to use native library. How to deploy such library in R3.
I saw that all classes from iXML are connected somehow to native runtime.
Does anybody know how to do that, or just can point me to any documentation or example ?
Best regards
MarcinCan you make sure this native library is in the PATH(Windows) or LD_LIBRARY_PATH
(UNIX)?
Cameron Purdy wrote:
That has nothing to do with it being an EJB. It just means it can't find the
code to call.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"marc claeys" <[email protected]> wrote in message
news:3cd7e60a$[email protected]..
Everywhere I read not to use (load) native libraries in a bean.
However I couldn't find a reason for not doing so I tried.
The loading of the lib. is successful but when trying to call
a function of it I receive:
java.lang.UnsatisfiedLinkError: beanHelloWorld
Could someone explain why this happens?
Thanks in advance
Marc
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
JMF with Native Libraries as Signed Applet
Hello
After spending a few days hunting through forums, digging into JMF source code and hacking in the dark I'm about to give up, but thought I'd start yet another thread on this. It's a long, sad story...
Problem: Deploying a JMF based program that relies on native libraries (in this case the FOBS4JMF bindings) as an applet: how to get jmf.properties and the native libraries loaded properly.
Partial Solution: the native libraries packaged in a signed jar file, added to the applet's archive property, extracted using getResourceAsStream(), and loaded using System.load(). This is how FOBS4JMF loads it's native library anyway (via the com.moesol.NativeLibraryFinder):
Class classInApplet; // name of a class loaded by the applet
File outputFile; // location for extracted library
InputStream is = classInApplet.getResourceAsStream(resource);
copyStream(is, outputFile);
System.load(outputFile.getAbsolutePath());Why this doesn't really work:
(a) JMF (com.media.util.Registry) only searches for jmf.properties (which contains the instructions to use the FOBS4JMF plugin) in real folders (i.e. not jars) on the classpath of the local machine. I could extract the jmf.properties to a folder on the local machine, but have no way of making sure that folder would be on the classpath. Calls to "System.getProperty("java.class.path") give varying results - including an empty string on FF/OSX. Even if i could get the classpath somehow, chances are that it wouldn't contain any folders writable under Vista's UAC, which would leave me out of luck.
JMF also looks for a file called ".jmfdir" in various platform specific locations, and appends the contents of this file to the classpath, so if i could write to that file i'd be golden. This seems like it would work on non windows platforms, because JMF looks for that in "user.home"). However, from what i can tell, on windows, JMF uses a native call to a function called nGetUserHome() to determine where to find .jmfdir - which leads to the second problem...
(b) the JMF native libraries are loaded through calls to System.loadLibrary(), not System.load(), which means that they have to be on the "java.library.path" in order to be found - and again, I have no way of extracting the libraries to a directory on that path (at least not one writable under Vista UAC). This wouldn't be a problem, as I could pre-load the libraries myself with System.load(), except that JMF throws an exception if it can't find one, and stops trying to do whatever it thinks it needs the library for. Again, not a problem if I use only the FOBS4JMF native code (though i would like to use the DirectAudio renderer on windows) - except that the nGetUserHome() function described above is in a native library (jmutil.dll). So, when com.media.util.Registry.getJMFDir() tries to find ".jmfdir" it first tries to load "jmutil.dll" using System.loadLibrary(). This throws an exception inf "jmutil.dll" is not on the "java.library.path", and com.media.util.Registry.getJMFDir() returns null. Here's the relevant code from com.media.util.Registry.getJMFDir() - with my annotations
All of these problems are fixable by relatively minor tweaks to the JMF source - but I don't think that's allowed under the SCSL. So if anyone has any, i mean ANY other suggestions, please BRING 'EM ON.
thanks
-chris
EDIT: just for kicks, i checked to see where JMF expects to find .jmfdir on windows - ie the result of nGetUserHome(). At least on XP this seems to be c:\WINDOWS. if it's the same on Vista, then fixing the loadLibrary problem won't help bc I still won't be able to write to this file.
Edited by: wodenx on May 7, 2010 9:46 AMHi-
Thanks for responding so quickly.
As far as the natives go, you might try using the new JNLP embedded applet ability in the plugin2 architecture.I was going to look into that, but decided it wasn't necessary since I can get the FOBS native code to link properly. It's really the registry that's the problem, since without solving that I can't get JMF to USE the FOBS code.
Can you get it all to work if the JMF installer is invoked? If so, perhaps if you add an installer-desc that calls the normal JMF setup.exe (though that final warning to reboot is both unnecessary and odious).I don't think it would work even with the JMF installer, bc I need to point JMF at the FOBS specific jmf.properties. I might be get it to work by invoking my own installer though, to place my jmf.properties somewhere in the native class path, so that's worth looking at. Thank you. Problem there is that on Vista users would have to elevate to run the applet, which is not ideal.necessary and odious).
Why do you particularly want to embed media in a web page?The customer may want it. I might be able to convince them to go with JNLP/WebStart, but I think I might have the same problem there. Please correct me if I'm wrong...
I've also read that there are problems with JMF and JNLP owing to the fact that JMF doesn't recognize the security manager invoked by JNLP, and so gives your program no permissions. Haven't tried it myself yet.
Thanks again!
Edited by: wodenx on May 7, 2010 12:07 PM -
Hello
In the post of gadegaard in november 2002, there was a problem to au deploy pre-compiled JSP. Is this problem has been fix in the 9.0.4 OC4J version ?
If yes, is it sufficient to create a "_pages" directory in the war (the war is contained in an ear) and auto deploy it ? Because my pre-compiled JSP are not deployed.
Tanks in advance for your answer
EmmanuelleEmmanuelle:
There are two ways to use the precomiled JSP files.
Method one: You can just copy the generated JSP page implementation classes to the directory application-deployments/yourApp/yourWebApp/persistence/_pages. If the init-param "main_mode" of jsp servlet of your web app is reload, then these classes will be used without stopping the server. This is the fastest way in development.
Method two: You can packaged the generated JSP page implementation classes into a jar just like any other java class libraries. Then create your war with that jar inside WEB-INF/lib. Make sure the init-param "main_mode" of jsp servlet in your web.xml is justrun. Now you have a deployable war file. You can deploy the war file (within an ear file) to oc4j and access the JSP page.
Please tell me if either of thse methods works for you
Please note since oc4j 10.1.3, ojspc will package the generated classes into a jar under WEB-INF/lib if given an war or ear file. -
I have downloaded J2EE 1.4 installation exe file and installed it to my system. As I followed the first tip to test the installation I tried autodeploying (copying the war file to my autodeploy folder) but it fails. My PC is an AMD64 with windows XP Pro (32-bit) installed.
The server starts and ends OK.
Is there a problem with 64bit CPUs?
I installed and succesfully autodeployed it on my laptop which is Intel P4.Thank you for the advice. When I start the app server, I get this log. This is before I try auto deploying my own war file.
Can it be a problem with my environment variables?
Thank you.
[#|2004-06-23T12:44:41.890+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|CORE5100:Loading system apps|#]
[#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Selecting file [C:\Sun\AppServer\lib\install\applications\MEjbApp.ear] for autodeployment|#]
[#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.core|_ThreadID=10;|Selecting file [C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear] for autodeployment|#]
[#|2004-06-23T12:44:41.906+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Selecting file [ C:\Sun\AppServer\lib\install\applications\MEjbApp.ear ] for autodeployment.|#]
[#|2004-06-23T12:44:42.015+0300|WARNING|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1022:Deployment failed - Detailed Message:
com.sun.enterprise.admin.common.exception.ServerInstanceException
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getVirtualServerHostAndPort(ApplicationsConfigMBean.java:2133)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.setHostAndPort(ApplicationsConfigMBean.java:3034)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:274)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:471)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:367)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:346)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:167)
at com.sun.enterprise.server.SystemAppLifecycle.deployToTarget(SystemAppLifecycle.java:180)
at com.sun.enterprise.server.SystemAppLifecycle.deploySystemApps(SystemAppLifecycle.java:155)
at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:77)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
at com.sun.enterprise.server.PEMain.run(PEMain.java:220)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
|#]
[#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Exception occures while invoking backend deployment service for file : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear. -- null -- null|#]
[#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Autodeploy failed : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear.|#]
[#|2004-06-23T12:44:42.015+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Selecting file [ C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear ] for autodeployment.|#]
[#|2004-06-23T12:44:42.031+0300|WARNING|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1022:Deployment failed - Detailed Message:
com.sun.enterprise.admin.common.exception.ServerInstanceException
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getVirtualServerHostAndPort(ApplicationsConfigMBean.java:2133)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.setHostAndPort(ApplicationsConfigMBean.java:3034)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:274)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:471)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:367)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployApplication(AutoDeployer.java:346)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:167)
at com.sun.enterprise.server.SystemAppLifecycle.deployToTarget(SystemAppLifecycle.java:180)
at com.sun.enterprise.server.SystemAppLifecycle.deploySystemApps(SystemAppLifecycle.java:155)
at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:77)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
at com.sun.enterprise.server.PEMain.run(PEMain.java:220)
at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
|#]
[#|2004-06-23T12:44:42.031+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Exception occures while invoking backend deployment service for file : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear. -- null -- null|#]
[#|2004-06-23T12:44:42.031+0300|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=10;|[AutoDeploy] Autodeploy failed : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear.|#] -
Auto deploy a VI onto compactRIO or pop-up a vi on target in main VI
Hello
I have a main program where i have event structure and 2 state machines which do DAQ and Video. in a different project i have a pid controlled heater program that will be deployed on compactRIO. how do i program the main VI to auto deploy the heater program to target and get values from there to the main program. (for graph values can i use global varible between realtime program and normal main program)
I am thinking if i use the shared variable that is update by AI of a module on Compactrio in the main program, will it auto deploy it detecting that shared variables belong to target, but i want only the heater part of the program to get deployed not the event strucute, statemachines on the mian program. please help
If i can put a button on main program that when clicked can pop-up the heater program on compact RIO to adjust the PID parameters and close it and run with new values. is this possible?
Thanks in advanceHi freemason,
I'm still a bit unclear on what you need. If you are able to develop your project such that all the VIs are located in thier respective locations (i.e. on the cRIO, RT or Windows Host), and you just want to change controls before running the FPGA vi, we can do that. Essentially, you use a read/write control VI before running the FPGA VI using the Run invoke node. You'll have to make sure to change the FPGA open reference options to not run the VI automatically (right click on it and select "Configure Open FPGA VI Reference...", uncheck the run option).
If you want to look at an example involving PID in the LabVIEW example finder, one that might be of particular interest is called "Template Multichannel PID". You can find this in through Help>Find Examples. Navigate to Hardware Input and Output>CompactRIO>FPGA Fundamentals>Analysis and Control.
You can use the execution of your host VI to start and stop the FPGA vi using the Read/Write Control VI and the Run invoke node. Also, you can use an invoke node to Abort the VI if that is necessary, but creating a stop control in the FPGA VI that allows the Host VI to stop using programming flow is usually more desirable.
I hope these suggestions help, but please clarify your question if you're still confused.
Also, Pablo. Try setting the VI to run as a start up application. A guide of how to do that is here.
Message Edited by Verne D on 04-06-2010 01:07 PM
Message Edited by Verne D on 04-06-2010 01:07 PM
Verne D. // LabVIEW & SignalExpress Product Support Engineer // National Instruments -
Auto-Deployment is not working in Eclipse - Weblogic
I have created weblogic server instance in Eclipse.Then, I have added one project into weblogic server by using "Add/Remove Projects" menu.After I start the server , I logged into admin console and checked the deployments link. I am not finding the project listed in the list.I have selected option "Run stand alone web module directly from work space" in web logic server configuration window in eclipse.
I am using Eclipse 3.3 and weblogic 10.0.
I have no idea, why auto-deployment is not working.
I would appreciate your help on this regard.I have contacted Eclipse Support, they have asked me to contact BEA team.
Thanks,
Prakash.AHi Prakash,
The "Run standalone web module from workspace" doesn't publish the application to the server (instead the app is deployed to a temp location).
This is mainly to help test the app during the development stages. If your app is complete and would like to publish to the server then you might want to try the following option
- In Server View, double click on the configuration to launch Overview
- Select "Copy stand-alone web module into separate deployment folder"
- Save the configuration
- Start the server
The application would be deployed to the server as a WAR file. -
AIR to auto upgrade to (native installer)
Hello,
The first application (released) was created in AIR now we want our exsting customer to auto upgrade to (native installer) to support few native process.
The AIR check for the new upgrade avaiable and downloads the new (native installer) from the server but fails to run the installer.
We have used NativeProcess to run the newly downloaded native installer. The logs shows that the nativeprocess is not supported.
The supportedProfiles is set to <supportedProfiles>extendedDesktop desktop</supportedProfiles>.
We had also tried using openWithDefaultApplication() function to run the nativeinstaller but with no success.
ThanksHello,
The first application (released) was created in AIR now we want our exsting customer to auto upgrade to (native installer) to support few native process.
The AIR check for the new upgrade avaiable and downloads the new (native installer) from the server but fails to run the installer.
We have used NativeProcess to run the newly downloaded native installer. The logs shows that the nativeprocess is not supported.
The supportedProfiles is set to <supportedProfiles>extendedDesktop desktop</supportedProfiles>.
We had also tried using openWithDefaultApplication() function to run the nativeinstaller but with no success.
Thanks -
The struggle of creating a Custom ClassLoader for Native libraries
Hello Everyone,
I'm having a really hard time writing and using my own ClassLoader in a Java Applet.
Context :
As the this link shows - http://codethesis.com/tutorial.php?id=1 - loading and especially unloading native libraries through Java requires defining our own ClassLoader, and use it to instantiate a class loading a library. When the class using native libraries has finished execution, setting all references to the classloader and calling the garbage collector will cause the native library to be unloaded. The class to load within the custom classloader is thus read byte after byte from the jar and defined using the Classloader.defineClass(..) function. So that's what I did. But I've got two problems.
Problem 1 :
On one single machine over 15 tested, the magic number of a given class read from the Jar using Applet.class.getResourceAsStream(classname) takes a value different from CAFEBABE and the defineClass function then throws an "Incompatible magic value" exception (see below). The workaround I found is to force the first 4 bytes of the byte array read from the class with CAFEBABE. But I still would like to understand why it takes a different value on this machine.
Exception in thread "thread applet-MyApplet.class-1" java.lang.ClassFormatError: Incompatible magic value 409165630 in class file Reader
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at NativeClassLoader.findClass(Unknown Source)
Problem 2 :
On windows, the NativeClassLoader works perfectly, but on Linux, I'm getting a java.lang.VerifyError (see below).
Code is compiled with java 1.6.0_06 on windows XP. I tried to remove everything related to native code (remove .so load), the same error is raised.
java.lang.VerifyError: (class: Reader, method: <clinit> signature: ()V) Illegal instruction found at offset 1
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
Code :
NativeClassReader (custom) :
public class NativeClassLoader extends ClassLoader {
//the unique instance of the NativeClassLoader
private static NativeClassLoader instance;
private NativeClassLoader () {
super(NativeClassLoader.class.getClassLoader());
* Get the Singleton instance of the class
public static NativeClassLoader getInstance () {
if (instance == null)
instance = new NativeClassLoader();
return instance;
public static void dispose () {
instance = null;
* Load a class using its full java name (prefixed with package)
public Class findClass (String theName) {
byte[] b = null;
try {
b = loadClassDataFromJar(theName);
Class clazz = defineClass(theName, b, 0, b.length);
resolveClass(clazz);
return clazz;
} catch (Exception e) {
return null;
* Gets the bytes of a class file stored in the current jar using
* its full class name
public byte[] loadClassDataFromJar (String theName)
throws Exception {
String filename = "/" + theName.replace('.', '/') + ".class";
InputStream is = SawsApplet.class.getResourceAsStream(filename);
BufferedReader br = new BufferedReader(new InputStreamReader(is));
//compute file size
Vector vChars = new Vector();
int c;
while ((c = br.read()) != -1)
vChars.add(new Byte((byte) c));
//fill in byte array with chars read from the buffer
byte[] buff = new byte[vChars.size()];
//workaround for a bug on one (some) Vista machine(s)
//force magic number to CAFEBABE instead of 18635F3E
if (vChars.size() > 3) {
buff[0] = (byte) 0xCA;
buff[1] = (byte) 0xFE;
buff[2] = (byte) 0xBA;
buff[3] = (byte) 0xBE;
for (int i = 4; i < vChars.size(); ++i)
buff[i] = ((Byte) vChars.get(i)).byteValue();
return buff;
}Reader (loading native libary) :
public class Reader {
static {
System.loadLibrary("myLib");
public static native String getData();
}Main :
NativeClassLoader cLoader = NativeClassLoader.getInstance();
Class clazz = cLoader.findClass("Reader"); // ClassFormatError thrown here
Object reader = clazz.newInstance(); // VerifyError thrown here
Method m = clazz.getMethod("getData");
String s = m.invoke(reader);
print(s);
s = null;
m = null;
reader = null;
clazz = null;
cLoader = null;
NativeClassLoader.dispose();
System.gcAny ideas would be really appreciated :-)
GuillaumeAre you using the executable exe file and the filename as a parameter in the custom task?
Andreas Baumgarten | H&D International Group -
Using native libraries in web application (weblogic on linux)
I have a problem with loading native libraries for use with my web application. Where do I have to put them in order for the server to see them? The same app on windows runs perfectly fine, because it has no problems finding the dll files.
So far I have tried modifying the weblogic startup scripts, to include the library in LD_LIBRARY_PATH environment variable. I've also tried modifying the security policy just in case, but I don't think it's the case, because like I said, the app ran fine on windows without messing with the policies. So, any ideas, how I could load the libraries?
The system is a WebLogic 8.1SP4 installed on Linux i386 using JRockit JVM, the native library in question is JAI 1.1.3-alpha native acceleration library.
PS. if it's in the wrong group, please direct me to the correct one.<p>Fukiku,</p>
<p>Did you get this working?</p>
<p>You can also try setting the environment variable java.library.path.</p>
<p>Please post your stack trace to the forum as well.</p>
<p>
Hussein Badakhchani</br>
</p> -
Beginner can't undeploy auto-deployed web app
Hi.
(I am brand new to WLS 10. I am testing it for a possible upgrade from WLS 8.)
I auto-deployed a web application Weblogic Server 10.0. Now I am trying to undeploy it, but I just can't seem to make it go away. I first tried the delete button in the admin console, but that says "The application _appsdir_ch1_war was autodeployed and may only be deleted by removing the file(s) from the domain autodeploy directory."
So then I deleted the file from the autodeploy directory and restarting the server.
But it's still there.
I'm about to edit the config.xml manually, which I'm SURE will work, but that can't be the proper way to get rid of autodeployed apps, surely. So, before I do that, I ask here how one removes autodeployed applciations from a WLS 10 server.
Thanks for your help in advance!!!
JohnThe docs are here:
http://edocs.bea.com/wls/docs100/deployment/autodeploy.html#wp1021620
Once you delete the file in the autodeploy directory, I think you have several options:
1) Use the console to remove it
2) weblogic.Deployer command line http://edocs.bea.com/wls/docs100/deployment/wldeployer.html
3) WLST - http://blogs.oracle.com/jamesbayer/2007/10/automate_wls_console_tasks_wit.html
4) Delete from the config file (not recommended)
You're easiest option is probably either 1 or 2 if you're just getting started. -
Hi,
The other day a came across an UnsatisfiedLinkError with the message "... already loaded in another classloader". I saw the JNI specification states a native library is only permitted to be loaded by a single classloader. My question is why is this the case? What if I have two indipendent applications running on the same JVM instance, and both rely on the same native library? the problem with these native libraries is that there is no classloader delegation architecture when loading one(as there is with java classes), the library will always be loaded by the calling classes' classloader. So what can a developer do? What is the idea behind this behavior?
Any help is appreciated....Thanks for your answers,
The thing is -
1) I don't really want to load the library again, I
simply wish there will be no exception if I attempt to
load it again from a different classloader. After all,
what does it matter from which classloader i try to
load the library? If it is the same classloader the
method will simply return as if it loaded the lib
succesfully(even though it didn't since it detected
it's already loaded), why should there be any
difference if it's not the same classloader? the
library is already loaded anyway, all classes in the
JVM instance will have access to it anyway....Write the code so that it checks for the already loaded exception.
2) What if I one of my applications is a "third party"
app in which I cannot change the code to load the
library through my "library loader"?You are probably out of luck.
Although I would question why you would want a third party library used by mutliple applications to be individually loaded. In J2EE containers the database drivers are loaded outside the class loaders probably for similar reasons.
Maybe you are looking for
-
Copying files from Mac to Windows-invalid file names
Unfortunately, my boss likes Windows more than Macs, so we have puchased some new Dell computers to replace older G4 Macs. I'm having trouble copying existing files from a Mac (OS 10.4)to the shared drive on the Windows XP computer. I'm getting an er
-
ODI error with OBI APPs7.9.5.2 help me plzzzzzzz
Dear All, I installed the OBI Apps7.9.5.2 and when I installed The ODI and when I want to execute this commands agentservice –i –s WORKFLOW 20910 agentservice –i –a INTERFACE 20911 it says that JDK must be required instead of jre . How I can solve th
-
This is program, TYPES : BEGIN OF TY_HEAD, TICK_NO TYPE ZTICK_NO, FISRT_WT TYPE ZFT_WEIGHT, F_DATE TYPE ZDATE, SECOND_WT TYPE ZSC_WEIGHT, SEC_DATE TYPE ZDATE, NET_WEIGHT TYPE ZNET_WT, END
-
Merge Two Macbook iPhoto libraries Onto 1 External HD
Hi. I have backed up my iPhoto library from what I'll call MacBook "a" onto a 1tb external hard drive. I did this buy dragging the iPhoto icon over. It worked. I also have a very small iPhoto library on Macbook "b." I would like to merge this Macbook
-
Why can't I activate my new phone
I just received a replacement for my iPhone and when I try activating it says my phone number is all ready active but I have no service