Problem with Keithley 2400 source meter
Hello all,
I tried to controll a keithley 2400 source meter with Labtracer using a NI GPIB-USB-HI card but when I run the test is send me this error message: "There was ab error reported on Visa Read in Query. Test aborted. Error code: -1073807339"
is this card (NI GPIB-USB-HI) able to controll keithley 2400 source meter ?
the keithley 2400 source meter screen show "REM TALK" during the running of the program,
I installed NI488227 in my computer (windows XP) and also "Agilent Connection Expert", this later also show no possibilty to connect with the Keithley meter, I attached a file for "Agilent Connection Expert".
Any help is appreciated
Thank you by advance
Attachments:
ACE.docx 133 KB
Follow the preliminary steps to first check if the device is able to communicate via the GPIB-USB convertor.
navigate to: Start>>National Instruments>>NI 448.2>>Interactive control. Use this utility to query the GPIB device for some standard commands for e.g.: *IDN?
There is also a GPIB analyzer in the above path which you can use to verify the device connectivity to the system.
Also for communicating the with 3rd party GPIB devices always enable " NIVisa Tulip.dll" which will help recognising the device in max. Look at the picture to enable this option in max.
post back for queries
With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Attachments:
tulip.jpg 175 KB
Similar Messages
-
Keithley 2635a source meter error 5038
Hi All,
I'm trying to control a Keithley 2635a source meter using labview but my source meter outputs an error every time I try to run the VI "error 5038: SMUA index exceeds maximum reading"
I've looked at one other post on this topic but I can't figure out why I keep getting this error.
I've attached my VI's to this post.
Thanks for your help.
Attachments:
Keithley source and average 5.vi 46 KB
IV sweep 0V to Vhigh to Vlow to 0V_Version5.vi 78 KBI fixed the problem.
I wasn't setting the number of measurements to be taken by the buffer. I needed to use a Keithley sub VI called configure measure so that the measure sub VI would know how many
measurements to take.
If anyone has a similar problem using the buffer on a Keithley 2600 series SMU then reply to this post and I'll see if I can help you out.
Thanks again. -
Problem with Creation of Source module for MS Access
I am having a problem in creating a source module connected with an "MS Access" file in OWB 9i using the heterogeneous services. I have created a DSN to an access file (.mdb) and created the HS in Oracle (modified the tsnames.ora and listener.ora files with required details). Created a Database link using this service and it's working fine in SQL PLUS, but I am unable to create a Source module in OWB 9i using this db link, since OWB 9i need a schema name for db link. In MS access it's not possible to have a schema.
Please help me in solving the above issue.
Thanks in advance
JaganWhat version of OWB and Oracle database are you using? If it is an OWB version 9.0.4 or higher, I presume you are trying to create a non Oracle source module under the Oracle Database node - is this the case? If yes, you should not do that, but create your MS Access module under Databases->Other->Other node (as I understand you are not using ODBC). Let me know if my assumptions are correct.
Regards:
Igor -
SQL Developer 3 EA2 - Problem with formating plsql source code
I'm using sql developer 3 ea2. I have played with source code formating.
I have 2 issues with formating in source code editor.
I have a plsql string like the following extending over several lines.
s VARCHAR2(2000) := 'SELECT
col1, col2, col3
FROM table
WHERE col4 = :var';The result after apply "format" to my sourcecode ist:
s VARCHAR2(2000) := 'SELECT
col1, col2, col3
FROM table
WHERE col4 = :var';The second is that sql developer ist camelizing the previous line if I type a whitespace in plsql sourcecode.
How to switch that off??
The last issue is realy annoying!
ChristianI am having exactly the same problem. Every time you use Format Ctrl/F7 it adds new line feeds. Code starts off as:
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
First Format Ctrl/F7 get an extra blank line:
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
Then second Format Ctrl/F7, get THREE extra lines!!! It goes exponential!!
command := '
select account_status, default_tablespace, temporary_tablespace,
to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
from Dba_Users@@
where username=:1' ;
So far I've only really encountered the problem with dynamic SQL, which ignores the extra line feeds.
i am pretty sure this is a long standing SqlDeveloper Format problem, going back to V2. -
Problem with creating JAVA Source. please help
Dear all
how are you.
In fact I have made a simple java class that return a string which represents the screen size . for example 800/600 or 1024/768 or others
but I face error ORA-29541 class string.string could not be resolved
This what i made
first i created my JAVA Source
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "ScreenProperty" AS
import java.lang.Object;
import java.awt.*;
public class ScreenProperty
int w;
int h;
public static String getScreenSize()
w = Toolkit.getDefaultToolkit().getScreenSize().width;
h = Toolkit.getDefaultToolkit().getScreenSize().height;
return w+"/"+h;
SQL>Operation 160 succeeded.
this means the the java source created successfuly
and I'm sure that my java code is correct
then i created a fuction to call this java source as fellow
SQL> create or replace function f_get_screen_size
return varchar2
as language java
name 'ScreenProperty.getScreenSize() return java.lang.String';
Function created.
the I Issued this sql statement to return the result that should be varchar2 that represent the sceen size(1024/768)
SQL> select f_get_screen_size from dual;
ORA-29541 class string.string could not be resolved.
I do not know what is the reason for this error
and when i searched the documentation for this error i found
ORA-29541 class string.string could not be resolved
Cause: An attempt was made to execute a method in a Java class that had not been previously and cannot now be compiled or resolved successfully.
Action: Adjust the call or make the class resolvable
I need to know what is the problem.
And is there another way to load this class other than making JAVA SOURCE
please helpbefore drawing hands of clock you could fill a circle/oval with certain color, then you'd have that kind of circle that has been filled as backgound.
you may change those dots to be small lines for 12, 3, 6 and 6 o'clock and then have small dots represent 1, 2, 4, 5, 7, 8, 10 and 11 o'clock
anyhow, you should study that code and see how you can modify it whitout breaking it but having it look different.
better yet would be trying to understand how it works, what any line there means and then recreate your own... this way you would learn more....
and if there are some methods or anything you don't understand, then look them up from API documentation
good luck. -
Problem with raw PDF-source in AIR
Hi Guys,
I have a very annoying issue, that I have not been able to solve yet. I am trying to download a PDF-file from the web. The file was created by OpenOffice.org using the excellent JODConverter web-service. I have working Ruby code that allows me to download the file and save it to disk. When I open the file it works just as intended.
The issue comes from trying to re-implement this feature in ActionScript for use in my AIR application. There are some FlateDecode blocks in the PDF-file, and those blocks appear to be damaged when they pass through ActionScript. I try to save the PDF-file using a FileStream object, but only the meta-data is saved correctly. All the contents of the file (which is in the FlateDecode blocks) is not displayed.
I am no expert on character encoding, but this seems to be a character encoding issue. Both Ruby and ActionScript consider the source of the PDF-file to be a string. They also both seem to agree that it is a UTF-8 encoded string. However, the strings representing the FlateDecode blocks look different in ActionScript than they do in Ruby. Any help on this issue will be greatly appreciated.Each user would have to set each browser individually.
Note: I don't think it's possible to set the default PDF viewer with code for every user who visits the site.
See the following link to enable Adobe Reader as the default PDF viewer in different browsers:
http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
Note: Not all PDF viewer browser plug-ins support PDF submissions, and most 3rd party viewers may not support forms created with LiveCycle or forms with Extended Reader Rights enabled. -
Problem with finding data-source
I get the following exception: javax.naming.NameNotFoundException: jdbc/localDatabaseDS not found
when i try to initiate my ds (datasource). Does anybody know what to do?
class =
import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.NameNotFoundException;
* This class handles handles the connectionpool business <br>
* @author Taeke de Jong
public class DbConnectionPool {
private DataSource ds = null;
* constructor with datasource from JNDI
public DbConnectionPool(String dataSource)
try {
Context context = new InitialContext();
ds = (DataSource) context.lookup('jdbc/localDatabaseDS');
catch(NameNotFoundException nox) {System.out.println(nox.toString());}
catch(NamingException nex) {System.out.println(nex.toString());}
web.xml =
<servlet>
<servlet-name>DbConnectionServlet_2</servlet-name>
<servlet-class>minlnv.ifw.common.connection.DbConnectionServlet</servlet-class>
<init-param>
<param-name>databaseName</param-name>
<param-value>localDatabase</param-value>
</init-param>
<init-param>
<param-name>dataSource</param-name>
<param-value>jdbc/localDatabaseDS</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<resource-ref>
<description>JNDI DataSource localDatabase IFW</description>
<res-ref-name>jdbc/localDatabaseDS</res-ref-name>
<res-type>javax.sql.Datasource</res-type>
<res-auth>APPLICATION</res-auth>
</resource-ref>
data-sources.xml =
<data-source class="com.evermind.sql.DriverManagerDataSource"
connection-driver="oracle.jdbc.driver.OracleDriver"
ejb-location="jdbc/localDatabaseDS"
inactivity-timeout="30"
location="jdbc/localDataseCorDS"
name="localDatabase"
pooled-location="jdbc/localDatabasePooledDS"
url="jdbc:oracle:thin:@10.160.140.30:1521:ifwt"
// left out password and username
min-connections="7" max-connections="10" connection-retry-interval="1" xa-location="jdbc/xa/OracleXADS"
/>Do not use the "hardcoded" examples from the book. Check the deployed data-sources and use them as parameter calling lookup method.
The following have been tested using a simple servlet with Jdeveloper 9.0.5.2 but I think other Jdeveloper/OC4J versions work similar.
My application is called ds.
The following command lists the datasources which are deployed with the application.
I ran the following command against the %JDEV_HOME%\j2ee\home standalone OC4J server but it should work against the embedded OC4J server too.
Here is the command to list the available datasources:
C:\jdev9052\j2ee\home>\jdk142_04\bin\java -jar admin.jar ormi://localhost admin welcome -application ds -dataSourceInfo
And here is the output of the command.
DataSource info:
com.evermind.sql.DriverManagerXADataSource/ds/jdbc/xa/BookDBXADS - cached: 0 used: 0 total: 0
com.evermind.sql.OrionPooledDataSource/ds/jdbc/BookDBPooledDS - cached: 0 used: 0 total: 0
com.evermind.sql.OrionCMTDataSource/ds/jdbc/BookDBDS - cached: 0 used: 0 total: 0
com.evermind.sql.DriverManagerXADataSource/ds/jdbc/xa/DEVXADS - cached: 0 used: 0 total: 0
com.evermind.sql.OrionPooledDataSource/ds/jdbc/DEVPooledDS - cached: 1 used: 0 total: 1
com.evermind.sql.OrionCMTDataSource/ds/jdbc/DEVDS - cached: 1 used: 0 total: 1
ds = ds my application
jdbc/DEVDS = string parameter used in lookup method
jdbc/DEVPooledDS = string parameter used in lookup method
Checking the j2ee application directory we can find the same:
C:\>dir C:\jdev9052\j2ee\home\applications\ds\META-INF
Volume in drive C has no label.
Volume Serial Number is A83F-C94A
Directory of C:\jdev9052\j2ee\home\applications\ds\META-INF
08/12/2004 10:14 AM <DIR> .
08/12/2004 10:14 AM <DIR> ..
08/12/2004 10:14 AM 395 application.xml
08/12/2004 10:14 AM 933 data-sources.xml
08/12/2004 10:14 AM 283 orion-application.xml
3 File(s) 1,611 bytes
2 Dir(s) 10,078,003,200 bytes free
The orion-application.xml points the data-sources.xml file in the same directory. ds application uses the datasources which are listed in this file, not data-sources.xml in C:\jdev9052\j2ee\home\config directory.
And here is the content of C:\jdev9052\j2ee\home\applications\ds\META-INF\data-sources.xml
C:\>more C:\jdev9052\j2ee\home\applications\ds\META-INF\data-sources.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
<data-sources>
<data-source name="jdev-connection-BookDB" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/BookDBCoreDS" x
a-location="jdbc/xa/BookDBXADS" ejb-location="jdbc/BookDBDS" pooled-location="jdbc/BookDBPooledDS" connection-driver="oracle
.jdbc.driver.OracleDriver" username="myname" password="mypw" url="jdbc:oracle:thin:@122.118.222.17:1521:DXX" inactivity-timeout
="30"/>
<data-source name="jdev-connection-DEV" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/DEVCoreDS" xa-loca
tion="jdbc/xa/DEVXADS" ejb-location="jdbc/DEVDS" pooled-location="jdbc/DEVPooledDS" connection-driver="oracle.jdbc.driver.Or
acleDriver" username="myname" password="mypw" url="jdbc:oracle:thin:@122.118.222.17:1521:DXX" inactivity-timeout="30"/>
</data-sources>
...location="jdbc/DEVDS"
or
...location="jdbc/BookDBPooledDS"
The lookup method needs the string(s) above (between "") -
Problem with new data-sources format
Hi, I m moving to Oracle IAS 10.1.3, so i m testing the application with the standalone version.
I use the datasource converter just like the manual say.
this is how datasources looks..
<?xml version = '1.0' encoding = 'UTF-8'?>
<data-sources>
<managed-data-source user="scott" password="tiger" login-timeout="-1" connection-pool-name="OracleDS_connectionPool" jndi-name="jdbc/OracleCoreDS" name="OracleDS_jdbc/OracleCoreDS"/>
<managed-data-source login-timeout="-1" connection-pool-name="OracleDS_connectionPool" jndi-name="jdbc/OracleCoreDS_non_tx" name="jdbc/OracleCoreDS_non_tx_jdbc/OracleCoreDS_non_tx"/>
<managed-data-source login-timeout="-1" connection-pool-name="OracleDS_connectionPool" jndi-name="jdbc/OracleDS" name="jdbc/OracleDS_jdbc/OracleDS"/>
<native-data-source user="user" password="pass" url="jdbc:oracle:thin:@70.101.0.200:1521:DEV" login-timeout="-1" data-source-class="oracle.jdbc.pool.OracleDataSource" jndi-name="jdbc/etgs" name="etgs"/>
<connection-pool name="etgs_connectionPool" connection-retry-interval="0" inactivity-timeout="30" max-connections="2147483647">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="etgs" password="etgs" url="jdbc:oracle:thin:@70.101.0.200:1521:DEV" login-timeout="-1"/>
</connection-pool>
<connection-pool name="OracleDS_connectionPool" connection-retry-interval="0" inactivity-timeout="30" max-connections="2147483647">
<connection-factory factory-class="oracle.jdbc.driver.OracleDriver" user="scott" password="tiger" url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com" login-timeout="-1"/>
</connection-pool>
</data-sources>
When I start de oc4j, I have the following problem:
C:\soft\oc4j_101300\bin>oc4j -start
Starting OC4J from C:\soft\oc4j_101300\j2ee\home ...
[2006-08-23 17:54:46,210] WARN org.hibernate.cfg.HbmBinder - Could not perform validation checks for component as the c
lass ar.com.tgs.spac.domain.solicitud.SolicitudProgramada was not found
[2006-08-23 17:54:49,882] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 17002, SQLState: null
[2006-08-23 17:54:49,882] ERROR org.hibernate.util.JDBCExceptionReporter - Excepci¾n de E/S: Socket is not connected
[2006-08-23 17:54:49,897] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata
java.sql.SQLException: Excepci¾n de E/S: Socket is not connected
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionP
rovider.java:80)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:777
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:70
3)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowi
reCapableBeanFactory.java:1058)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto
wireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap
ableBeanFactory.java:823)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto
wireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap
ableBeanFactory.java:823)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueRe
solver.java:225)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveConstructorArguments(Abst
ractAutowireCapableBeanFactory.java:713)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAuto
wireCapableBeanFactory.java:611)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:329)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto
wireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap
ableBeanFactory.java:823)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto
wireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap
ableBeanFactory.java:823)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes
olver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV
alueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto
wireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap
ableBeanFactory.java:823)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
BeanFactory.java:275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableW
ebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite
.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:633)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:302)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:273)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2296)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:944)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
[2006-08-23 17:54:50,179] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from eh
cache-failsafe.xml found in the classpath: code-source:/C:/soft/oc4j_101300/j2ee/home/applications/app-web/WEB-INF/lib/e
hcache-1.1.jar!ehcache-failsafe.xml
Any idea ?
really thanksAnother strange thing..
My ABAP colleague, debugged the program for me and point out:
* get data class (only standard and user values)
> SELECT * FROM ddart INTO TABLE l_t_ddart
ORDER BY tabart.
DELETE l_t_ddart WHERE ddclass <> 'STD' AND
ddclass <> 'USR'.
LOOP AT l_t_ddart INTO l_s_ddart.
The l_t_ddart table contains only 21 rows (without my new Data Class, which is visible under SE16!)! I checked under oracle sqlplus and SELECT * FROM SAP<SID>.ddart; returned 22 rows WITH my new Data Class!
I'm a little bit confused... -
Keithley 2440 source meter, 4 wire measuremen​t
Dear all,
I'm using keithley 2440 sourcemeter to measure the resistance value with 4 wire. I downloaded LabView driver, tested an example program , and
it works fine.
I tried to measure the resistance with 4 wire, so I put the "Enable Remote Sensing.vi" before the "Read Single.vi" , but it generated the error "#803"
which is "Not permitted with OUTPUT off". If I disabled the Remote Sensing, then it works with 2 wire mode. I'm using LV8.2 and I've attached the program.
Could you help me with figuring out this problem?
Thank you very much.
Yoon
Attachments:
Keithley 24XX Read Single.vi 46 KBDuplicate thread, check out the solution here.
Applications Engineer
National Instruments -
Problem with a Data Source in Web Logic
Hi everybody,
Currently i am deploying a 11g ADF application, i am testing my application in a Web Logic 10.3.2.0, and in the beginning all works OK, but when the user test the application like a half of hour the data source throws this exception:
Messages
Test of MOR_DS_ORA2 on server soa_server1 failed, reason:
Connection test failed with the following exception: weblogic.common.resourcepool.ResourceUnavailableException: No resources currently available in pool MOR_DS_ORA2 to allocate to applications. Either specify a time period to wait for resources to become available, or increase the size of the pool and retry..
This error only occur in the development server of the company, never in the embed WL of my JDeveloper 11 g
Checking my code (appModuleImpl where is all the logic and integration with my DB) i don't see any wrong.
I call SP like this:
String stmt = "BEGIN XXMOR_FUNCIONAL_PKG.XXMOR_SOL_REPROCESAR_PR(?, ?); END;";
CallableStatement st = null;
try {
st = getDBTransaction().createCallableStatement(stmt, 2);
st.setInt(1, idSol);
st.setString(2, rw.getTrackingIdConcom());
st.execute();
System.out.println("Exito.");
catch (SQLException e) {
throw new JboException(e);
finally {
if (st != null) {
try {
st.close();
catch (SQLException e) {}
Execute some querys like this:
public ArrayList getElementsByArguments(String query){
ArrayList al = new ArrayList();
ResultSet rs = null;
try {
rs = getDBTransaction().createStatement(0).executeQuery(query);
ResultSetMetaData rsMeta = rs.getMetaData();
int numColumnas = rsMeta.getColumnCount();
while(rs.next()) {
for (int i = 1; i <= numColumnas; i++) {
al.add(rs.getString(i));
} catch (SQLException e) {
getDBTransaction().commit();
return al;
And some insert and update like this:
public String setNewFzaVta(Number idSegNeg, String idenFzaVta, String nomFzaVta, String region, String copysOrden,
String copysFecha, String mutlifuerza, String rtcrdAut, String autCorreo, String mercadotecnia,
String divCanal, String conCom, String activa, String notificacion, String createBy, Date currentDate,
String matloc, Number tolerancia, String rate){
XxmorFzasVtasTabViewImpl u = (XxmorFzasVtasTabViewImpl)getXxmorFzasVtasTabView1();
XxmorFzasVtasTabViewRowImpl newRow = (XxmorFzasVtasTabViewRowImpl)u.createRow();
SequenceImpl seq = new SequenceImpl("XXMOR_ID_FZAVTA_SQ", getDBTransaction());
Number seqNextval = seq.getSequenceNumber();
newRow.setIdSegNeg(idSegNeg);
newRow.setIdFzaVentas(seqNextval);
newRow.setIdentFzaVentas(idenFzaVta);
newRow.setNombreFzaVentas(nomFzaVta);
newRow.setRegion(region);
newRow.setCopysXOrden(copysOrden);
newRow.setCopysXFecha(copysFecha);
newRow.setMultifuerza(mutlifuerza);
newRow.setRtcrdAuthAut(rtcrdAut);
newRow.setAutXCorreo(autCorreo);
newRow.setMercadotecnia(mercadotecnia);
newRow.setDivXCanal(divCanal);
newRow.setCondicionesComerciales(conCom);
newRow.setActiva(activa);
newRow.setNotificacionExtInt(notificacion);
newRow.setCreatedBy(createBy);
newRow.setCreatedDate(currentDate);
newRow.setMatloc(matloc);
newRow.setAutTolerancia(tolerancia);
newRow.setGetRate(rate);
u.insertRow(newRow);
getDBTransaction().commit();
return seqNextval.toString();
Can anybody help me ! ????Hi,
from the original post it is not obvious from where the code is called and if the AM is released properly. So if you face the same issue, maybe you can explain more
Frank -
Problem with the data source and web.xml
I have an issue where JSC is removing my resource reference:
<resource-ref>
<description>Creator generated DataSource Reference</description>
<res-ref-name>jdbc/localOracleDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
from the web.xml and sun-web.xml.
The application has been working great in the IDE for months then wham, no more data source definition. I try and add the reference manually and the IDE takes it out. I am "NOT" adding it to the .xml's in the build area. Why is JSC removing the data source entry?This continues to be a problem. The only way that I can get around the problem is to drag a table from the data source onto the design pallete and then the datasource is added back to the web.xml. I can run fine for 10 or 15 runs then the entry is once again removed from the web.xml.
Help please! -
RDA Problems with financial data sources- new FI-GL
I have created a generic DataSource/extractor based on view on tables FAGLFLEXA and BSEG. The extractor is marked at Real-Time, with 300s Safety-Interval (lower) and Time Stamp.
On ECC side I have created a function module to post transactions to Delta Queue directly and got it configured using BTE. This is event based and event is GL Transaction posting.
In BI I have a created an Infopackage to Init Delta without Data and Initialized it.
I created another Infopackage for delta, marked it Real-Time, and assigned it to a Daemon that would run every 5 minutes.
PROBLEM: 1. am not able to see posted GL entries in Delta Queue.
2. As there is nothing in delta Queue daemon is not pulling anything.
I have gone through most of SDN Blogs and forums. One message that I am getting is that this is because of FI-GL DataSources.
Its also mentioned somewhere that FI-GL has to be handled specially. But how its not told anywhere.
Thanks and looking forward,
RamHello,
See this [Financial Accounting: Procedure for Line Item Extraction |http://help.sap.com/saphelp_nw04/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm]
Also see
SAP Note 1006650 NewGL: Performance problems for Delta Init extractor
SAP Note 551044 Detaching the extractors for the InfoSources 0FI_*_4
[How to Improve the Runtime of the 0FI_GL_4 Extractor (NW7.0)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0366a92-424e-2a10-569a-cc711dc1cfde]
Thanks
Chandran -
BIEE Answers: Problem with logical table source
Hi,
I am creating a detail report in answers. This report does not use any column from the fact table in the logical model, but uses other dimension tables.
In the logical model fact table, I use 3-4 times the same physical table as logical table source in order to filter results or not.
The problem is that my report filters results by using one of the logical table sources. Is there a way to specify in answers or administration which should be my "default" logical table source for the specific physical table joins?
Another workaround is to add as a filter on the report one of the columns from the fact table that do use the desired logical table source, but this is not always a workaround..
Can you please advise?
Thanks in advance,
NadiaRemember to set the # Elements in your hierarchy to the appropriate ratio between levels, actual numbers not so important but the ratio needs to be correct for the BI Server to make the best guess if using more than one LTS.
-
Problem with update XML source in ALDSP 2.5 !!!
hi,
i am trying to write update logic for XML source in overrideclass of ALDSP 2.5. But the updated data in XML at server side can not be reflected in client side: the XML file is updated at server side, but the queried data by client side is still old. If i use workshop at server to query, then the result is correct. How can this be resolved??
thanks !!!
wanxgPlease include all the code involved - your client, your DSP Project an your UOV.I meant to zip up the code and post it. Not just mention it.
Go here and read section 1.1 for differences between the Test View and a client. When you execute from a client, the EAR is used as the source of everything in your DSP Project. So if you have an xml file within your DSP Project, you are actually reading an xml file within the EAR. If your UOV writes to a file on disk, then that file on disk will be updated. And the next read will read the file in the EAR (which will be unchanged).
So for your XML file, it would have to be outside your DSP project - and specified with an absolute url (file://d:|/myfiles/...) (I'm not sure if that is even allowed).
If you search around on your disk, starting from <domain> directory, you might find the xml file that you have 'updated' - not that it will help - it will just explain your 'mystery' a little bit. -
Problem with Multiple Data Source Retrieval
Hi,
We are working on a Project that is concerned with JSF and XML parsing. We have successfully parsed the XML and made an object model- Lists out of it to display it using JSF. Additionaly we also want to display some data from the database compare it with the XML data and then display it on the GUI.
So e.g we have an attribute code in the XML structure which is a number. Before displaying it on the GUI we first have to query the database what this number or code actually means i.e its description text . get it and display alongside the other data from the XML. So the question is
1) How to get data from different data sources
2) Compare the data
3) and merge and display into GUI .
And we have to display it with JSF and as far as i know JSF has no comparison mechanism ..??!!
Thanks for any help,You can compare stuff in the EL, but I don't think this is what you need.
You can just use Java code in the backing bean class for all the business logic. You can use DAO classes for database access logic. Finally for displaying you can use the JSF tags such as h:outputText.
Maybe you are looking for
-
After automatically updating to 32.0.3 last Thursday and this Monday on all our Staff and Patron computers both Win7 pro and XP pro we have seen Firefox sessions that will not bring up the Print Dialog. The Print Preview dialog will come up but no pr
-
Need help with getStyleDeclaration
Hi, I'm trying to move my Flex 3 project to new Flash Builder environ. I've a class named "CanvasButtonAccordionHeader" which is extended from an mx:Button instance. There was a code as: var selector:CSSStyleDeclaration = StyleManager.getStyleDeclara
-
T400 backlight connection for new screen
I am trying to replaced my cracked and unusable screen on my T400 laptop. It is a 14.1 Inch screen 1280x800 LED backlight I recently ordered a screen that fit these specifications, but had no idea that there are two different types of backlight conne
-
IPhone 3G frozen when I tried to upgrade to 3.1.2
This is not the first time my iPhone 3G gets frozen and unresponsive when upgrading. Two months ago, when I bought it second-hand, I've tried to upgrade from 3.0.1 to 3.1 and it was a nightmare that lasted for days... Eventually I succeeded, after co
-
Dynamically Declared Properties in PS CS3's plug-in
Now Im developing a plug-in for Photoshop CS3, and I want to dynamically change its properties rather than statically define them in PiPL. But Photoshop never send message "SP Properties" to my plug-in, so I have no chance to handle SPPropertiesMessa