Migration.bat -actions=info returns an exception
Hi
I'm migrate from MS SQL 2005 to Oracle 11g using SQL Developer V3.0.04 using the batch file migration.bat.
Everything worked fine.
Since I moved to a new system I run into a oracle exception:
PS C:\Program Files\Oracle\sqldeveloper\sqldeveloper\bin> .\Migration -actions=info
Exception initializing 'oracle.ideimpl.history.HistoryManagerImpl' in extension 'Oracle IDE': java.lang.NullPointerExce
tion
at oracle.ideimpl.history.HistoryManagerImpl.initialize(HistoryManagerImpl.java:65)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:407)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
at oracle.ide.Ide.startup(Ide.java:703)
at oracle.dbtools.raptor.headless.Starter.startIde(Starter.java:23)
at oracle.ideimpl.Main.start(Main.java:184)
at oracle.ideimpl.Main.main(Main.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Exception initializing 'oracle.ideimpl.history.HistoryManagerAddin' in extension 'Oracle IDE': java.lang.ExceptionInIni
ializerError
at oracle.ideimpl.history.HistoryManagerAddin.initialize(HistoryManagerAddin.java:41)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:407)
at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
at oracle.ide.Ide.startup(Ide.java:703)
at oracle.dbtools.raptor.headless.Starter.startIde(Starter.java:23)
at oracle.ideimpl.Main.start(Main.java:184)
at oracle.ideimpl.Main.main(Main.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
at oracle.ide.boot.Launcher.launch(Launcher.java:68)
at oracle.ide.boot.Launcher.main(Launcher.java:57)
Caused by: java.lang.NullPointerException
at oracle.ideimpl.history.HistoryManagerImpl2.<init>(HistoryManagerImpl2.java:116)
at oracle.ideimpl.history.HistoryManagerImpl2.<clinit>(HistoryManagerImpl2.java:103)
+... 33 more+
Database Connections
Then the regular information is placed here.
Any advise is appreciated.
Thanks a lot
Beat
Hi kgronau
Yes SQLDev GUI is running.
Investigated further and found the mistake:
"C:\Program Files\Oracle\sqldeveloper\sqldeveloper\bin"
Blanks in the folder to the migration.bat are not allowed.
After reunzipping in a folder without blanks it works perfect.
Thanks for the support
Beat
Similar Messages
-
Hi
I'm migrate from MS SQL 2005 to Oracle 11g using SQL Developer V3.0.04
Trying to use the batch file migration.bat. Found the documentation with migration -help=guide
Every action I start results in the SQLException below:
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>migration -actions=mkconn -connDetails=super_oracle:oracle:system/manager@xxxxxxxx:1521/mps
Error: java.sql.SQLException: Invalid connection information specified.
Verify the URL format for the specified driver.
HELP:
Running the command with -output=d:\migr creates a logfile with the same error message.
If I run the login credential with sqlplus system/manager@xxxxxxxx:1521/mps, I manage to connect to the database.
I assume the help is wrong specifying host:port:sid. I think host:port/sid is correct, at least with sqlplus this works
If I do a migration with sqldeveloper it works too.
I'm lost at this point. Any advise is appreciated.
Thanks a lot
BeatHi
In SQL Developer, did you already create a connection to the Oracle database storing the Migration Repository?
Yes
I do:
migration -action=init -conn=MyRepositoryDB
HELP:
Syntax:
Migration -help|-h=<actions> to get help on one or more actions.
where
+<actions> could be one or more (comma separated list) actions or guide+
guide provides a walk through of a typical migration
Examples:
Migration -help=capture
Migration -h=capture,convert
Migration -h=guide
The message: init completed successfully is missing. Only HELP:.......... is showing up
The same if I do now:
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>migration -action=lsconn
HELP:
Syntax:
Migration -help|-h=<actions> to get help on one or more actions.
where
+<actions> could be one or more (comma separated list) actions or guide+
guide provides a walk through of a typical migration
Examples:
Migration -help=capture
Migration -h=capture,convert
Migration -h=guide
Valid actions:
capture, convert, datamove, delcaptured, delconn, delconverted, driver, generate, guide, idmap, info, init, ls
m, runsql, scan and translate
D:\oracle\product\sqldeveloper_3.0.04\sqldeveloper\sqldeveloper\bin>
Only HELP:.......... is showing up -
Default domain creation returned following exception: abnormal subprocess
Hi, I'm trying to install j2ee Sun AppServer 1.4 under XP. The installation fails because of this:
"ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:Das System kann die angegebene Datei nicht finden."
Here is the translation for detailed message: System can not find the specified file.
I'm have an admin account. I also tried to create a domain by using:
asadmin create-domain adminport 4848 adminuser admin adminpassword adminadmin instanceport 8080 domain1
But I get the same message again.
Can any one help please?
Here ist the output of the log file:
INFO - unpacked jar file: appserv-ext.jar.pack
INFO - unpacked jar file: appserv-rt1.jar.pack
INFO - unpacked jar file: appserv-rt2.jar.pack
INFO - unpacked jar file: appserv-rt3.jar.pack
INFO - unpacked jar file: appserv-rt4.jar.pack
INFO - unpacked jar file: j2ee.jar.pack
INFO - unpacked jar file: appserv-assemblytool.jar.pack
INFO - unpacked jar file: appserv-cmp.jar.pack
INFO - unpacked jar file: appserv-jstl.jar.pack
INFO - unpacked jar file: appserv-tags.jar.pack
INFO - unpacked jar file: commons-launcher.jar.pack
INFO - unpacked jar file: deployhelp.jar.pack
INFO - unpacked jar file: j2ee-svc.jar.pack
INFO - unpacked jar file: sun-appserv-ant.jar.pack
INFO - unpacked jar file: commons-logging.jar.pack
INFO - unpacked jar file: activation.jar.pack
INFO - unpacked jar file: mail.jar.pack
INFO - unpacked jar file: jaxr-api.jar.pack
INFO - unpacked jar file: jaxr-impl.jar.pack
INFO - unpacked jar file: jax-qname.jar.pack
INFO - unpacked jar file: jaxrpc-api.jar.pack
INFO - unpacked jar file: jaxrpc-impl.jar.pack
INFO - unpacked jar file: relaxngDatatype.jar.pack
INFO - unpacked jar file: xsdlib.jar.pack
INFO - unpacked jar file: saaj-api.jar.pack
INFO - unpacked jar file: saaj-impl.jar.pack
INFO - unpacked jar file: s1as-jsr88-dm.jar.pack
INFO - unpacked jar file: dom.jar.pack
INFO - unpacked jar file: xalan.jar.pack
INFO - unpacked jar file: xercesImpl.jar.pack
INFO - number of merged jar entries: 2321
INFO - number of merged jar entries: 1382
INFO - number of merged jar entries: 1881
INFO - number of merged jar entries: 858
INFO - Start core server configuration.
ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:Das System kann die angegebene Datei nicht finden.
INFO - End core server configuration.
INFO - Start samples configuration.
INFO - End samples configuration.
INFO - Start Sun ONE Messaging Queue configuration
INFO - End Sun ONE Messaging Queue configuration
INFO - unpacked jar file: pbclient.jar.pack
INFO - unpacked jar file: pbembedded.jar.pack
INFO - unpacked jar file: pbtools.jar.pack
INFO - Start PointBase configuration
INFO - End PointBase configurationI didn't have any previous installations. I don't know what I did wrong... I solved this problem by not choosing the option to create a domain server rhight after the installation starts. Here the installation was successful.
After the installation I started then the domain server like described in the "Quick Start Quide":
Programs
--> Sun Microsystems
--> J2EE 1.4 SDK
--> Start Default Domain
So I was able to run the samples. -
During install of SqlServer Express 2008 (also I tried Developer Edition 2008 R2 with same error) I have error:
2014-05-01 17:13:52 Slp: Running Action: Install_WatsonX86_Cpu32_Action
2014-05-01 17:13:52 Slp: Error: Action "Install_WatsonX86_Cpu32_Action" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
2014-05-01 17:13:52 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: C:\WINDOWS\Installer\7affd.msi ---> System.IO.FileNotFoundException: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: --- Конец трассировки внутреннего стека исключений ---
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:52 Slp: Received request to add the following file to Watson reporting: C:\Documents and Settings\me\Local Settings\Temp\tmp1C4.tmp
2014-05-01 17:13:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2014-05-01 17:13:52 Slp: Inner exceptions are being indented
2014-05-01 17:13:52 Slp:
2014-05-01 17:13:52 Slp: Exception type: System.IO.FileNotFoundException
2014-05-01 17:13:52 Slp: Message:
2014-05-01 17:13:52 Slp: C:\WINDOWS\Installer\7affd.msi
2014-05-01 17:13:52 Slp: Stack:
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet
propertyId)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia,
InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
2014-05-01 17:13:52 Slp: в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_, Win32 error
2
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
2014-05-01 17:13:56 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
2014-05-01 17:13:56 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_171325\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
I checked C:\WINDOWS\Installer\ for "7affd.msi" - there is no such file. Also I checked same folder on Win7-64 machine and Notebook WinXP-Pro - there is no such file. I was able to install Express on both Win7-64 and Notebook, but not on this machine.
I've tried searching for "7affd.msi" on internet without luck. Also I removed all Visual Studio Express 2010 and used any "Fix-It" utilities to check files and registry. And still have same error.
How to fix it?Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -819060177
Exit facility code: 1838
Exit error code: 8751
Exit message: C:\WINDOWS\Installer\7affd.msi
Start time: 2014-05-01 21:16:41
End time: 2014-05-01 21:17:00
Requested action: ComponentUpdate
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\Detail_ComponentUpdate.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.1600.22%26EvtType%3d0xCF2E222F
Machine Properties:
Machine name: 3R-XP
Machine processor count: 4
OS version: Windows XP
OS service pack: Service Pack 3
OS region: Россия
OS language: русский (Россия)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Package properties:
Description: SQL Server Database Services 2008
SQLProductFamilyCode: {628F8F38-600E-493D-9946-F4178F20A8A9}
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 0
Installation location: j:\85c0db9df26d4ae0b40b522d393a\x86\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: ComponentUpdate
CONFIGURATIONFILE:
HELP: False
INDICATEPROGRESS: False
MEDIASOURCE: j:\85c0db9df26d4ae0b40b522d393a\
PID: *****
QUIET: False
QUIETSIMPLE: False
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_211629\SystemConfigurationCheck_Report.htm
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: System.IO.FileNotFoundException
Message:
C:\WINDOWS\Installer\7affd.msi
Data:
DisableWatson = true
Stack:
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetSummaryInformationStringProperty(ServiceContainer context, String pathToMsi, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetInstalledSummaryInformationStringProperty(ServiceContainer context, String productCode, SummaryInformationStreamPropertySet propertyId)
в Microsoft.SqlServer.Configuration.SetupExtension.MsiInstallEngineActionBehavior.ModifyAction(String installedProductCode, String installedProductVersion, String pathOfPackageOnMedia, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
в Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
в Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) -
Data migration on purchasing info record
Hi Gurus,
Where can I find some detail information about how to use program RM06IBI0 via LSMW to carry out data migration on purchasing info record?
Thanks in advance for your help!if you know how to use LSMW, then it does not really matter whether you prepare for loading info records or material masters or any other data.
this forum has many many threads that have links to LSMW documentation. Search for it if you need explanation on LSMW.
If you have specific questions to the info record load, then let me know -
Unmarshalling return; nested exception is: java.lang.ClassNotFoundException
I think what I'm trying to achieve is probably very simple (or at least should be) but I've been trying for at least 5 hrs now:
I'm using RMI for a distributed app I'm building for my degree.
Up until today I got around the need for using a SecurityManager by including all shared classes (those I pass between client and server) in a class library .jar file referenced by both client and server projects.
This has worked fine, but now I've coded a method that returns an object of a class that I do NOT want to include in the shared library (because I don't want the client to be able to construct these objects); therefore, I've decided to try and get the dynamic class loading working.
I'm using netbeans and testing on a single computer.
Here's what I'm trying:
My main() method has the standard code I've seen: if (System.getSecurityManager() == null) System.setSecurityManager(new RMISecurityManager());
In the server project's Run properties, I'm specifying VM Options: -Djava.security.policy=c:\security.policy -Djava.rmi.server.codebase="file://C:/"
I've copied the ellusive class's .java file into C:\ to keep the URL simple, but I've also tried directing it to the netbean project's bin\ folder using '%20' for spaces, both with the same results - about a five second pause (so it's finding something I think) and then the error message from the client's output:
error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mypackage.myClass
My policy file's contents are:
grant {
permission java.security.AllPermission;
I've tried about 20 different ways of formatting the codebase argument's URL.. can anyone help?
David
p.s. my OS is Windows 7Thanks EJP,
Yes, after posting I guessed it might want the .class file instead, so I directed it their instead - still no joy, unfortunately!
I'm carrying out all testing on one computer, so (+if+ I could get it to work) a local codebase address would not be a problem.
Noted about the server-side security manager. I might want to use callbacks, but the server still won't need to download class files from the client, so I'll still try and set the codebase, but will try without loading a security manager on the server-side.
For the time being I've put the class in the shared library but have defined it within the same package as the server code. By doing this I've been able to set the class's accessibility back to default, but the client can still access it as Object (from the shared library).
This solution is good enough, but I still wonder why the client refuses to accept the class file from the C:\ codebase. -
UnmarshalException:error unmarshalling return;nested exception ClassNotFoun
Hi,
I have written a client for an enterprise application. The client communicates with the application using APIs provided by the application that internally make RMI calls to the application server.
I am getting the following error when the client invokes a remote method.
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: <a.b.c.MyClass>
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:169)The class 'a.b.c.MyClass' is included in the client JAR as well as in the server installation directory. The classes in this directory will be added by server into its classpath automatically. The client and server are running on the same machine but have different classpaths.
The remote method uses class 'a.b.c.MyClass' in both input parameter and return type.
This method returns a list of objects found as specified by the input parameters. The input parameter and the result both use the 'a.b.c.MyClass'.
The code is able to make the call, the server processes the call, but it is failing wihle returning the result. I am not able to understand why it is failing for Unmarshalling the class that it has already (marshalled) used while sending the input parameters.
The code was working fine previously. I am not able to find out what has made it not working.
Waiting for your valuable help.
Providing the complete stack trace for reference
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: <package.class>
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:169)
at wt.method.MethodServerImpl_Stub.invoke(Unknown Source)
at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:616)
at wt.fc.PersistenceManagerFwd.find(PersistenceManagerFwd.java:215)
at ... Client call stack
at AppSide_Connector.BusObjJavaInterface.poll(BusObjJavaInterface.java:584)
at AppSide_Connector.AppCalls.poll(AppCalls.java:192)
at AppSide_Connector.AgentBusinessObjectManager.poll(AgentBusinessObjectManager.java:717)
at AppSide_Connector.AppPolling.poll(AppPolling.java:310)
at AppSide_Connector.AppPolling.doPollingContinuousWait(AppPolling.java:574)
at AppSide_Connector.AppPolling.run(AppPolling.java:137)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException: <package.class>
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at wt.fc.QueryResult$ChunkedExternalization.readObject(QueryResult.java:449)
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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at wt.fc.QueryResult.readExternal(QueryResult.java:156)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at wt.method.MethodResult.readExternal(MethodResult.java:144)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
... 15 moreRegards,
jsk1did you get the answer, can you share that, am stuck with similar problem
My remote call returns an object of some pojo which is generated from the class in a jar file. I get this exception
Client exception: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: com.xx.fir.xxxx.entity.Crdxx (no security manager: RMI class loader disabled)
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: com.xx.fir.xxxx.entity.Crdxx (no security manager: RMI class loader disabled)
Also my ant traget:
<java classname="com.xxx.cache.CacheServiceEndPoint" fork="yes">
<jvmarg value="-Djava.rmi.server.codebase=file:/${build}/classes/ file:/${lib}/{color:#ff0000}hibernate-credit.jar{color}" />{color:#ff0000} jar file where the pojo resides
{color}<jvmarg value="-Djava.security.policy=C:/workspace/Cache/policy.all" />
thx in advance -
PowerShell command returned an exception. Unexpected token 's' in expression or statement
Hi All,
I am trying to Creating a VM based on a Template in VMM through Orchestrator Runbook using below URL;
http://blogs.catapultsystems.com/lrayl/archive/2013/07/03/orchestrator-system-center-integrations-part-3-creating-a-vm-based-on-a-template-in-vmm.aspx
Runbook:
But at the Create VM from Template activity runbook will failed:
Throwing below error in while running runbook in Error Summary text:
PowerShell command returned an exception. Unexpected token 's' in expression or statement.
Exception: InvalidOperationException
Target site: PSRunspaceInvoker.HandleInvokeException
Stack trace:
at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.HandleInvokeException(Exception ex, ILogger logger)
at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.Invoke(RunspaceInvoke runspace, String script, ILogger logger)
at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSScriptRunner.Execute(String script)
at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012Domain.VM.CloneFromTemplate(String vmmServer, ParameterList inputParameters)
at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.VM.CloneFromTemplate.DoExecute(IActivityRequest request, ILogger logger)
at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.ActivityBase`2.Execute(IActivityRequest request, IActivityResponse response)
Both Orchestrator & SCVMM powershell are set on Unrestricted powershell.
Kindly suggest any solution or work around for resolution.
Thanks Rahul$This may be a bit late and perhaps not even relevant but I came across this post when trying to solve an issue I had with a powershell script in Orchestrator. Maybe it will help you, or maybe it will help someone else.
I was trying to create a connector between SCOM and our ticketing system. I wanted to export alert descriptions and in the process of testing I came across an alert description that had multiple lines and all kinds of crazy formatting. When I tried to assign
the Published Data to a varialbe in my powershell script i would get an error "Unexpected token [a partial alert description] in expression or statement.". After looking at the actual alert description data and seeing that i was only getting some of it
and not all of it it dawned on me that i somehow needed to escape out of all the crazy quoting, carriage returns, and special characters. to do that i assigned the Published Data to a variable in my powershell script as follows:
$Description = @"
{Description from "Get Alert"}
Apparently the @" "@ is called a here-string. Somewhat interesting. Hope it helps you or someone else! -
Sax parser returned an exception while trying to print/export in PDF
Hi all ,
I am getting an error as below when I am trying to export and print my report in PDF and also into POWERPOINT.
Sax parser returned an exception. Message: Entity 'nbsp' was not found, Entity publicId: , Entity systemId: , Line number: 40, Column number: 511
Error Details
Error Codes: UH6MBRBC
Location: saw.subsystem.pdf.postprocess, saw.subsystem.portal.pdf, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
This is in my QA environment.I have the same report in my local and that seems to be working fine without any errors.I saw an OTN thread below but that says they are using static text with html codes in their reports and that is causing the error..But I don't have any static text in my reprot.it is a Pivot table with combine with similar request.Also one more thing is I am getting this error all of sudden this morning..I have 8 more reports and they seem to be working fine.
Error when trying to use the "Print to PDF" option
Any suggestions pleaseHi Satya,
I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error. It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
You have posted this question long back. If you have got any solution for this then please let me know also.
Thanks -
Sax parser returned an exception. Message: Invalid character (Unicode: 0x12
Hi,
I'm getting the error 'Sax parser returned an exception. Message: Invalid character (Unicode: 0x12), Entity publicId: , Entity systemId: , Line number: 47, Column number: 75'
when I try and run a report in BI Answers 10g.
Apparently it's to do with a Java applet (or piece of Java code anyway) not being sent to an exception so it can't handle it. The problem is that I can't
run the report to get at some of the views that seem only available at run time. eg. charts.
Does anyone know how I can see behind the scenes of views without running the report?
Or does anyone know how to get rid of this error anyway?
Many thanks,
- JennyHi Satya,
I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error. It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
You have posted this question long back. If you have got any solution for this then please let me know also.
Thanks -
CS3 to CS5 - on Windows7 - how do I migrate the actions
CS3 to CS5 - on Windows7 - how do I migrate the actions? Where are the actions stored in windows7? (In XP it used to be in one directory, I remember)
I dont want to reinstall all actions all over again!
-DHThanks Josh. Worked for me. I could not figure why, after I copied my presets to the laptop (Win 7) my own actions were always missing. I saved them out as sets, then copied the actions.php file to the laptop and there they were!
Jim -
Webservice returned with exception in method 'isConnectionLoopbackAlive'
Hello,
during monitoring of last 24 hours logs i found message:
<b>Webservice returned with exception in method 'isConnectionLoopbackAlive'
category: /Applications/CAF/KM
Application: sap.com/irj
Location:com.sap.portal.prt.cafkm.com.sap.caf.km.service.ConnectionTestService.isConnectionLookupAlive(String)
</b>
can anybody help me? what does it mean?
Denis
ip
Edited by: Denis Yugay on Mar 18, 2008 5:10 AMHello, Vincent.
Situation is same after rebooting server.
Denis
Edited by: Denis Yugay on Mar 20, 2008 5:17 AM -
Report Result error Sax parser returned an exception
Hi,
I'm using Oracle Business Intelligence 10.1.3.4.2.
Recently I changed the BI instance to another server. So that I copied the reports from Old server to New server.
Reports are working fine in new server. But while trying to modify that reports it is showing error
"Sax parser returned an exception. Message: Invalid character (Unicode: 0x13), Entity publicId: , Entity systemId: , Line number: 1, Column number: 10737"
Error Codes: UH6MBRBC:E6MUPJPH
Regards,
SatyaHi Satya,
I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error. It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
You have posted this question long back. If you have got any solution for this then please let me know also.
Thanks -
Getting unmarshaling return; nested exception when running application.
I am getting the following error after login to my EJB based web application which has been deployed in weblogic 8.1 server.
cannot unmarshaling return; nested exception is:
java.io.InvalidClassException: local class incompatible: stream classdesc serialVersionUID = 1576396055896079162, local class serialVersionUID = 3218807580895902362
Can anyone please help me to findout the solution for this problem.Usually, when you get NoSuchMethod exceptions, there are two possible causes:
1. You are using reflection to try to find a method that doesn't exist -- perhaps there's a typo, or you don't have the correct version of the class
2. You compiled your class against a different version of the dependency class than your virtual machine has loaded, and the method doesn't exist in the loaded version.
Chances are, you haven't told the servlet engine you are using about the newer version of some library or other that you are using, so it's still loading up an older one.
- Adam -
How to create a new employment status in action info type 0000?
Hi All,
how do we add new employment status in action info type 0000?
As we all know right now we have Active, Inactive, Retire, Withdrawn.....reguirement with my client is to add a new on onleave.
Can you someone please help me on this?
Thanks Much!
RajHi
Create a new action - called "OnLeave (with Pay) " use the status - Active and if required create another action OnLeave (Without pay) with inactive status.
Its not required to create new status.If required you explore the STAT3 or STAT1. Recommended to use the standard employement status - STAT2 or max you can go for STAT3.
As per best practice, I recommend you to create another action called - Reporting back from Leave.
>SAP Customizing Implementation Guide
>>Personnel Management
>>>Personnel Administration
>>>>Customizing Procedures
>>>>>Actions
>>>>>>Define infogroups
>>>>>>Set up personnel actions
>>>>>>Create reasons for personnel actions
>>>>>>Change action menu
Maintain right usergroup/reference.
Thanks,
Amosha
Edited by: Amosha on May 21, 2009 2:17 AM
Maybe you are looking for
-
Hi all, I have a table that has the following fields: MANDT key PERNR(personal number) key KOSTL (cost center) For mandt t000 is assigned as the check table and pa0003 has been assigned as the check table of pernr field and CSKS for field kostl. What
-
Perfomance trouble - to much swap - not enough RAM
hello, On an HP RX3600, HP-UX 11.23, with 8gb RAM, 2 CPU itanium. I have my sap Ecc 6.0 installed end of march 2007. I have 110/120 users in session. I have some performance problem. 2 weeks ago, my dialog average response time was very good (less th
-
How to share iMovie 10 to iDVD
I'm now unable to Share to iDVD. This is a problem as I need to burn to DVD for our Church members to watch on their DVD players at home as well as the local cable TV channel to also play our DVD on-air. help?
-
in imovie11 the finished film shows up in the events library but the project file is missing. A complete search of hard drive fails to find it. Any way to reconstruct the project file from the finished film? I need to re-edit the movie.
-
Change chronological order of comments
Hi All, How do you change the chronological order of comments attached to KPIs in BSC? We need the latest comment to appear first when we view the comments. Thanks in advance Regards Bindi