It's all about the answers!

Ask a question

Rational Build Forge 7.1.2 - Import Errors


Alex Fabbri (1632) | asked Nov 05 '10, 2:43 p.m.
Has anyone ran across an error while running a configure all to pull back all configurations. It seems related to a script ("/tmp/RAFW/product/actions/configure/was/common/scripts/federatedSecurity.py")

WASX7017E: Exception received while running file "/tmp/RAFW/product/actions/configure/was/common/scripts/federatedSecurity.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 131, in ?
File "<string>", line 113, in readProperties
java.io.FileNotFoundException: /tmp/RAFW/user/environments/IT_Summit-szvmjt009/cells/NSC-RAFW-POC/security.properties (No such file or directory)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)

The file does not exist and this step still fails if I create and empty file.

4 answers



permanent link
Keir Morgan (4143) | answered Nov 10 '10, 12:49 a.m.
There is a security.properties file as part of some of the standard
environment templates in 7.1.2. Have you tried taking one from there and
using it? It looks like you might have to fill in some of the details, but
it might be a work around.

Regards,

K
-

permanent link
Timothy Robertson (216143) | answered Nov 11 '10, 10:42 a.m.
Do you have more of the log file? was_common_configure_security_federated only supports execute mode, it should not be called by was_common_configure_all or was_common_configure_security_all.

--tim

permanent link
Alex Fabbri (1632) | answered Nov 11 '10, 2:59 p.m.
was_common_configure_security_federated:

scope_init:

prepare_shell:

decode_password:

was_init:

jython_jacl_init:

java_init:

build_wsadmin_exec_string:

call_wsadmin:
WASX7209I: Connected to process "dmgr" on node szvmjt009dmgr using SOAP connector; The type of process is: DeploymentManager
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: ""
Nov 11, 2010 2:57:52 PM com.ibm.ws.scripting.AbstractShell
AUDIT: WASX7303I
Nov 11, 2010 2:57:52 PM com.ibm.ws.scripting.AbstractShell
AUDIT: WASX7091I
WASX7017E: Exception received while running file "/tmp/RAFW/product/actions/configure/was/common/scripts/federatedSecurity.py"; exception information: com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 131, in ?
File "<string>", line 113, in readProperties
java.io.FileNotFoundException: /tmp/RAFW/user/environments/IT_Summit-szvmjt009/cells/NSC-RAFW-POC/security.properties (No such file or directory)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java)
at org.python.core.PyJavaInstance.__init__(PyJavaInstance.java)
at org.python.core.PyJavaClass.__call__(PyJavaClass.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyObject.invoke(PyObject.java)
at org.python.pycode._pyx5.readProperties$17(<string>:113)
at org.python.pycode._pyx5.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx5.f$0(<string>:131)
at org.python.pycode._pyx5.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.exec(Unknown Source)
at com.ibm.bsf.engines.jython.JythonEngine.exec(Unknown Source)
at com.ibm.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.ibm.bsf.BSFManager.exec(Unknown Source)
at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:1010)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1985)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1025)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:329)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:92)

java.io.FileNotFoundException: java.io.FileNotFoundException: /tmp/RAFW/user/environments/IT_Summit-szvmjt009/cells/NSC-RAFW-POC/security.properties (No such file or directory)

Nov 11, 2010 2:57:52 PM com.ibm.ws.scripting.AbstractShell
AUDIT: WASX7093I

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /tmp/RAFW/logs/IT_Summit-szvmjt009/cells/NSC-RAFW-POC ownership will not be modified.

prepare_shell:

change_directory_ownership:
Current user is the OS_USER: /tmp/RAFW/work/IT_Summit-szvmjt009/cells/NSC-RAFW-POC ownership will not be modified.
Computing list of files to transfer back to the framework server

BUILD FAILED

/tmp/RAFW/product/lib/core.xml:132: The following error occurred while executing this line:
/tmp/RAFW/product/actions/configure/was/common/configure_was_common.xml:863: compositeaction unable to execute task: The following error occurred while executing this line:
/tmp/RAFW/product/actions/configure/was/common/configure_was_common.xml:957: The following error occurred while executing this line:
/tmp/RAFW/product/lib/jython/ant_jythonLib.xml:215: exec returned: 105
at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:142)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at net.sf.antcontrib.logic.TryCatchTask$CatchBlock.execute(TryCatchTask.java:138)
at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:224)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

permanent link
Alex Fabbri (1632) | answered Nov 11 '10, 6:57 p.m.
I was able to get past this error by upgrading to version 7.1.2 from 7.1.2.M5. Thanks for the help and posts.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.