Logging.StepResult.TS.StepType for NUmericLimitTest is NULL
I'm using TestStand's build in logging feature to write results to a database. My problem is that the "name" field of the MEAS_NUMERICLIMIT table is empty for test steps that are of the type "NumericLimitTest". I want this set to the name of the test step in this case but all the variables that should have the name are set to NULL for a NumerLimitTest. These include:
NameOf(Logging.StepResultProperty) (This is the normal value the name field is set to)
Logging.StepResult.TS.StepType
I need two things:
1. The variable containing the name of the step when its a NumericLimitTest type.
2. The variable containing the type of step. Logging.StepResult.TS.StepType can't be used because it's NULL when the test step
is a NumerLimitTest type.
Can someone help?
Thanks
Mike which database are you logging to? Can you try going into
your statements tab of your database options and selecting
STEP_NUMERICLIMIT and click the down button until it is the last
statement in the schema, and let me know if that makes a difference. If
you're using the default schema, it has two statements that log to the
MEAS_NUMERICLIMIT table. To help TestStand correctly generate automatic
SQL code to create the table in Access, you must list the
Meas_NUMERICLIMIT statement before the STEP_NUMERICLIMIT statement
because the MEAS_NUMERICLIMIT statement has more colums than the
STEP_NUMERICLIMIT statement.
Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand
Similar Messages
-
Revision: 3779
Author: [email protected]
Date: 2008-10-21 10:23:55 -0700 (Tue, 21 Oct 2008)
Log Message:
Continue fix for BLZ-262: null pointer exception on redeploy of web app/servlet.
Remove finally block in servlet init() as the call to destroy() in the catch block will clear ThreadLocals
if there is an error. Move it to the end of try block instead since the init() thread doesn't need any
thread locals set.
Log the startup error before calling destroy() in init() catch clause.
QA: Yes
Doc: No
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-262
Modified Paths:
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBrokerServlet.javaHello!
I had a similar problem under WebLogic 6.1 SP4 after deploying a war-file with
a bug.
After deploying the corrected file, it seemed that the old version was deployed
again.
Perhaps this behaviour will help you to load the new application/ejb:
- undeploy
- remove from targets
- move to targets
- deploy
Claudia
"Marco" <[email protected]> wrote:
>
hi all,
i have found a werid problem in deploying applications in Solaris 8
for weblogic
7.0.
i have deployed one EJB, and the first time i access it (thru teh web
app embedded
in the .ear) it gave me a null pointer exception because i was failing
to lookup
one environment variable.
so, i fix the code, rebuild the ear and redeployed, and the same error
happened
again.
i am sure i did not do any mistakees because i have put some system.err
statements
in the bean code to show the workflow, and when i have deployed it on
Window 2k
the statemens appeared.
but in solaris they didnot appear, and i got the same exception that
i had before..
it looks like wls is caching teh ejb, because whenever i redeploy it
(adding more
and more system.err statements) it always execute the faulty code of
when deployed
the very first time.
anyone can help?
regards
marco -
Logging a custom StepType Property
I followed the "Logging a New Step Property to a Database in TestStand" description but I get this answer back: An exception occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred while setting a column value.
Schema: Copy of Generic Recordset.
Statement: STEP_RESULT.
Column: String.
Unknown variable or property name 'String'.
Source: TSDBLog
How do I log these custom types?Hi Clausen,
*Note: The following information only applies to TestStand 2.0.x and later.
This error is being caused by the setup of your database schema not having a valid property name to be logged for the "String" column of the "STEP_RESULT" statement. If you look in your database schema under the STEP_RESULT statement and select the String column under the Columns/Parameters tab the "Expression" box probably contains a lookup string equal to -> String. This is the exact "unknown variable or property name" that is causing the problem. You need to have a property name that begins with "Logging.StepResult.*" in order to specify a valid lookup string for the logging process/schema. For instance if this String property of yours has a lookup string of "Step.String" the lookup string to use in the database schema would be "Logging.StepResult.String". If the property is inside another step property that is a container, like "Step.MyData.String", then you would use "Logging.StepResult.MyData.String". The one exception to this container rule is that if the property is in the "Step.Result" container, as "Step.Result.String", then you would use the lookup string "Logging.StepResult.String" (this is caused by the fact that the Logging property is pulled directly from your sequence execution's "Locals.ResultList" array and properties under Step.Result are extracted from the Result container and placed in ResultList as top level properties. For example, Step.Result.String gets copied into Locals.ResultList[n].String, where "n" represents the array index of the step result you want to modify.
The main thing to also realize, is that this step property has to be copied to your sequence's Locals.ResultList array during execution as well, because only properties within the ResultList will be passed to the logging process. There are basically 3 different ways to do this.
1) Use the Execution.AddExtraResult method (Check the TestStand Programmer's Help for further information. You can see an example of its use within the Sequential ProcessModel's Test UUTs execution entry point as well).
2) Put the property you wish to record into the ResultList in your step's "Step.Result" container, as every property within Step.Result is automatically copied into the ResultList at run-time by the engine. You can place your property in the Result container as the default location for the property within the definition of the custom steptype, or you can use any one of the PropertyObject.SetVal* API methods to programmatically insert a new property into the step's result container at run-time by using the method's "InsertIfMissing" option (note that if you do this it needs to occur before the step executes, or else it won't be copied into the ResultList).
3) You can also use the PropertyObject.SetVal* methods to insert a new property directly into the ResultList using the InsertIfMissing option AFTER the desired step has executed. For instance, you could specify the lookup string "Locals.ResultList[n].String" when using these methods.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask -
Could not deliver the output for Delivery channel:null
XML Publisher Report Bursting Program is throwing the following exception
Log file
========
XML/BI Publisher Version : 5.6.3
Request ID: 11900899
All Parameters: Dummy for Data Security=Y:ReportRequestID=11900819:DebugFlag=Y
Report Req ID: 11900819
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:DB94
Preparing parameters
null output =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900899.out
inputfilename =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
Data XML File:/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
Set Bursting parameters..
Temp. Directory:/caop/app02/common/caopcomn/temp
[071713_110919401][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.1.0 - Production
[071713_110919410][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=11900819, user-variable:cp:language=en, user-variable:cp:responsibility=21540, user-variable.OA_MEDIA=http://db172.coresys.com:17204/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=11900819, user-variable:cp:locale=en-US, user-variable:cp:user=PRAYAPUDI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=11900899, user-variable:cp:org_id=0, user-variable:cp:reportdescription=Care One Salary Change Approval, user-variable:cp:Dummy for Data Security=Y}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
Output File
========
<?xml version="1.0" encoding="UTF-8" ?>
- <BURS_REPORT>
<REQUESTID>11901286</REQUESTID>
<PARENT_REQUESTID>11901285</PARENT_REQUESTID>
<REPORT_DESC>Care One Salary Change Approval</REPORT_DESC>
<OUTPUT_FILE>/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11901286.zip</OUTPUT_FILE>
- <DOCUMENT_STATUS>
<KEY />
<OUTPUT_TYPE>EXCEL</OUTPUT_TYPE>
<DELIVERY>email</DELIVERY>
<OUTPUT>/caop/app02/common/caopcomn/temp/071713_120851408/xdo1_2.xls</OUTPUT>
<STATUS>fail</STATUS>
<LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>
</DOCUMENT_STATUS>
</BURS_REPORT>
XML File
======
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Generated by Oracle Reports version 10.1.2.3.0 -->
<CAO_SAL_CHG_APR>
<LIST_G_EMAIL>
<G_EMAIL>
<EMAIL>[email protected]</EMAIL>
<LIST_G_MESSAGE_NUMBER>
<G_MESSAGE_NUMBER>
<MESSAGE_NUMBER>1</MESSAGE_NUMBER>
<PERCENT_CHANGE>-98.75</PERCENT_CHANGE>
<SALARY_CHANGE_AMT>-23,621.00</SALARY_CHANGE_AMT>
<DATE_CHANGE_MADE>07/16/2013</DATE_CHANGE_MADE>
<APPROVER_NAME>Veluz, Cynthia Avila</APPROVER_NAME>
<APPROVER_JOB>Administration|Center|Payroll/Benefits Coordinator</APPROVER_JOB>
<PERSON_NAME>Donet, Andrew P</PERSON_NAME>
<PERSON_NUM>131996</PERSON_NUM>
<LOCATION_CODE>HR - CareOne at Morris ALF</LOCATION_CODE>
<REGION_2>NJ</REGION_2>
<JOB_TITLE>Administration|Center|Director of Admissions</JOB_TITLE>
<CURRENT_ANNUAL_SAL>299.00</CURRENT_ANNUAL_SAL>
<PREVIOUS_ANNUAL_SAL>23,920.00</PREVIOUS_ANNUAL_SAL>
<PAY_BASIS>PERIOD</PAY_BASIS>
<CUR_PAY>11.50</CUR_PAY>
<CHANGE_DATE>07/21/2013</CHANGE_DATE>
<SALARY_CHANGE_REASON></SALARY_CHANGE_REASON>
<EMPLOYMENT_CATEGORY>Fulltime-Regular</EMPLOYMENT_CATEGORY>
<ERIC_WILLIAMS>[email protected]</ERIC_WILLIAMS>
</G_MESSAGE_NUMBER>
</LIST_G_MESSAGE_NUMBER>
</G_EMAIL>
</LIST_G_EMAIL>
</CAO_SAL_CHG_APR>
Control File
========
<?xml version="1.0" encoding="UTF-8" ?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="CAO_SAL_CHG_APR/LIST_G_EMAIL/G_EMAIL">
<xapi:delivery>
<xapi:email server="smtp.coresys.com" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="123" to="[email protected]"
attachment="true"
subject="Salaries Changed Yesterday">
Please do not reply to this email, it is system-generated.
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Care_One_Salary_Change_Approval" output-type="EXCEL" delivery="123">
<xapi:template type="rtf" location="xdo://CAO.CAO_SAL_CHG_APR.en.US/?getSource=true">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
It is greatly apprecaited, if you can take a look the issue.
Thank you,
-Pradeep.Hello Sir,
I am hard coding the Email id in the control file. From/To/CC emails I have hard coded. I want to paste the Control file... But I could not because, not allowing me to post XML content.
Thanks
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/EMPLOYEE_REPORT/EMPLOYEE">
<xapi:delivery>
<xapi:Email server="mycompanyserver" port="25" From="[email protected]" reply-to ="[email protected]">
<xapi:message id="123" to="[email protected]" cc="[email protected]"
attachment="true" subject="Employee Details for ${FULL_NAME}"> Mr./Ms. ${FULL_NAME}, Please review the attached document
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://XBOL.TEST_ABC_XML.en.US/?getSource=true">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Edited by: user9367932 on Apr 13, 2010 4:59 AM
Edited by: user9367932 on Apr 13, 2010 4:59 AM -
Error!! Could not deliver the output for Delivery channel:null
Hi Friends,
XML/BI publisher : 5.6.3
Oracle Applications : R12.0.6
Bursting program Log file
==================
XML/BI Publisher Version : 5.6.3
Request ID: 993023
All Parameters: Dummy for Data Security=N:ReportRequestID=993022:DebugFlag=Y
Report Req ID: 993022
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:XXXXXGRP02
Preparing parameters
null output =/devrpi/applcsf/out/DEVRPI_auohscgrp02/o993023.out
inputfilename =/devrpi/applcsf/out/DEVRPI_auohscgrp02/o993022.out
Data XML File:/devrpi/applcsf/out/DEVRPI_auohscgrp02/o993022.out
Set Bursting parameters..
Temp. Directory:/tmp
[041210_040045855][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
[041210_040045859][][STATEMENT] setOAProperties called..
Bursting propertes.....
{user-variable:cp:territory=US, user-variable:cp:ReportRequestID=993022, user-variable:cp:language=en, user-variable:cp:responsibility=50537, user-variable.OA_MEDIA=https://appscgrpdev.oracleoutsourcing.com:443/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=993022, user-variable:cp:locale=en-US, user-variable:cp:user=Dev2, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=993023, user-variable:cp:org_id=90, user-variable:cp:reportdescription=Test_xml_bursting, user-variable:cp:Dummy for Data Security=N}
Start bursting process..
Bursting process complete..
Generating Bursting Status Report..
Bursting program Out put file
==================
Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details.Hello Sir,
I am hard coding the Email id in the control file. From/To/CC emails I have hard coded. I want to paste the Control file... But I could not because, not allowing me to post XML content.
Thanks
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/EMPLOYEE_REPORT/EMPLOYEE">
<xapi:delivery>
<xapi:Email server="mycompanyserver" port="25" From="[email protected]" reply-to ="[email protected]">
<xapi:message id="123" to="[email protected]" cc="[email protected]"
attachment="true" subject="Employee Details for ${FULL_NAME}"> Mr./Ms. ${FULL_NAME}, Please review the attached document
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output-type="pdf" delivery="123">
<xapi:template type="rtf" location="xdo://XBOL.TEST_ABC_XML.en.US/?getSource=true">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
Edited by: user9367932 on Apr 13, 2010 4:59 AM
Edited by: user9367932 on Apr 13, 2010 4:59 AM -
Revision: 11930
Revision: 11930
Author: [email protected]
Date: 2009-11-18 06:10:40 -0800 (Wed, 18 Nov 2009)
Log Message:
Update of accessibility implementation to allow for case of null titleDisplay (title). If there is no title then no accImpl will be created but accessibility properties can still be set on the component. Also added code to set the tabIndex of the titleDisplay to the tabIndex of the Panel if one exists. This allows the title of the panel to appear in reading order as assigned by the tabIndex.
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
"cannot create jbcd driver of class " for connect URL 'null'" error
I am trying to get an application that is currently working fine on a Windows platform to work in a Linux environment.
One thing that is different from my setup in Windows, and also one that I have no experience with, is the Linux-Ubuntu default install of Apache uses Virtual Hosts and Tomcat's equivalent multiple sessions.
I'm running the app out of the usr/share/tomcat6/webapps/msgboard instance of Tomcat vs var/lib/tomcat6.
I am calling the application from Apache Virtual Host port 80 using mod_jk. The application cannot run under native Tomcat because of the extensive use of PHP. Everything else in the application is working correctly including a DWR (Ajax) servlet. However I also tried a simple test app from native Tomcat and got the same results.
I also tried connecting with jdbc:mysql://localhost:3306/msgboard?autoreconnect=true&user=root&password=password at the terminal prompt and got
bash: jdbc:mysql://localhost/msgboard?autoreconnect=true: No such file or directory
[1]7074
[2] 7048
[1] Exit 127 jdbc:mysql://localhost/msgboard?autoreconnect=true
[2]+ Donesyslog error is
Feb 23, 2009 3:01:51 PM org.directwebremoting.util.CommonsLoggingOutput info INFO: Exec: Online.getPosts()
Feb 23 15:01:51 ubuntu jsvc.exec[6779]: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Feb 23 15:01:51 ubuntu jsvc.exec[6779]: Caused by: java.sql.SQLException: No suitable driverFollowing is all the pertinent setup info for reference and critique. Any suggestions would be greatly appreciated.
Apache2.2
Tomcat6
JDBC
mod_jk
Java (not sure what ver, it's the default Ubuntu install ver.)
PHP
Currently I am pointing to mysql-connector-java.jar in my CLASSPATH at /usr/share/java/mysql-connector-java.jar added symlinks commons-dbcp.jar, commons-logging.jar to usr/share/tomcat6/lib
Application is deployed from usr/share/tomcat6/webapps/msgboard
The basic code snippet in class calling the jdbc
WEB-INF/classes/dbLink.class
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/msgboardDB");
WEB-INF/web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="msgboard">
<display-name>Message Board</display-name>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/msgboardDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
META-INF/context.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<Context path="/msgboard" docBase="msgboard"
debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/msgboardDB"
auth="Container"
type="javax.sql.DataSource"
maxActive="100"
maxIdle="30"
maxWait="10000"
username="root"
password="thePassword"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/msgboard?autoReconnect=true"/>
</Context>
I also included a symlink to this in var/lib/tomcat6/config named msgboard.xml
per instruction at http://ubuntuforums.org/showthread.php?t=430133 and have since removed it.
my.cnf
[client]
port = 3306
bind-address = 127.0.0.1
permissions set in /etc/tomcat6/policy.d/04webapps.policy
permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
per instruction at http://ubuntuforums.org/showthread.php?t=430133
other permiissions set /etc/tomcat6/policy.d/50local.policy
grant codeBase "file:/usr/share/tomcat6/webapps/msgboard/-" {
permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
grant codeBase "file:/usr/share/tomcat6/webapps/msgboard/WEB-INF/classes/-" {
permission java.io.FilePermission "/usr/share/tomcat6/webapps/msgboard/WEB-INF/classes/logging.properties", "read";
grant codeBase "jar:file:/usr/share/tomcat6/webapps/msgboard/WEB-INF/lib/mysql-connector-java-5.1.6.jar!/-" {
permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
I even tried setting Tomcat Security to "no" per instruction at
http://webui.sourcelabs.com/ubuntu/mail/user/threads/Tomcat_connecting_to_MySQL_-Ubuntu8.10_Server.meta
http://ubuntuforums.org/showthread.php?t=1034957&highlight=apache+tomcat+jdbc
http://ubuntuforums.org/showthread.php?t=66615
http://ubuntuforums.org/showthread.php?t=33601&highlight=java+mysql
http://ubuntuforums.org/showthread.php?t=430133
http://programminglinuxblog.blogspot.com/2008/03/connection-pooling-with-java-all.html
http://webui.sourcelabs.com/ubuntu/mail/user/threads/Tomcat_connecting_to_MySQL_-Ubuntu8.10_Server.metaSOLUTION
I had to add
<Resource name="jdbc/webappDB"
auth="Container"
type="javax.sql.DataSource"
maxActive="100"
maxIdle="30"
maxWait="10000"
username="root"
password="password"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/webapp?autoReconnect=true"/>into /var/lib/tomcat6/conf/Catalina/localhost/ webapp.xml
Note: the above context file was created automatically after deploying the webapp. I had to add the <resource> to it.
The context I created in usr/share/tomcat_home/webapp/META_INF/context.xml is still there and has the same <resource>.defined in it. I did not verify whether or not it still needs to be there.
After that I had to add two policies
/var/lib/tomcat6/conf/policy.d/03catalina.policy
grant {
permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.dbcp.*";
and 04webapps.policy
permission java.net.SocketPermission "127.0.0.1:3306", "connect,resolve,listen,accept";
That did the trick!
Other things that were done but have not been verified as to have any bearing on this issue.
I changed the active java from openjdk to java-sun
I added $tomcat_home/lib:$tomcat_home/lib/mysql-connector.jar:$tomcat_home/lib/commons-dbcp.jar to PATH
Changed CLASSPATH=usr/share/classpath:usr/share/java/commons-dbcp.jar:usr/share/java/mysql-connector.jar
Edited by: wlbragg on Feb 25, 2009 12:58 AM
Edited by: wlbragg on Feb 25, 2009 12:59 AM
Edited by: wlbragg on Feb 25, 2009 1:11 AM -
Revision: 3766
Author: [email protected]
Date: 2008-10-21 05:59:49 -0700 (Tue, 21 Oct 2008)
Log Message:
Fix for BLZ-261: Null pointer exception in Websphere login code.
Protect the debug logging from being called if the principal variable is null.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-261
Modified Paths:
blazeds/trunk/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCommand.jav aRevision: 3766
Author: [email protected]
Date: 2008-10-21 05:59:49 -0700 (Tue, 21 Oct 2008)
Log Message:
Fix for BLZ-261: Null pointer exception in Websphere login code.
Protect the debug logging from being called if the principal variable is null.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-261
Modified Paths:
blazeds/trunk/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCommand.jav a -
Failed to save deployment descriptor for: EEdnc cause: null
I am getting nowhere fast trying to deploy an ear with 1 EJB jar and a war file.
The war deploys by itself ok. So the EJB jar has 2 stateless beans and an MDB
configured for mqseries. I deployed a sample with some EJBs so the configuration
must be ok. It verifies with no errors, compiles with ejbc, javac and rmi ok. then I get
this error...
I was wondering if anyone has run into this before or if an expert knows what it is.
I have been using the admin console to deploy as well as asadmin.
\j2ee-apps\EEdnc\com\boeing\bca\ednc\ejbcontainer\services\imsaccess\_IMSAccess_Stub.class
[24/Sep/2003:10:47:33] INFO ( 1564): DPL5110: EJBC - END of EJBC for [EEdnc]
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]uid: 69758199598546944
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc name: BoltsReceiver
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc id: 69758199598546944
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc name: IMSAccess
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc id: 69758199598546945
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc name: JmsEjb
[24/Sep/2003:10:47:33] FINE ( 1564): [Application]desc id: 69758199598546946
[24/Sep/2003:10:47:33] FINE ( 1564): Saving the app descriptor....................
[24/Sep/2003:10:47:33] WARNING ( 1564): DPL5035:Error while running ejbc
com.iplanet.ias.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- -- Failed to save deployment descriptor for: EEdnc
cause: null
at com.iplanet.ias.deployment.backend.EJBCompiler.wrapException(EJBCompiler.java:589)
at com.iplanet.ias.deployment.backend.EJBCompiler.compile(EJBCompiler.java:186)
at com.iplanet.ias.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:215)
at com.iplanet.ias.deployment.backend.AppDeployer.deploy(AppDeployer.java:98)
at com.iplanet.ias.deployment.backend.AppDeployer.doRequest(AppDeployer.java:50)
at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplicationArchiveOrDirectory(ManagedServerInstance.java:745)
at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplication(ManagedServerInstance.java:667)
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.iplanet.ias.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:188)
at com.iplanet.ias.admin.server.core.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:137)
at com.iplanet.ias.admin.server.core.jmx.ASMBeanServerImpl.invoke(ASMBeanServerImpl.java:222)
at com.iplanet.ias.admin.servermodel.controllers.SOMRequestDispatcher.invoke(SOMRequestDispatcher.java:88)
at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.doDeploy(AppServerInstanceController.java:2244)
at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.deployApplication(AppServerInstanceController.java:1099)
at com.iplanet.ias.admin.servermodel.AppServerInstance.deployApplication(AppServerInstance.java:249)
at com.iplanet.ias.admin.server.gui.jato.DeployEARApplicationViewBean.add(DeployEARApplicationViewBean.java:111)
at com.iplanet.ias.admin.server.gui.jato.IASViewBean.handleOkRequest(IASViewBean.java:235)
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.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:299)
at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:811)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:749)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:596)
at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:772)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:446)
at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(Standar
[24/Sep/2003:10:47:34] WARNING ( 1564): Deployment Error
com.iplanet.ias.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to save deployment descriptor for: EEdnc
cause: nullI don't remember exactly what it was, but I think it was a JNDI name. I resolved it by using
<ejb-link></ejb-link> in the ejb-local-ref in the ejb-jar.xml. I made the ejb-link match the
ejb-name in the same descriptor. This seemed to work better than changing the jndi-name in the sun-ejb-jar.xml.
One thing you can do is set the logging for server1 to finest, then bounce the server and deploy.
Shut down the server and look at the log with wordpad. Start at the bottom and work your
way up looking for stack traces. They get more and more detailed as you go up and may
point you to the exact problem. Works most of the time. -
Revision: 11929
Revision: 11929
Author: [email protected]
Date: 2009-11-18 06:08:50 -0800 (Wed, 18 Nov 2009)
Log Message:
Update of accessibility implementation to allow for case of null titleDisplay (title). If there is no title then no accImpl will be created but accessibility properties can still be set on the component.
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Revision: 9778
Author: [email protected]
Date: 2009-08-28 17:16:26 -0700 (Fri, 28 Aug 2009)
Log Message:
Change default creationPolicy for NavigatorContent to null. If null, NavigatorContent will check its parent Navigator's creationPolicy. If the parent Navigator's creationPolicy is "all", NavigatorContent will use "all" and create all of its children. Otherwise, NavigatorContent will use "none" as the creationPolicy.
QE Notes: default value for creationPolicy is null
Doc Notes: default value for creationPolicy is null
Bugs: None
Reviewer: Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorContent.as -
Testing for IS NOT NULL with left join tables
Dear Experts,
The query is showing the NULL rows in the query below....
Any ideas, advice please? tx, sandra
This is the sql inspector:
SELECT O100321.FULL_NAME_LFMI, O100321.ID, O100404.ID, O100321.ID_SOURCE
, O100404.NAME, O100321.PERSON_UID, O100404.PERSON_UID, O100404.VISA_TYPE
FROM ODSMGR.PERSON O100321
, ODSMGR.VISA O100404
WHERE ( ( O100321.PERSON_UID = O100404.PERSON_UID(+) ) ) AND ( O100404.VISA_TYPE(+) IS NOT NULL )Hi Everyone,
I am understanding alot of what Michael and Rod wrote.... I am just puzzled over the following:
the query below is left joining the STUDENT table to
HOLD table.
The HOLD table - contains rows for students who have holds on their record.
a student can have more than one hold (health, HIPAA, basic life saving course)
BUT, for this query: I'm only interested that a hold exists, so I'm choosing MAX on hold desc.
Selecting a MAX, helps me, bec. it reduces my join to a 1 to 1 relationship, instead of
1 to many relationship.
Before I posted this thread at all, the LEFT JOIN below testing for IS NOT NULL worked w/o
me having to code IS NOT NULL twice....
Is that because, what's happening "behind the scenes" is that a temporary table containing all max rows is being
created, for which Discoverer has no predefined join instructions, so it's letting me do a LEFT JOIN and have
the IS NOT NULL condition.
I would so appreciate clarification. I have a meeting on Tues, for which I have to explain LEFT JOINS to the user
and how they should create a query. I need to come up with rules.
If I feel "clear", I asked my boss to buy Camtasia videocast software to create a training clip for user to follow.
Also, if any Banner user would like me to email the DIS query to run on their machine, I would be glad to do so.
thx sooo much, Sandra
SELECT O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID, MAX(O100255.HOLD_DESC)
FROM ODSMGR.HOLD O100255, ODSMGR.STUDENT O100384
WHERE ( ( O100384.PERSON_UID = O100255.PERSON_UID(+) ) ) AND ( O100384.ACADEMIC_PERIOD = '200820' )
GROUP BY O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID
HAVING ( ( MAX(O100255.HOLD_DESC(+)) ) IS NOT NULL )
ORDER BY O100384.NAME ASC -
STRUTS - Cannot retrieve definition for form bean null -aaaarrrrgh
Hi Folks,
my head hurts and i become crazy... i know that a lot of people asked this question before, but i did not found any suitable solution.
I have simple a jsp page, containing a form which should be handled by struts. I tried everything, but i did not found my mistake.
Can anyone help me please?
JSP:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ page contentType="text/html;charset=windows-1252"%>
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Anmeldung f?r GOLEM Quickplayout</title>
</head>
<body>
<html:errors/>
<html:form action="checkLogin.do">
<table cellspacing="3" cellpadding="2" border="0" width="100%" align="left">
<tr>
<td>
<bean:message key="prompt.username"/>
</td>
<td>
<html:text property="username"/>
</td>
</tr>
<tr>
<td>
<bean:message key="prompt.password"/>
</td>
<td>
<html:text property="password"/>
</td>
</tr>
</table>
</html:form>i tryed a lot for the FORM -Tag, for instance:
<html:form action="checkLogin.do"> or
<html:form action="/checkLogin.do"> or
<html:form action="/checkLogin"> but all throws the same exception. :(
struts-config.xml
<form-beans>
<form-bean name="loginForm" type="de.orb.quick.view.LoginForm"/>
</form-beans>
<action-mappings>
<action path="/login" type="de.orb.quick.view.LoginAction" name="loginForm" input="/login.jsp" scope="session" unknown="true">
<forward name="success" path="/showData.jsp"/>
</action>
<action path="/checkLogin" type="de.orb.quick.view.CheckLogonAction" unknown="false" input="/login.jsp">
<forward name="success" path="/storeRequestData.do"/>
<forward name="failure" path="/login.do"/>
</action>
Exception:
javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
at _login._jspService(login.jsp:11) [/login.jsp]
LoginAction:
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
return mapping.findForward("success");
LoginForm:
public class LoginForm extends ActionForm {
private String password = "";
private String username = "";
public void reset(ActionMapping mapping, HttpServletRequest request) {
super.reset(mapping, request);
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
return super.validate(mapping, request);
public String getPassword() {
return password;
public void setPassword(String password) {
this.password = password;
public String getUsername() {
return username;
public void setUsername(String username) {
this.username = username;
}Sorry for this stupid question, but how can i avoid this exception while using struts TagLibs?
I tried to face the jsp with another action, but this does not change anything.
Thank you in advance
Mirkojavax.servlet.jsp.JspException: Cannot retrieve definition for form bean myfrom
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
at jsp_servlet.__index._jspService(__index.java:155)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) -
Cannot retrieve definition for form bean null
Hi,
I have a page jsp which contains a form. This form contains an action
towards (page.do ).
I configured struts-config.xml file in whom I put a configuration of
action ( type=xxx.pageAction ) but not form because I have not need of
it.
During the execution it show that it tries to instantiate a bean of form
corresponding to a configuration of action and post this error message
" Root causes of ServletException javax.servlet.jsp. JspException:
Cannot retrieve definition for form bean null "
Could you indicate to me where is the problem ?
Here is my configuration :
< html:form action = " page.do " method = " post " >
</html:form >
<action path="/page"
type="xxx.pageAction">
<forward name="show" path="/page.jsp"/>
</action>
Thanks in advance
Rachid.
There's little reason to use Struts infrastructure to set this up since you have no model, and the controller aspect is well-defined (just go to "NewProject"!). You're basically providing a link from one page to another, akin to doing an <a href>, and you wouldn't use Struts to do a simple link :).
I would just just use standard HTML.
If you're okay with using Javascript, this is the simplest:
<input type="button" onClick="document.location='NewProject'">
Or you can use a standard HTML form, as you've basically done already:
<form action="NewProject" method="get">
<input type="submit" value="Create">
</form> -
User exit to update the incompletion log in sales order for pricing error
Hi experts,
I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
Thanks and Regards,
Vicky.Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky.
Maybe you are looking for
-
Error in Process Chain while loading Master data text?
Hello All Having a Process chain and having 5 infopackages(Master data Attri & text)with FULL LOAD with an processing options as PSA and Infobject.In this one of the infopackage failed and the status is in red colour,and when I right clicked there is
-
Displaying Blob data (MS Word Doc) in Reports
Anyone have suggestions/idea on how to display an MSWord Doc stored within a blob column (not a bfile pointer) within Reports? All I see is the binary data but would like to see the Word Doc itself. Thanks.
-
Making a list of missing music files
My hard drive crashed and Apple store was able to recover my files from my Time Capsule I thought completely but as I am now trying to listen to music I am missing all kinds of files. How can I have iTunes make a list of all the files it cannot find
-
Insert Image/Table not working in SP 2007 Rich Text Editor, also in Wiki.
This is an odd one. It's in SP 2007. When I try to insert a table or image when using the Rich Text editor, it doesn't work. Others with the same rights are able to and I have confirmed that I am following all appropriate steps (and variations thereo
-
Hi, Can anyone answer the below general doubts. Thank you 1 How to draw the sample architecture diagram of a shopping cart what should we cover in the archetecture. 2 If classA creates classB then should we show that as dependeny relation or as assoc