Shared library: function is not found and recognized in header file
Hello,
I am trying to use Java methods into LV. I am doing so by creating Java Invocation Interface, usind which I can call Java methods into C++ and then create a shared library that can be called into LV.
When I am importing my shared library into Labview, I am getting the following error messages:
The shared library contains 3 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
jclass invokeJavaClass(JNIEnv* jenv, string className);
The following symbols are not defined:
jclass;
Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
The following header file was not found in the specified header file or one of the referenced header files:
- string
- iostream
- cstring
- jni.h
To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
Please advise.
Regards,
H
Attachments:
SharedLibError.png 51 KB
Hello Vivek,
The LabVIEW dll that I am trying to import does not include any third-party device..all my code is fully based on LabVIEW. Maybe this helps you to guess what is happening: once I've parsed the dll' header appears an error
like this one:
void
__cdecl Zdmt(LVBoolean *stop, double P, char channelName[],
TD1
*errorIn, TD14 *FFTOptions, TD12 *Calibration, char FileName[],
int32_t minRecordLength, TD26 *InstrumentHandler, LVRefNum
sessionRefArray[],
LVRefNum *queueIN, TD1 *errorOut, LVBoolean
*averagingDone,
HWAVES LastRecordFetched, TD24 *Impedance, TD17
*ColeColeCluster,
TD18 *FFTcluster, TD5
*InstrumentHandleOutputCluster, LVRefNum *queueOut,
int32_t
*Acquired, TD6 *FreqTimeInfoCluster, double *averagesCompleted,
int32_t len);
The following symbols are not defined:
LVBoolean;
int32_t; LVRefNum;
Undefined symbols can prevent the wizard
from recognizing functions and parameters. To correct this problem,
check the header file to determine if you must add predefined symbols.
Click the Back button to return to the previous page of the wizard to
add a preprocessor definitionsl (for example, "NIAPI_stdcall =
__stdcall" or "NIAPIDefined = 1").
The following header file was
not found in the specified header file or one of the referenced header
files:
- extcode.h
To fix, click the Back button to go to the
previous page and add the header file path to the Include Paths list.
I have replaced the first line #include "extcode.h" of
the dll header file for #include "C:\Program Files\National
Instruments\LabVIEW 8.6\cintools\extcode.h" that is the full path where
the header file is located. However, new libraries seems to be missed:
- stdint.h
- MacTypes.h
As far as I know, Mactypes.h contains basic mac os data types and it doesn't have any relation with stdint.h...
I have created both of them and stored into the same folder as extcode.h, but then other libraries are missed!!!
Do you know if it would be possible to create the .dll generating all the header files associated for its data structures???
And if this is not factible, then what do you suggest me? because I hope to not having to create all the header files until it stops giving me an error!
thanks for four time,
ben
Similar Messages
-
What does this mean: ERROR! Shared library ioser12 could not be found.
Hi all,
I am trying to establisch a JDBC connection to a MaxDB database (former SapDB).
I have a win2k system with jdk 1.4.2_01 installed.
I have the JDBC connection working in the sense that i am able to execute SQL scripts by ant tasks,
so far i think that everything is properly configured.
Nevertheless, when i try to use the connection in my own class (a JUnit testcase), i get this message:
"ERROR! Shared library ioser12 could not be found."
The program then continues, and i get sql error messages that the user is still connected. I think these are followups from the first one - one testcase may be broken by this error, but the connection is not closed.
I searched the web to find what i could do against it. I found some forum discussions about this problem and hence i tried to set my path and classpath to locations where the isoser12.dll is located (runtime environment/bin), and finally copied it to the windows/system32 dir.
Nothing made this error disappear. I am still stuck with this one since two days.
Btw, the same testcases work well with other databases like oracle or db2.
Hence, i am calling to you for some ideas about this error.
Thank you in advance for help,
Andreas SchroederHi Andreas,
I am also interested in making maxdb(sapdb) work with S1 application server. I would appreciate if you could let me know if you are able to make it work with S1 V8 server.
Thanks,
Gorton Zhao
Hi all,
I am trying to establisch a JDBC connection to a MaxDB
database (former SapDB).
I have a win2k system with jdk 1.4.2_01 installed.
I have the JDBC connection working in the sense that i
am able to execute SQL scripts by ant tasks,
so far i think that everything is properly configured.
Nevertheless, when i try to use the connection in my
own class (a JUnit testcase), i get this message:
"ERROR! Shared library ioser12 could not be found."
The program then continues, and i get sql error
messages that the user is still connected. I think
these are followups from the first one - one testcase
may be broken by this error, but the connection is not
closed.
I searched the web to find what i could do against it.
I found some forum discussions about this problem and
hence i tried to set my path and classpath to
locations where the isoser12.dll is located (runtime
environment/bin), and finally copied it to the
windows/system32 dir.
Nothing made this error disappear. I am still stuck
with this one since two days.
Btw, the same testcases work well with other databases
like oracle or db2.
Hence, i am calling to you for some ideas about this
error.
Thank you in advance for help,
Andreas Schroeder -
Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function. Can you then connect an iPod touch and copy music from a shared library?
Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.
-
I'm crazy!Applet and JNA Error:Library 'jnidispatch' was not found!
Hi all,
sorry to bother you, I really have no idea how to do JNA and Applet. I'm hardly mazy, man.
Every time it will throw an error to me :
Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'jnidispatch' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@291aff
at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:576)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:372)
at com.sun.jna.Native.loadLibrary(Native.java:357)
at JNAApplet.init(JNAApplet.java:15)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)My program is so easy, I just want use Applet to revoke JNA and use the JNA to load a native lib.
here is the structure of my program:
Applet code :
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.sun.jna.Native;
public class JNAApplet extends JApplet {
public static Kernel32 kernel32 = null;
@Override
public void init() {
createGUI();
kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
if (kernel32 == null) {
System.out.println("load kernel32 fail!");
} else {
System.out.println("load kernel32 success!");
private void createGUI() {
JPanel panelCenter = new JPanel();
JButton butTest = new JButton("Test");
panelCenter.add(butTest);
setContentPane(panelCenter);
}When I run it on debug mode, it is ok! but when I deploy it , it will throw above error message to me.
My Applet html:
<html>
<head>
<title>JNA Applet</title>
</head>
<body>
<script src="deployJava.js"></script>
<script>
var attributes = { code:'JNAApplet', width:300, height:300} ;
var parameters = {jnlp_href: 'JNAApplet.jnlp'} ;
deployJava.runApplet(attributes, parameters, '1.5');
</script>
</body>
</html>File 'JNAApplet.jnlp':
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
<information>
<title>JNA Applet</title>
<vendor>Steven</vendor>
</information>
<resources>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se" />
<jar href="JNAApplet.jar" main="true" />
</resources>
<applet-desc
name="JNA Applet"
main-class="JNAApplet"
width="300"
height="300">
</applet-desc>
<update check="background"/>
</jnlp> I really have no idea. and I can't search any usefull infomation from Google and officer site.
Can any one help me? Thank you very much!!!!Hi AndrewThompson64:
Did you mean the JNA project? Or are you refering to JNI, or ..something else?Yes, I mean is that I wanna jna.jar to replace JNI to code with Applet. I want Applet can run native library(.dll files).
That reads like so much nonsense to me.Sorry fo that.
Was there any 'caused by' part that you trimmed? I expected to see something to do with 'Security' or 'AccessControl'.Sorry, I can't saw any 'cause by' subsentence there. This message is just gain from Applet Console.(Is there any method to gain more message?)
About 'Security' and 'AccessControl' I just modify my java.policy file to allpermission. Subsequently, I signed all jar files.
For now I have 3 jar files(all have been signed ):
--example.jar : for this little program.(code include applet and application entry)
--jna.jar
--win32-x86.jar : include kernel32.dll and jnidispatch.dll for win32 and x86.
and 2 JNLP files:
--JNAApplet.jnlp the entry is JNAApplet.class (this jnlp does not work)
--JNAApp.jnlp the entry is JNAApp.class (this jnlp works)
And for now new error message show like this:
Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'Kernel32' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@4aeb52
at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:97)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:228)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:372)
at com.sun.jna.Native.loadLibrary(Native.java:357)
at JNAApplet.init(JNAApplet.java:12)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Did you mean invoke?
Revoke: To annul by withdrawing.
Invoke: To call on.Yes, you got it. Thank you.
The JNLP file is invalid. ..I was about to put my 'standard' text here, but I'm sick of saying it. Search the forum for my posts - 50% of them, at least, mention validation and how to go about it.
Also, the applet-desc requires a documentbase.Thank you, I really think I have some invalid section. But I can't find it, and you said 'Search the forum for my posts - 50% of them...' , I can read the JNLP structure on site of sun and I can to read you post too(I'm doing like this).*I only want to know about how to load "native lib like *.dll" properly*.
What 'officer site'?I mean jna project site. Sorry for ambiguity.
Please fix that sticky '!' key. One '!' indicates astonishment, while two or more typically indicates a bozo. Thanks for your advice. Because I tried to find solution do my best lasting two days. I got nothing. I'm sadness.
here post my new files:
import javax.swing.JFrame;
import com.sun.jna.Native;
public class JNAApp {
public static Kernel32 kernel32 = null;
public static void main(String[] args) {
// TODO Auto-generated method stub
kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
JFrame frame = new JFrame();
frame.setSize(500, 500);
frame.setVisible(true);
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.sun.jna.Native;
public class JNAApplet extends JApplet {
public static Kernel32 kernel32 = null;
public void init() {
createGUI();
kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
private void createGUI() {
JPanel panelCenter = new JPanel();
JButton butTest = new JButton("Test");
panelCenter.add(butTest);
setContentPane(panelCenter);
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
<information>
<title>JNA Applet</title>
<vendor>Steven</vendor>
</information>
<resources>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se" />
<jar href="JNAApplet.jar" main="true"/>
<jar href="jna.jar"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="win32-x86.jar"/>
<nativelib href="kernel32.jar"/>
</resources>
<applet-desc
documentBase=""
name = "success"
main-class="JNAApplet" width = "200" height = "200">
</applet-desc>
<update check="background"/>
<security>
<all-permissions/>
</security>
</jnlp>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
<information>
<title>JNA Applet</title>
<vendor>Steven</vendor>
</information>
<resources>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se" />
<jar href="JNAApplet.jar" main="true"/>
<jar href="jna.jar"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="win32-x86.jar"/>
<nativelib href="kernel32.jar"/>
</resources>
<application-desc
main-class="JNAApp">
</application-desc>
<update check="background"/>
<security>
<all-permissions/>
</security>
</jnlp> Thanks & Best Regards,
Su Heng -
Shared library ioser12 could not be found
When we try to obtain a Home of an EJB, the folowing error happens.
Any considerations?
Thanks.
ERROR! Shared library ioser12 could not be found.
Wed Jul 12 19:05:58 EDT 2000:<E> <ServletContext-part> Servlet failed
with Excep
tion
java.lang.UnsatisfiedLinkError: specialLoadClass
at
com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade
r.java:58)
at
com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18
0)
at
com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
at javax.rmi.CORBA.Util.loadClass(Util.java:215)
at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:306)
at javax.rmi.CORBA.Util.<clinit>(Util.java:54)
at
javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemo
teObject.java:172)
at
javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:62)
at
com.emplanet.part.ctrl.BalanceDispatcher.doPost(BalanceDispatcher.jav
a:51)
at
com.emplanet.part.ctrl.BalanceDispatcher.doGet(BalanceDispatcher.java
:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)You most likely have the j2ee.jar in your classpath somewhere. Remove it.
We supply the correct versions of the supporting javax. classes in the
weblogicaux.jar
-- Rob
Eugene Gross wrote:
When we try to obtain a Home of an EJB, the folowing error happens.
Any considerations?
Thanks.
ERROR! Shared library ioser12 could not be found.
Wed Jul 12 19:05:58 EDT 2000:<E> <ServletContext-part> Servlet failed
with Excep
tion
java.lang.UnsatisfiedLinkError: specialLoadClass
at
com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade
r.java:58)
at
com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18
0)
at
com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
at javax.rmi.CORBA.Util.loadClass(Util.java:215)
at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:306)
at javax.rmi.CORBA.Util.<clinit>(Util.java:54)
at
javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemo
teObject.java:172)
at
javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:62)
at
com.emplanet.part.ctrl.BalanceDispatcher.doPost(BalanceDispatcher.jav
a:51)
at
com.emplanet.part.ctrl.BalanceDispatcher.doGet(BalanceDispatcher.java
:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
IPhoto Library - Images marked: "not found"
Hi
All my macBook info was recently transferred to my new iMac when I purchased it. I added Lion to it from the website.
Now I've discovered that all the images in my iPhoto library are marked as "not found" - yikes!
Pulling up iPhoto all the images appear to be there, but when you open an event, each of the photo's are gray-flagged.
When I click to open it, I get the message that the image is 'not found', and have the options to "cancel', 'find' or 'ok'.
None of the options resolves the problem.
Hoping that all is not lost, how can I retrieve my library?
Thanks,
Kentdo I have to have the 'original' image to be able to find/open it?
Yes.
Are you running a Managed or a Referenced Library?
A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.
This is an attractive option for some users at face value, but it contains a significant number of issues that you might want to consider before making the decision to run a Referenced Library
How to do it:
iPhoto -> Preferences -> Advanced and uncheck the box at 'Copy items to the iPhoto Library'
Now when you import iPhoto makes an alias in the Library Package that points to the stored file. Note: iPhoto still creates a thumbnail of the image and it makes a Preview of edited photos inside the Library Package.
Issues?
1. You are responsible for file management. That's more work:
You must first move the files from your camera to the storage location before importing.
If you want to delete files then you must first trash them from iPhoto and then afterwards find them in your storage and trash them.
Thereafter, you cannot move the files on early versions of iPhoto at all, on iPhoto 08 and later you may move them on the same Volume or Disk. If you move them to a new volume or disk the aliases my break. If they are on an different volume and you move them the aliases will break.
You cannot rename the files.
Migrating: moving to a new machine, moving the files to another disk are all a lot more complex.
2. You gain no extra functionality from running a Referenced Library. Nothing. This is just storage. You still manage the files via iPhoto. You edit them with iPhoto or via iPhoto's External Editor setting, otherwise you're changes will not be available in iPhoto. You don't save byte of storage space.
3. If you have the Library on one volume and the photos on another you if anything changes in the path to a file (Like if you upgrade your machine, move the files on the NAS or on to another one?) then the alias will break, and you'll have to repair it manually. For every photo in the Library. One at a time.
Why do you want to run a Referenced Library?
Because my photos won't fit on my HD?
You can run a Managed library from an external disk. Make sure the drive is formatted Mac OS Extended (Journaled)
1. Quit iPhoto
2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
You're worried about accessing the files?
There are many, many ways to access your files in iPhoto: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
You can access the Library from the New Message Window in Mail:
There's a similar option in Outlook and many, many other apps. If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
If you want to access the files with iPhoto not running:
For users of 10.6 and later: You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu.
Using the Services Preference Pane you can even create a keyboard shortcut for it.
For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
Other options include:
Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
Show File: a. On iPhoto 09 and earlier: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected. 3.b.
b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected. -
Hi,
I'm running
Red Hat Linux 5, MySQL and BOXI 3.1
I try and schedule a report in the CMC and the report fails with the error
A database error occured. The database error text is: {Driver Manager} Data source name not found, and no default driver specified. (WIS 10901)
I've went through the steps in the Bus Obj's Documentation outlining how to install the unixODBC (though this doco was for R2 - I'm not certain whether this install is needed for 3.1).
Error WIS 10901 details
Database error: . Contact your administrator or database supplier+
for more information. (WIS 10901)
The database that provides the data to this document has generated an error.
Cause
Details about the error are provided in the section of the message indicated
+by the field code: .
Contact your BusinessObjects administrator with the error message
Action
information or consult the documentation provided by the supplier of the
database.
Any pointers suggestions on how to set up correctly the unixODBC will be looked into.
Thanks for taking the time to view this post.
CheersHi again Aravind,
I hope you're not beginning to wish you had never answered that first question from me since it seems as if I'm now backing up the truck with regard to the entire question. If I'm asking too much from you let me know I don't wanna overstep the line with repect to what should and shouln't be asked in these forums'
anyway I looked in that env.sh script. It was huge (pity I can't attach the file, I've appended it but it makes these threads somewhat lengthy)
DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
export DEFAULT_ODBCFILE
+ODBC_HOME="$odbc"+
export ODBC_HOME
also
# setup the mysql env variables
if [ -d "$BOBJEDIR"/mysql ]; then
# mysql env variables
set up the odbc symlink to work around:*
The DataDirect SQL Server ODBC driver on UNIX will not function properly under a*
locale other than "en_US" due to strong dependencies on their locale files.*
MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
export MYSQL_UNIX_PORT
We want to be able to source the config file multiple times.
fi
if [ -d "$BOBJEDIR"/tomcat ]; then
set the JAVA_OPTS for tomcat
I see what you were referring to earlier with
if [ -d "$ODBC_HOME/locale" ]; then
the javascript files are kept here
The machine name
The user name
MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`The default registry
if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
fi
fi
Again cheers for your help in this matter.
#!/bin/sh
BOBJEDIR="/home/eberwick/BO_3_1/bobje/"
export BOBJEDIR
BODIR="`dirname $BOBJEDIR`/"
export BODIR
DEFAULTFILE="$
check for existence of u flag, if it is there, turn it off.
Set a flag so we don't source the environment more than once
webi config file
ccm.config"
if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
fi
. "${BOBJEDIR?}setup/modify_ko_locale.sh"
SOFTWARE=`uname -s`
OBJECT_MODEL=`grep Platform $BODIR/setup/ProductID.txt | awk '{print $4;}'`
[ -z "$OBJECT_MODEL" ] && OBJECT_MODEL=32
SOFTWAREPATH=`grep SoftwarePath $BODIR/setup/ProductID.txt | awk '{print $3;}'`
U_FLAG=0
if [ X"$SOFTWARE" = "XHP-UX" ]; then
unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
raise the ulimits to max allowed
undo that bug workaround from above
figure out what architecture we're on
now that we're localized, deal with unknown architecture
we include English, as localization may have failed
set the JDK variable
if [ x`echo $- | grep "u"` != "x" ]; then
set +u
U_FLAG=1
fi
fi
if [ x"$BOBJE_ENV_SOURCED" = x ]; then
if [ -f "$setup/boconfig.cfg" ]; then
HKEY_LOCAL_MACHINE="$setup/boconfig.cfg"
export HKEY_LOCAL_MACHINE
fi
BOBJE_ENV_SOURCED="true"
export BOBJE_ENV_SOURCED
BOBJEVERSION="12.0"
export BOBJEVERSION
LANGWAS="$LANG"
unset LANG
LC_ALLWAS="$LC_ALL"
unset LC_ALL
ulimit -Sn `ulimit -Hn` # max file descriptors
ulimit -S -c `ulimit -H -c` # max core file size
ulimit -S -d `ulimit -H -d` # max data segment size
ulimit -S -f `ulimit -H -f` # max file size
ulimit -S -s `ulimit -H -s` # max stack
ulimit -S -t `ulimit -H -t` # max CPU time
LANG="$LANGWAS"; export LANG
unset LANGWAS
LC_ALL="$LC_ALLWAS"; export LC_ALL
unset LC_ALLWAS
case X"$SOFTWARE" in
XLinux) SOFTWARELC="linux"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12" ;;
XAIX) SOFTWARELC="aix"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX=".12.0${SHAREDLIBSUFFIX?}"; CB1SYMLINKLIBSUFFIX=".12${SHAREDLIBSUFFIX?}";;
XSunOS) SOFTWARELC="solaris"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
XHP-UX)
SOFTWARELC="hpux";
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
SHAREDLIBSUFFIX=".so";
else
SHAREDLIBSUFFIX=".sl";
fi
CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0";
CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
esac
export SOFTWAREPATH
export SOFTWARE
export SHAREDLIBSUFFIX
export CB1LIBSUFFIX
export CB1SYMLINKLIBSUFFIX
if [ "$SOFTWAREPATH" = "" ]; then
echo "$UNKNOWNPLATFORM (unknown platform): $SOFTWARE"
exit 1
fi
if [ -d "$BOBJEDIR"/jdk ]; then
JAVA_HOME="$jdk"
export JAVA_HOME
fi
JAVA_OPTS="-d$OBJECT_MODEL -Dbobj.enterprise.home=$
fi
setting AAHOME here so when CAD starts the value is set
enterprise120 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=false"
if [ "$SOFTWARE" = "AIX" -o "$SOFTWARE" = "SunOS" -o "$SOFTWARE" = "Linux" -o "$SOFTWARE" = "HP-UX" ]; then
JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=256m"
fi
export JAVA_OPTS
if [ -d "$Dashboard_Analytics_120" ]; then
AAHOME="$Dashboard_Analytics_120"
export AAHOME
fi
WCSDIR="$enterprise120/$SOFTWAREPATH/wcs/"
export WCSDIR
WCSBINDIR="$bin/"
export WCSBINDIR
WCSCOMPONENTDIR="$components/"
export WCSCOMPONENTDIR
BINDIR="$enterprise120/$SOFTWAREPATH/"
export BINDIR
LIBDIR="$enterprise120/$SOFTWAREPATH/"
export LIBDIR
PLUGINDIR="$enterprise120/packages/"
export PLUGINDIR
PLUGINDIST="$enterprise120/$SOFTWAREPATH/plugins/"
export PLUGINDIST
LOGDIR="$append the new valuelogging/"
export LOGDIR
if [ x"$BOE_LOGGER_ENVIRONMENT" = x ]; then
BOE_LOGGER_ENVIRONMENT="-loggingPath $LOGDIR"
else
BOE_LOGGER_ENVIRONMENT="$BOE_LOGGER_ENVIRONMENT -loggingPath $LOGDIR"
fi
export BOE_LOGGER_ENVIRONMENT
SCRIPTDIR="$enterprise120/generic/"
export SCRIPTDIR
JAVASCRIPTDIR="$setup/jscripts/"
export JAVASCRIPTDIR
MACHINENAME=`uname -n`
export MACHINENAME
removeUTF8SpecificsForKorean
STRIPPEDMACHINENAME=`hostname | sed -e 's/\..*//'`
export STRIPPEDMACHINENAME
if [ x"$BOBJEUSERNAME" = x ]; then
BOBJEUSERNAME=`id | sed -e "s|).\$||" -e "s|^.(||" `
export BOBJEUSERNAME
fi
restoreUTF8SpecificsForKorean
DEFAULT_REGFILE="$BOBJEDIR"setup/.defaultreg
export DEFAULT_REGFILE
REGFILE="$BOBJEDIR"data/.bobj
export REGFILE
BOE_REGISTRYHOME="$REGFILE/registry"
export BOE_REGISTRYHOME
DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
export DEFAULT_ODBCFILE
ODBC_HOME="$odbc"
export ODBC_HOME
the PID file location
PIDDIR="$BOBJEDIR"serverpids
export PIDDIR
SQLRULEDIRECTORY="$LIBDIR"
export SQLRULEDIRECTORY
PATH="$BINDIR:$crpe/xvfb:$PATH"
export PATH
CRPEPATH="$enterprise120/$SOFTWAREPATH/crpe/"
export CRPEPATH
MWHOME="$mw/"
export MWHOME
BOBJEXVFBPATH="$xvfb/"
export BOBJEXVFBPATH
MWUSER_DIRECTORY="$once the crpe is in, we should exit if this file doesn't exist.
Uncomment this to turn off Xvfb security and allow connections from
everyone.
MW_XVFB_AC="1"
export MW_XVFB_AC
Use a seperate .Xauthority file. Comment out this line if you want
to use the user's .Xauthority file for storing the Xvfb authentication
tokens.
registry/"
export MWUSER_DIRECTORY
MWRT_MODE="professional"
export MWRT_MODE
MWREGISTRY=":$MWUSER_DIRECTORY/hklm_$
Mainwin can deadlock unless this is set
Prevents Mainwin from popping up dialogs in some situations, causing a deadlock
variables merged from RAS
XVFB Manager
Environment Variables:
MW_XVFB_EXE = Name of the Xvfb exe.
Default is 'Xvfb'.
MW_XVFB_DAEMON = Name of the XvfbDaemon exe.
Default is 'XvfbDaemon'.
MW_XVFB_DAEMON_PORT = Port number that Xvfb Daemon will listen too.
Default is 5222.
MW_XVFB_DAEMON_HOST = Host on which the XvfbDeamon is running.
Default is Local host.
MW_XVFB_DAEMON_XVFB = Number of Xvfb to run.
Default is '5'.
MW_XVFB_DAEMON_DISPLAY = Starting display number for Xvfb.
Default is '1'.
MW_XVFB_DAEMON_PROFILE = Path to the Security Profile for Xvfb.
Default is 'SecurityProfile'.
MW_XVFB_DAEMON_TRACE = Set to turn on tracing information.
Default is undefined.
MW_XVFB_DAEMON_DIE = Turn off the exit code if no more connections.
Default is undefined.
MW_XVFB_FONT = Locations from which to load font
By this symbol being defined, the checking for a current set display is disabled.
Set to turn on tracing info when defined. Default is undefined.
MW_XVFB_DAEMON_TRACE=defined
export MW_XVFB_DAEMON_TRACE
RAS Home
.bin"
export MWREGISTRY
MWCORE_PRIVATE_DATA="$MWUSER_DIRECTORY/core_data"
export MWCORE_PRIVATE_DATA
if [ -f "$MWHOME"setmwruntime ]; then
. "$MWHOME"setmwruntime
fi
MWNT_OLE_DOCS=true
export MWNT_OLE_DOCS
MWPRINTER_DPI=600
export MWPRINTER_DPI
MWVISUAL_CLASS="TrueColor"
export MWVISUAL_CLASS
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
MWTHREAD_STACK="200000"
else
MWTHREAD_STACK="FA000"
fi
export MWTHREAD_STACK
MWFONT_DIR_PATH="$fonts/"
export MWFONT_DIR_PATH
MW_XVFB_DAEMON_FONT="$misc/"
export MW_XVFB_DAEMON_FONT
XAUTHORITY="$xvfb/.Xauthority"
export XAUTHORITY
MWDEBUG_LEVEL=0
export MWDEBUG_LEVEL
MWINVISIBLE_DISPLAY=1
export MWINVISIBLE_DISPLAY
MWNO_SIGCHLD_IGNORE=1
export MWNO_SIGCHLD_IGNORE
MWLOOK=motif
export MWLOOK
MW_XVFB_DAEMON_PROFILE="$BOBJEXVFBPATH/SecurityPolicy"
export MW_XVFB_DAEMON_PROFILE
MW_XVFB_DAEMON_IGNORE_DISPLAY="true"
export MW_XVFB_DAEMON_IGNORE_DISPLAY
if [ "$SOFTWARE" = "HP-UX" ]; then
MW_XVFB_DAEMON_XVFB=10
else
MW_XVFB_DAEMON_XVFB=5
fi
export MW_XVFB_DAEMON_XVFB
MWNO_FILE_LOCKING=true
export MWNO_FILE_LOCKING
MWNO_SIGNAL_CATCHING=true
export MWNO_SIGNAL_CATCHING
RASHOME="$enterprise120/$SOFTWAREPATH/ras/"
export RASHOME
LIBRARYPATH="$LIBDIR:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:$enterprise120/$SOFTWAREPATH/crpe:$:$PLUGINDIST/desktop/CrystalEnterprise.Report:$enterprise120/$SOFTWAREPATH/ras:$
May optionally be set to MALLOCMULTIHEAP=heaps:n[,considersize]
where n is scaled to the number of CPUs (usually 2x).
Setting to MALLOCMULTIHEAP=1 enables system defaults.
setting MALLOCMULTIHEAP to 'considersize' fixes an AIX memory leak and significantly reduces the memory footprint.
env variable to fix the default cpu affinity
env variable to fix dlopen/dlclose behaviour to be more like ELF-based systems
aix thread stack overflow guarding : won't catch if overflow is more than 4k, but better than nothing
aix specific ulimit changes
unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
undo that bug workaround from above
set the aix thread scope to system (1:1)
better core naming for aix 5
Check if memory windows is enabled in the kernal parameters
We will support memory windows, either through the "BOE120_HP_MEMWIN_ID" environment variable,
or through the "BusinessObjectsEnterprise120" memory window key in /etc/services.window
Use memory windows if available on HP-UX.
For both HPUX Itanium and PA-RISC
Reduce the number of arenas from 8 (default) to 1 (min) which solves memory blowup issue.
Enable the thread local cache to compensate.
http://www.docs.hp.com/en/B2355-60130/malloc.3C.html
mysql/lib"
if [ "$SOFTWARE" = "AIX" ]; then
LIBPATH="$LIBRARYPATH:$LIBPATH"
export LIBPATH
if [ x"$MALLOCMULTIHEAP" = x ]; then
CRConfig env variable for DCP
MALLOCMULTIHEAP="considersize"
export MALLOCMULTIHEAP
fi
RT_GRQ=ON
export RT_GRQ
LDR_CNTRL=IGNOREUNLOAD
export LDR_CNTRL
AIXTHREAD_GUARDPAGES=1
export AIXTHREAD_GUARDPAGES
LANGWAS="$LANG"
unset LANG
LC_ALLWAS="$LC_ALL"
unset LC_ALL
ulimit -S -m `ulimit -H -m` # max memory
LANG="$LANGWAS"; export LANG
unset LANGWAS
LC_ALL="$LC_ALLWAS"; export LC_ALL
unset LC_ALLWAS
AIXTHREAD_SCOPE="S"
export AIXTHREAD_SCOPE
Version=`uname -v`
Release=`uname -r`
if [ "$Version" -gt 4 ]; then
CORE_NAMING=ON
export CORE_NAMING
fi
AIXTHREAD_MUTEX_DEBUG=OFF
export AIXTHREAD_MUTEX_DEBUG
AIXTHREAD_COND_DEBUG=OFF
export AIXTHREAD_COND_DEBUG
AIXTHREAD_RWLOCK_DEBUG=OFF
export AIXTHREAD_RWLOCK_DEBUG
elif [ "$SOFTWARE" = "HP-UX" ]; then
if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/IA64W.0/server"
else
SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/PA_RISC2.0/server"
fi
export SHLIB_PATH
MAX_MEM_WINDOW=`/usr/sbin/kctune | grep max_mem_window | awk '{print $2}'`
if [[ "$MAX_MEM_WINDOW" != "0" ]]; then
if [[ "$BOE120_HP_MEMWIN_ID" = "" && -r "/etc/services.window" && -x "/usr/bin/getmemwindow" ]]; then
BOE120_HP_MEMWIN_ID="`/usr/bin/getmemwindow BusinessObjectsEnterprise120`"
export BOE120_HP_MEMWIN_ID
fi
if [[ -x "/usr/bin/setmemwindow" ]]; then
if [[ "$BOE120_HP_MEMWIN_ID" != "" ]]; then
CE_CMDLINE_PREFIX="/usr/bin/setmemwindow -f -i $BOE120_HP_MEMWIN_ID "
fi
fi
export CE_CMDLINE_PREFIX
fi
export MARENA_OPTS=1:8
export MCACHE_OPTS=100:8:0
elif [ "$SOFTWARE" = "Linux" ]; then
LD_LIBRARY_PATH="$LIBRARYPATH:$perl/lib/5.8.0/i386-linux-thread-multi/CORE:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH="$LIBRARYPATH:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
fi
CRCONFIGFILE="$java/CRConfig.xml"
if [ -f "$CRCONFIGFILE" ]; then
CRConfig11="$CRCONFIGFILE"
export CRConfig11
fi
if [ -d "$ODBC_HOME/locale" ]; then
set up the odbc symlink to work around:
The DataDirect SQL Server ODBC driver on UNIX will not function properly under a
locale other than "en_US" due to strong dependencies on their locale files.
MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`
if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
fi
fi
This was originally called TMPDIR, but now MainWin supports MW_TMPDIR, so we export MW_TMPDIR
ADAPT00506764 tracks the original issue with TMPDIR/Essbase Connectivity
MySQL now sets its TMPDIR in mysqlstartup.sh
set the tmp dir locally, if the value is not already set.
if [ x"$MW_TMPDIR" = x ]; then
if [ ! -d "$BOBJEDIR"/tmp ]; then
mkdir -p "$BOBJEDIR"/tmp
fi
MW_TMPDIR="$BOBJEDIR"/tmp
export MW_TMPDIR
fi
Comment this out to turn off custom Solaris memory allocator
if [ "$SOFTWAREPATH" = "solaris_sparc" ]; then
LD_PRELOAD="libhoard.so.1"
export LD_PRELOAD
Need to set up 64-bit specific library path so that 64-bit processes will
preload the 64-bit version of the memory allocator, and not the 32-bit version
LD_LIBRARY_PATH_64="$enterprise120/solaris_sparcv9"
export LD_LIBRARY_PATH_64
fi
setup the mysql env variables
if [ -d "$BOBJEDIR"/mysql ]; then
mysql env variables
MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
export MYSQL_UNIX_PORT
fi
call env.sh from sub-directories (presumably from add-on installs)
for dir in "${BOBJEDIR?}/setup"/*
do
if [ -r "${dir?}/env.sh" ]; then
. "${dir?}/env.sh"
fi
done
fi
if [ X"$SOFTWARE" = "XHP-UX" ]; then
check for existence of u_flag, if it is, turn it back on.
if [ "$U_FLAG" = 1 ]; then
set -u
fi
fi -
When I try to launch itunes I get an error mesage saying that Apple application support was not found and suggests that I uninstall and re-install it, but that doesn't work
For general advice see Troubleshooting issues with iTunes for Windows updates.
Start with the section Install missing components which should address your particular error. Otherwise the steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT) as you start iTunes, then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
tt2 -
Error Function module " " not found in Smartforms
Hi all,
Please help me out .
I created the form using the smartforms, check it and activated it. I can see the unique function module is assigned to the form. I wrote the ABAP program and use function module SSF_FUNCTION_MODULE_NAMEand also define data types.
when I called the function module fm_name for passing values and tables from program to smartform. This is working perfectly in development server but in production it giving error like Function module " " not found.
Below I m pasting my code.
*& Report ZCASHJOURNAL *
REPORT zcashjournal .
TABLES: bseg.
DATA: FM_NAME TYPE rs38l_fnam.
DATA:BEGIN OF it_bseg OCCURS 0.
INCLUDE STRUCTURE bseg.
DATA:END OF it_bseg.
DATA:BEGIN OF it_bseg1 OCCURS 0.
INCLUDE STRUCTURE bseg.
DATA:END OF it_bseg1.
DATA: gv_amt_in_words TYPE spell,
gv_word TYPE spell-word,
gv_decword TYPE spell-decword.
DATA:BEGIN OF gt_bkpf OCCURS 0.
INCLUDE STRUCTURE bkpf.
DATA:END OF gt_bkpf.
DATA:bktxt TYPE bktxt.
DATA:waers TYPE waers.
DATA:belnr TYPE belnr_d.
DATA:werks TYPE bukrs.
DATA:desc TYPE butxt.
DATA:awkey TYPE awkey.
DATA:docno TYPE matnr.
DATA:cajo TYPE awkey.
DATA:desc1 TYPE butxt.
DATA:dmbtr TYPE dmbtr.
SELECTION-SCREEN BEGIN OF BLOCK b2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) FOR FIELD s_belnr.
SELECTION-SCREEN POSITION 28 .
PARAMETERS : s_belnr TYPE bseg-belnr .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (15) FOR FIELD s_werks.
SELECTION-SCREEN POSITION 28 .
PARAMETERS: s_werks TYPE werks.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECT * FROM bkpf
INTO CORRESPONDING FIELDS OF TABLE gt_bkpf
WHERE belnr LIKE s_belnr
AND bukrs LIKE s_werks.
IF NOT gt_bkpf[] IS INITIAL.
SELECT * FROM bseg
INTO CORRESPONDING FIELDS OF TABLE it_bseg
FOR ALL ENTRIES IN gt_bkpf
WHERE bukrs EQ gt_bkpf-bukrs
AND belnr EQ gt_bkpf-belnr
AND shkzg EQ 'S'.
ENDIF.
LOOP AT gt_bkpf.
bktxt = gt_bkpf-bktxt.
waers = gt_bkpf-waers.
belnr = gt_bkpf-belnr.
werks = gt_bkpf-bukrs.
awkey = gt_bkpf-awkey.
docno = awkey+0(10).
cajo = awkey+10(4).
ENDLOOP.
LOOP AT it_bseg.
dmbtr = it_bseg-dmbtr.
ENDLOOP.
IF s_werks EQ '65'.
desc = 'JCBML - Heavy Equipments'.
ENDIF.
IF cajo EQ '0001'.
desc1 = 'PETTY CASH PLANT II'.
ENDIF.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = dmbtr
currency = waers
filler = space
language = sy-langu
IMPORTING
in_words = gv_amt_in_words
EXCEPTIONS
not_found = 1
too_large = 2
OTHERS = 3.
IF sy-subrc EQ 0.
MOVE : gv_amt_in_words-word TO gv_word,
gv_amt_in_words-decword TO gv_decword.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZCASHRECPT'
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = 'ZCASHRECPT'
variant = ' '
direct_call = ' '
IMPORTING fm_name = lf_fm_name
EXCEPTIONS no_form = 1
no_function_module = 2.
*v_vbeln = S_VBELN-low.
CALL FUNCTION FM_NAME
EXPORTING
bktxt = bktxt
waers = waers
belnr = belnr
werks = werks
desc = desc
docno = docno
cajo = cajo
desc1 = desc1
dmbtr = dmbtr
gv_word = gv_word
TABLES
T_ZDEB = it_bseg
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hi Rakesh,
Check two things
1. Program tranpsorted to production without any error in request log.
2. Smartform tranpsorted to production without any error in request log and without renaming / misspelling it.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZCASHRECPT'
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Also try to uncomment the Message id part and it will show some meaningful message.
And to check whether actaually fucntion module is generated or not goto smartforms ->Smartform name -> Display -> Environment->Fucntion module name . if this is blank try to retransport smartform.
Hope that helps.
Regards
Kapadia
***Assigning points is the way to say thanks in SDN.*** -
Shared Services database content not found in the specified database."
Trying to configure Version 11 and get the error: "Shared Services database content not found in the specified database". Relevant details on my issue as below:
- I'm running Windows 7 and SQL Server 2008 on my local machine.
- I did have a previous installation of Hyperion 9 on my machine which I uninstalled before installing 11. However, after uninstalling, I could still see the Hyperion EPM (empty folders) in my "All Programs", which I manually deleted.
- Now I've installed Essbase 11, and for now am trying to configure Hyperion Foundation only (Common Settings and Configure Database is greyed out, I checked deploy to applicaiton server. I left the calculation manager and workspace blank).
- The next window is the "Configure Shared Services and Database Registry" option. I chose "Perform 1st time Configuration of Shared Services Database". When I enter the relevant details, I got the error mentioned above. My error log file entries are as below:
(Jul 14, 2010, 02:10:50 PM), com.hyperion.hit.registry.Registry, ERROR, Exception when trying to store the component
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at com.hyperion.hit.registry.JDBCRegistryUtils.storeComponent(JDBCRegistryUtils.java:612)
at com.hyperion.hit.registry.JDBCRegistryUtils.saveComponent(JDBCRegistryUtils.java:166)
at com.hyperion.hit.registry.Registry.storeComponent(Registry.java:2749)
at com.hyperion.hit.registry.Registry.getInstance(Registry.java:353)
at com.hyperion.config.wizard.impl.RegistryWizardRule.validate(RegistryWizardRule.java:66)
at com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel.queryEnter(WizardFormAdapterPanel.java:80)
at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(SwingWizardUI.java:842)
at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1822)
(Jul 14, 2010, 02:11:08 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
(Jul 14, 2010, 02:11:58 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
I believe version 11 supports Windows 7, but correct me if I'm wrong. What's going on here? Any suggestions on what I should try ?Actually when I installed version 9, I never got around to configuring shared services and so never had a shared services database in SQL Server to begin with.
One question about the registry entry you told me to delete: The (HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions) which currently exists would be the entry for version 11 which I have installed right? It's the only entry for Hyperion Solutions in the registry.
After uninstalling versino 9, C:/hyperion still existed on my machine (though it didnt have all the subfolders which it did prior to uninstalling), so I manually deleted it before installing verison 11.
I wouldn't mind installing it on a compatible version of windows, but the thing is that at this point this is all that is available to me.
and I don't have any other oracle products.
thanks.... -
10901 Data source name not found and no default driver specified(ODBC)"
Dear all,
I have installed BOE 4.0 at Win XP 64 bits, and also installed Sybase IQ 15.2 (32bit) ODBC, and has create the odbc entry "shkdemo" at the System Tab. However, I still got the above error when using the the "Interactive Analysis" thru "BI Launch pad".
For BOE 4.0, I found that I could only use the BOE Client tools (Universal Design Tool) to create the connection, this client tool I installed it at another 32 bit XP laptop, and I also installed the Sybase IQ 15.2 (32bit) ODBC with the same odbc entry "shkdemo", and using the "Interactive Analysis Desktop, I could be able to create report with data from IQ 15.2.
Kindly advise, why I still got the error of "10901 Data source name not found and no default driver specified(ODBC)" when I use the "Interactive Analysis" thru "BI Launch pad".
Cheers,
HildaRemember the client tools are 32 bit, BOE 4.0 is 64 bit. Thus a document using a 32 bit client will connect to 32 bit ODBC datasource. A 64 bit application (BOE 4.0) will be looking for 64 bit ODBC datasource. You mention you installed Sybase IQ 15.2 (32bit) ODBC which is great for the 32 bit client tools, but 64 bit BOE will not be able to use this.
See a related article; [Crystal Reports support of 64 bit Operating Systems|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e]
- Ludek -
Infa Error: Data source name not found and no default driver specified
All,
Infa version 8.1, DAC 795. Plain vannila installation with SQL server. Both client and server installed in same machine.
DAC connectivity both with infa and oltp working fine. When ETL is run, Informatica session logs are giving following error:
ERROR 10/2/2008 3:49:01 PM node01_PPMBIDEV1 MAPPING CMN_1022 Database driver error...
CMN_1022 [
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Database driver error...
Function Name: Connect
Database driver error...
Function Name: Connect
Database Error: Failed to connect to database using user [MDVYAS] and connection string [PPMCRMDEV1@OracleBI_Warehouse].]
Any pointers appreciatedHi,
Did you follow step 4.13.2 - 'Configuring Relational Connections in Informatica PowerCenter Workflow Manager' of the installation and configuration guide?
Manoj. -
Hello All,
Problem:-
I am transporting my interface from Dev to QA using CMS transport method. Everything is fine in Dev system even mapping is checked correcetly, but when I am checking the mapping in QA system it it showing the error message in the Message mapping as:-
Error Message in QA message mapping:-
The source or target structure has been changed or could not be found in the Integration Repository. The mapping definition contains elements or attributes that do not exist in the changed structure. The relevant entries will be deleted
Function iFS not found
Function iFS not found
In My message mapping i am using IF then else function.
I created new message mapping in Dev system and also transported again but it is giving the same eror message.
ChiragFew other functions are also missing.
If functions were present in DEV and are now missing in QA....then i would suggest you compare both the systems in terms of patch....this might be the cause of concern....both should be on the same SP
Update:
Check the solution section from this note(specifically for IfS): https://service.sap.com/sap/support/notes/1090369
and confirm that your QA system abides by them
Regards,
Abhishek.
Edited by: abhishek salvi on Nov 20, 2009 4:14 PM -
Shared Services database content not found in the specified database - EPM
I installed three VM machines (Workstation) for the following on Windows 2003 OS:
VM1 : Oragle DB 11g, Shared Services. Workspace
VM2 : Financial Management, EPMA, Calc Manager
VM3 : Microsoft Active Directory
I have configured Database and Shared services successfully and all machines talk to one another.
Also, I created the appropriate table spaces for the Hyperion products with the right access on the database. And, I am able to connect from the client (VM 2 to the Database VM 1)using SQLplus.
When I tried to configure Financial Management, using the EPM System Configurator and put in the following values:
Database Type: Oracle
Server: VMDatabase (Name of VM1)
Port: 1521
SID ORCL
Username: HFM
password: *********
It returned the error message: "*Shared Services database content not found in the specified database*"
Can someone please help on what I need to check, Please!?
Thanks for your time.
KHi,
Information from Oracle Support:
Shared Services database content not found in specified database
Cause
There is a flag in the shared services repository that indicates the shared services database is to be used as a registry. If that flag is not set, the configtool will not re-configure the database as a shared services repository.
Solution
Note: Make sure the Shared Services repository is backed up before doing any Shared Services Registry changes.
The registry flag isRegistryDB must exist and be set to true on the Shared Services Database Connection.
epmsys_registry.bat VIEW DATABASE_CONN
Find the shared services database registry entry. The entry in bold will be missing. The italicized item is the 'unique_id' referenced later (different in each installation).
COMPONENT - 3
NAME - Database:ORCL:HSS
ID - +11d1def534ea1be07ad8eb3012d2e3d310a7ff4+
TYPE - DATABASE_CONN
HOST - Database
HYPERION HOME - /home/hypadmin/Oracle/Middleware/EPMSystem11R1
PROPERTIES -
isRegistryDB = true
dbUserName = HSS
dbJDBCDriverProperty = oracle.jdbc.OracleDriver
dbJdbcUrl = jdbc:oracle:thin:@Database:1521:ORCL
registryDatasource = EPMSystemRegistry
registryDatasourceJNDI = jdbc/EPMSystemRegistry
dbName = ORCL
version = 9.5.0.0
dbPort = 1521
instance_home = /home/hypadmin/Oracle/Middleware/user_projects/epmsystem1
dbPassword = GABaMyyplja+wLNCmLs8ag==
Run the following update to populate the isRegistryDB flag with the unique_id being the ID field used in the DATABASE_CONN registry entry.
epmsys_registry.bat addproperty #unique_id/@isRegistryDB true
Repeat the epmsys_registry VIEW DATABASE_CONN to make sure the flag is now set.
You will be able to reconfigure the shared services repository.
You can mark it as Answer/Helpful if you feel so.
Cheers!
J -
SMQ2 SYSFAIL - Function Module not found
Hi All,
When i am trying to push data to cdb i got sysfail - Function module not found error in the smq2. But data inserted in the cdb, the probelm we found was the data object having the dependency cause this error.
The data was there in the cdb, but no distribution entries found.
Please help me to resolve the same.
Regards,
RamkumarHi,
Clear the queue first (delete it), then implement the NOTE 1552255 - 'Parallel load problem for partial association shadow'. Run the report mentioned in the NOTE and do a delta generation.
Then on doin a delta load the queues should run successfully.
regards,
Anil
Maybe you are looking for
-
Db13 error while checking databse
Hi, here i am getting the bellow error when executing check db in db13. i already searched in net but i am not able to get right solution ,plz can any one help me. Job started Step 001 started (program RSDBAJOB, variant &0000000000426, user ID PIPBAS
-
Hi, Looking for answers of the following questions: 1) Can anybody tell me that how i can check the size of my database? 2) I am working in DSS environment and few of my tables are consist around 40000 rows. Can anybody tell me that how i can increas
-
I had divx on but took it off as they said to download another programe for downloading movies. (paid) when I download any programe I used to be asked if I wanted to install it. but know it does not and I have trouble finding where the download was a
-
Microsoft Test Agent appears to be blocking Outlook connectivity to Exchange
Core Problem The problem I am having is that connectivity to Exchange from Outlook is blocked while executing an integration test through the Microsoft Test Agent (i.e. Outlook is in the disconnected state). The test is launched through Microsoft Tes
-
[SOLVED] Shuttle in PL SQL region (Apex 3.2)
Hi OTN, Is there an option of creating shuttle element in PL SQL region? I need to have a dynamic number of those elements on my page. I have copied HTML code of a static apex shuttle (with Never condition) on this page, but no double clicks or butto