Berkeley DB JDBC Build on Linux/ARM Errors?
Trying to build a version of Berkeley DB 5.3.15 with dbsql and jdnc on a Linux/Arm device.
From the build_unix directory issued the following configure command:
../dist/configure enable-sql enable-jdbc
then
make
The build fails while trying to compile sqlite_jni.c. The last lines of the build look as follows:
native/sqlite_jni.c: In function 'Java_SQLite_Database__1exec__Ljava_lang_String_2LSQLite_Callback_2_3Ljava_lang_String_2':
native/sqlite_jni.c:1622: error: incompatible type for argument 2 of 'sqlite3_vmprintf'
../../lang/sql/generated/sqlite3.h:1986: note: expected 'va_list' but argument is of type 'char *'
native/sqlite_jni.c: In function 'Java_SQLite_Database_vm_1compile_1args':
native/sqlite_jni.c:3282: error: incompatible type for argument 2 of 'sqlite3_vmprintf'
../../lang/sql/generated/sqlite3.h:1986: note: expected 'va_list' but argument is of type 'char *'
make[1]: *** [sqlite_jni.lo] Error 1
make[1]: Leaving directory `/root/db-5.3.15/build_unix/jdbc'
make: *** [jdbc] Error 2
Also tried including --enable-java in the configure script with the same effect.
Any suggestions?
Thanks,
-- Jim C
I have done some porting work of Berkeley db4.6.21 on vxworks6.3, and I think my experiences may help:
If you decide to use db-4.5.21, simply open the WorkBench2.5, create a "downloadable kernal module", and then import the db source tree, make sure not to import the files not needed. To see what files to be imported, you can open the db/dist/srcfiles and retrieve the lines with "vx" string, and import only the files listed in the retrieved list.
Then, you can build the project. Note that there are some data type conficts between berkeley db source and the vxworks os, that is the u_int8_t and the like, you will have to remove the definitions in the headers belonging to vxworks.
Similar Messages
-
Can't run petalinux-build without a compiler error
Hello,
I've been trying to follow the TDR 2014.4 PetaLinux rebuild and am hitting an error with the compiler trying to locate a header file. I suspect it is a environment issue although I've tried all the tips I've scoured off groups on the internet like petalinux-build -x distclean, etc.
Here is the output of petalinux-build -v around the compiler error and I've attached the build.log file for review as well as a copy of my environment variables.
[ALL ] ln -s "/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/linux-xlnx/usr" "/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/usr"
[INFO ] build linux/kernel
[ALL ] make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- O=/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/linux-xlnx KCONFIG_CONFIG="/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/linux-xlnx"/.config -j1 -C /opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/download/linux-xlnx all
[ALL ] make[2]: Entering directory `/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/download/linux-xlnx'
[ALL ] make[1]: Entering directory `/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/linux-xlnx'
[ALL ] HOSTCC scripts/basic/fixdep
[ALL ] /opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/download/linux-xlnx/scripts/basic/fixdep.c:106:23: fatal error: sys/types.h: No such file or directory
[ALL ] #include <sys/types.h>
[ALL ] ^
[ALL ] compilation terminated.
[ERROR] make[5]: *** [scripts/basic/fixdep] Error 1
[ERROR] make[4]: *** [scripts_basic] Error 2
[ERROR] make[3]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[ERROR] make[2]: *** [sub-make] Error 2
[ALL ] make[2]: Leaving directory `/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/download/linux-xlnx'
[ERROR] make[1]: *** [/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel/linux-xlnx/vmlinux] Error 2
[ALL ] make[1]: Leaving directory `/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux/kernel'
[ALL ] make: *** [sub_build_component_/kernel/linux-kernel/single/remote] Error 2
[ALL ] make: Leaving directory `/opt/pkg/rdf0286-zc702-zvik-base-trd-2014-4/software/petalinux/build/linux'
Can someone please help me to resolve this issue?
My 2014.4 PetaLinux petalinux-build runs succeed with the attached kernel config. However if I then just make this single line change to the attached config:
CONFIG_CFG80211=y
then the build fails with the message below. I've burned many hours trying to get around this because as it is I'm unable to ass the kernel features I need. :(
dwright@dwright-Studio-XPS-9100:~/vtdzynq/vtdpetalinux$ petalinux-build
INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
INFO: Building linux
[INFO ] pre-build linux/rootfs/fwupgrade
[INFO ] pre-build linux/rootfs/peekpoke
[INFO ] pre-build linux/rootfs/uWeb
[INFO ] build linux/kernel
[ERROR] make[5]: *** [silentoldconfig] Error 1
[ERROR] make[4]: *** [silentoldconfig] Error 2
[ERROR] make[3]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[ERROR] make[2]: *** [sub-make] Error 2
[ERROR] make[1]: *** [/home/dwright/vtdzynq/vtdpetalinux/build/linux/kernel/xlnx-3.17/vmlinux] Error 2
ERROR: Failed to build linux -
I updated air sdk from 4.0 to 16.0 beta to fix apple app store submitting bug. I can build the project and run it on simulator without any problem. But when I tried to export the ios release build, I got this error message: complilation failed while excuting : compile-abc.
I use commmand line to excute compile-abc.exe with the parameters that adt gives it, but it failed without any error message.
Here is the command line:
compile-abc.exe -mtriple=armv7-apple-ios -filetype=obj -sdk "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1 - air16\lib\aot/lib/avmglue.abc" -fields "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1 - air16\lib\aot/lib/air-fields.arm-air.txt" -O3 -abc-file-list=E:\MyApp\bin-debug\AOTBuildOutput8184169967790207636.tmp\ABCFilesList.txt
There's a empty file AOTBuildOutput-0000001821_1821.o left in the command line workaroud path. I opened file AOTBuildOutput-0000001821.abc, but didn't get any clue. How can I trace this problem?Still having similar issues - seems to be when I embed an image - but works for every release except for release build
Tried your work around but doesnt seem to make a different
[Embed(source = "/../assets/[email protected]")]
protected static const ATLAS_IMAGE:Class;
[Embed(source = "/../assets/[email protected]", mimeType = "application/octet-stream")]
protected static const ATLAS_XML:Class;
[Embed(source = "/../assets/iconMap.png")]
protected static const ATLAS_IMAGE_LOW_RES:Class;
[Embed(source = "/../assets/iconMap.xml", mimeType = "application/octet-stream")]
protected static const ATLAS_XML_LOW_RES:Class;
if(Starling.current.viewPort.width > 320)
atlas = new TextureAtlas(Texture.fromBitmap(new ATLAS_IMAGE(), false), XML(new ATLAS_XML()));
}else{
atlas = new TextureAtlas(Texture.fromBitmap(new ATLAS_IMAGE_LOW_RES(), false), XML(new ATLAS_XML_LOW_RES())); -
I'm creating a DLL on a Red Hat flavor of linux. However when i'm
running into the error "Unknown Linux platform" from
platdefines.h. I don't know why its throwing this error or idea
of how to fix this problem. If anyone could help it will be
greatly appriciated.Hello Mess88,
I noticed in your first post you mentioned that you are trying to create a
DLL. I would assume that you are actually trying to create .so file as
Linux is unable to handle DLLs. I noticed that LabVIEW will still have a
default name of My DLL but it will actually be a .so file.
After looking through the platdefines.h file I was able
to determine the section that yields this error:
#if defined(i386)
#define ProcessorType
kX86
#define NI_BIG_ENDIAN
0
#elif defined(__alpha)
#define ProcessorType
kDECAlpha
#define NI_BIG_ENDIAN
0
#elif defined(powerpc)
#define ProcessorType
kPPC
#define NI_BIG_ENDIAN
1
#elif defined(sparc)
#define ProcessorType
kSparc
#define NI_BIG_ENDIAN
1
#elif defined(mips)
#define ProcessorType
kMIPS
#define NI_BIG_ENDIAN
1
#elif defined(arm) || defined(__arm__)
#define ProcessorType
kARM
#define NI_BIG_ENDIAN
0
#elif defined(__x86_64__)
#define ProcessorType
kX64
#define NI_BIG_ENDIAN
0
#else
#error "Unknown Linux platform"
#endif
So it looks like it checks to see the type of processor that you have and if
it is not one of the types listed in the "if else" statements then it
will eventually get to the "Unknown Linux Platform" error. Can
you verify what processor you are using?
Also, is this the first time that you have tried to implement a solution
like this before? Did it ever work in the past or would you get this
error no matter what you tried to do. Please just let me know if you have
any further questions! I hope this helps!
Thanks!
Bob H
Applications Engineer
National Instruments -
Building Asterisk from source error
Hello, I'm fairly new to Arch Linux and have been attempting to build Asterisk from source. Building on a Raspberry Pi and when I try and make, I get this error:
[pi@alarmpi asterisk-1.4.44]$ make
[CC] src/add.c -> src/add.o
gcc: error: unrecognized argument in option '-march=armv6l'
gcc: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
gcc: error: unrecognized argument in option '-march=armv6l'
gcc: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
/home/pi/builds/asterisk-1.4.44/Makefile.rules:91: recipe for target 'src/add.o' failed
make[2]: *** [src/add.o] Error 1
Makefile:50: recipe for target 'gsm/lib/libgsm.a' failed
make[1]: *** [gsm/lib/libgsm.a] Error 2
Makefile:369: recipe for target 'codecs' failed
make: *** [codecs] Error 2
I'm not very well versed in diagnosing Makefile errors…but I would assume at least one of the errors would be from gcc not seeing a valid -march option. Any suggestions on where I should look or what I should change to correct this error?
Last edited by zaplack (2014-11-18 20:23:37)I found this repo to be missing several essential tools; as far as I got I "found" that
unzip and rsync were missing.
Just adding a generic cygwin/bin to the path did not work, because an unsuitable version
of ranlib got into the tool chain.
I made some progress by constructing a special bin directory that contained only the
DLLs from cygwin/bin + unzip + rsync
The next stumble (still unresolved) is in make "make"
checking whether the C compiler works... no
configure: error: in `/cygdrive/c/crossbridge-master/build/win/make':
configure: error: C compiler cannot create executables -
Executable build failing with no error message with smtp email VIs
I have a VI which I want to build into a .exe which will be used as an HMI for a real-time system. I am using the SMTP VIs to text/email me various notifications about the system state. The main VI works fine if run but will not build into an .exe. The error message comes back blank so no help there (LabView 2010). If I just simply disable the portion of the code in the HMI.VI which contains the email VI code, the application builds. I searched for anwers and was unable to resolve the problem. Any ideas? Do I need to include anything in the build that is specific to the LabView SMTP VIs? I'm new to building .exe's so I appologize for any rookie mistakes I may have made.
Thanks.mikeporter wrote:
You said you searched for answers (on the forum?).
Yes.
What did you find?
I found a bunch of topics on email send errors after the application was built but nothing related to .exe building failures (related to the SMTP/email VIs). I also found topics dicussing the bug that fails to report an (any) error during the .exe build (for 2011). The solution was to install the service pack. if that's my problem then I will have to go through the motions to get that done (corporate computers / lack of persmissons and such).
What have you tried? This question has been answered many, many, many times.
I tried what I stated in the OP. If I disable the portion of the code which contains the email SMTP VIs, the application builds, otherwise, the build fails and no error code or description is given.
PS: probably has nothing to do with the SMTP drivers, per se.
If the answer has been given many, many times, then I appologize for not being able to find it before posting. Trust me, the last thing I want to is waste my time fishing for answers on the forum, especially when I get a response from forum members who would rather point out that my mis-identified problem has been answered many, many times, rather then just helping me out. -
Report Builder on Linux?
Hi Everyone,
Is it possible to run a version of Oracle report builder in linux? Currently right now I am running Reports 6i in Windows XP. I've found a way to run all my other apps in linux and have switched over except for a couple of Oracle apps. The main ones being Reports and Workflow Builder.
I remember there was a way to run Forms builder in Solaris not sure if there was a same version like that for Reports builder.
Thanks.hi ,
The oracle report builder will work on linux operating system also. -
How to start Oracle Report Builder in Linux
Hi all
Can someone please help by telling how can i start Oracle Report Builder in Linux????
Thank you and best regards to allHello,
there should be a script rwbuilder.sh
in ORACLE_HOME/bin for 10.1.2.
in ORACLE_INSTANCE/config/reports/bin for 11g
Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
Example :
export DISPLAY=123.456.789.12:0
$ORACLE_HOME/bin/rwbuilder.sh
Regards -
Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir
I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
SQL> conn system/system@botsdb
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
I tried the same from my laptop through sqlplus and the error message is the same.
I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
SQL>Select * from v$database;
SQL>Select * from v$instance;
SQL>Select * from tab;
These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
Can someone please guide me to sort this error?
Thanks and kind regards,
AparnaHi
I am answering all the three questions here.
1) No of instances on the machine, I understand it is 1.
2) Results of lsnrctl status
oracle@linuxserver:~> lsnrctl status
LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
Start Date 27-JUL-2010 11:24:12
Uptime 0 days 21 hr. 55 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "metarep.dcdm.mu" has 1 instance(s).
Instance "metarep", status READY, has 3 handler(s) for this service...
The command completed successfully
--Note that lsnrctl status command was issued after loading 10ginfra.env file.
Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
oracle@linuxserver:~> . ./10gdb.env
oracle@linuxserver:~> lsnrctl status DBLISTENER
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
STATUS of the LISTENER
Alias DBLISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 27-JUL-2010 15:11:28
Uptime 0 days 18 hr. 13 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
Services Summary...
Service "BOTSDB" has 1 instance(s).
Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
3) The output of ps -ef |grep pmon is
oracle@linuxserver:~> ps -ef |grep pmon
oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
# listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10ginfra)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
# Generated by Oracle configuration tools.
SID_LIST_DBLISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10gdb/)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = BOTSDB)
(ORACLE_HOME = /oracle/app/ora10gdb/)
DBLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
Kind regards,
Aparna -
Oracle 10G Linux runInstaller Error in writing to directory
RDBMS Version: 10.1.0.3.0
Operating System and Version: Enterprise Red Hat Linux 4.0
Linux runInstaller Error in writing to directory
Steps :-
1. Downloaded the Install 10.1.0.3 for Linux X86
2. Followed the Instructions as per B15521-01
3. When running runInstaller got below Error
$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8or UnitedLinux-1.0
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2005-06-28_01-40-22PM/installActions2005-06-28_01-40-22PM.log
4. Found Patch 4153257 after unzipping the file and running as below got another error
$ ./runInstaller -paramFile /home/oracle/p4153257
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The Java RunTime Environment was not found at 0/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
: No such file or directory
5. Then Copied the oraparam.ini to the folder where the original oraparam.ini file was present ie /tmp/orcl/Disk1/install
6. After running the installer again got below error
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
Passed
All installer requirements met.
Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_01-53-49PM. Please wait ...sh: /tmp/orcl/Disk1/install/unzip: No such file or directory
Error in writing to directory /tmp/OraInstall2005-06-28_01-53-49PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: Success
7. Saw the Error that it was looking for unzip in /tmp/orcl/Disk1/install so Created a Soft link
8. Still the other Error exists ie as below. Well the DIR is created and oracle user has written files. So not sure why it says check disk space or directory is writable.
$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8, UnitedLinux-1.0 or redhat-4
Passed
All installer requirements met.
Checking Temp space: must be greater than 80 MB. Actual 3409 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2055MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-06-28_02-23-50PM. Please wait ...
Error in writing to directory /tmp/OraInstall2005-06-28_02-23-50PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: Success
$ ls -al /tmp/OraInstall2005-06-28_02-23-50PM
total 40
drwxr-xr-x 3 oracle oinstall 4096 Jun 28 14:23 .
drwxrwxrwt 44 root root 4096 Jun 29 04:03 ..
-rwxr-xr-x 1 oracle oinstall 4036 Jun 28 14:23 command_output_27899
drwxr-xr-x 2 oracle oinstall 4096 Jun 28 14:23 images
-rwxr-xr-x 1 oracle oinstall 528 Jun 28 14:23 installActions2005-06-28_02-23-50PM.logI am not sure what was wrong in the Initial download of the Install.
I did it again and this time it came properly and all the files in the install directory ie unzip was present and the Installer came up properly. -
I am using Dreamweaver UltraDev to make pages that have to connect with a database. I am making the pages in jsp. Do you know how I can run a JDBC driver on linux? I am not sure, but I think I may also need an ODBC driver running as well. I am using redhat 7.1, apache 1.3.20, JServ, and GnuJSP.
I am using Dreamweaver UltraDev to make pages that
have to connect with a database. I am making the pages
in jsp. Do you know how I can run a JDBC driver on
linux? The same way you would run it on any other platform. That is the beauty of JDBC.
I am not sure, but I think I may also need an
ODBC driver running as well. For what? What database are you running?
I am using redhat 7.1,
apache 1.3.20, JServ, and GnuJSP.Joseph Schlecht -
I'm looking for a place to download an Oracle JDBC driver for Linux. I have installed Oracle 8.1.5 for Linux, but don't find the driver either in the installation, nor on the CD. Can anyone point me to someplace I might be able to find it?
Also, generic help in setting this up to work, JDBC API calls would also be of great help.
Thanks.Luis Claudio Rodrigues da Silveira (guest) wrote:
: How can I configure JDBC driver in a Suse environment? What
are
: the necessary steps?
: Thanks in advance.
1) You need classes111.zip usually located at
$ORACLE_HONE/jdbc/lib.
2) Add classes111.zip to CLASSPATH and export
3) If you use thin driver your code should look like:
Class.forName ("oracle.jdbc.driver.OracleDriver");
// Connect to the database
// You must put a database name after the @ sign in the
connection URL.
// You can use either the fully specified SQL*net syntax or
a short cut
// syntax as <host>:<port>:<sid>. The example uses the
short cut syntax.
Connection conn =
DriverManager.getConnection
(jdbc:oracle:thin:@hostname:port:ORACLE_SID,
USER_NAME, PASSWOED);
null -
ORA-01034: ORACLE not available ORA-27101: shared mem Linux-x86_64 Error 2
Hello,
I was in the process of importing a table and my VM Rhel 6 Oracle machine hung. I rebooted the machine and Im getting the following issues.
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 12:51:47 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: example
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
I am a bit concerned over the Linux-x86_64 Error 2 issue. Can someone assist here please.
Thanks Kevin DeckerRequest per the 1st earlier post.
id=601(oracle) gid=517(oinstall) groups=517(oinstall),518(dba)
-bash-3.2$ env | sort
_=/bin/env
CLASSPATH=/usr/app/oracle/product/11.2.0/jlib:/usr/app/oracle/product/11.2.0/rdb ms/jlib
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/usr/app/oracle
HOSTNAME=LPLCLDDB105.lab.trcn.aexp.com
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/usr/app/oracle/product/11.2.0/lib:/lib:/usr/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/usr/app/oracle
ORACLE_HOME=/usr/app/oracle/product/11.2.0
ORACLE_HOSTNAME=LPLCLDDB105.phx.aexp.com
ORACLE_SID=DOC105P
ORACLE_UNQNAME=DOC105P
PATH=/usr/app/oracle/product/11.2.0/bin:/sbin:/usr/sbin:/bin:/usr/bin
PWD=/usr/app/oracle
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=10.68.13.164 49281 22
SSH_CONNECTION=10.68.13.164 49281 10.68.58.50 22
SSH_TTY=/dev/pts/0
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USER=oracle
Refer to the SQL*Plus User's Guide and Reference for more information.
-bash-3.2$ sqlplus '/as sysdba'
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 14:33:45 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 534462464 bytes
Fixed Size 2215064 bytes
Variable Size 331350888 bytes
Database Buffers 192937984 bytes
Redo Buffers 7958528 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 20688
Session ID: 9 Serial number: 3 -
While installing ECC6.0 SR3 FOR LINUX an error occured
Hi all,
While installing ECC6.0 SR3 FOR LINUX an error occured. Error Details:
ERROR 2008-10-12 20:38:59.866
FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .WARNING 2008-10-13 18:17:26.006
Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/ERP/SYSTEM/DB6/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/ERP/SYSTEM/DB6/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/ERP/SYSTEM/DB6/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/ERP/SYSTEM/DB6/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/ERP/SYSTEM/DB6/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s C31 -f /sapmnt/C31/global/security/data/SecStore.properties -k /sapmnt/C31/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1. Output:
The java class is not found: com.sap.engine.offline.OfflineToolStart
ERROR 2008-10-13 18:17:26.011
CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.
ERROR 2008-10-13 18:17:26.235
FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR ( Last error reported by the step :Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.). -
Where can i find mysql Jdbc driver for linux
Hi all,
Can any one give urls to download mysql jdbc driver for linux.
And also for ODBC DRIVER FOR MYSQL ON LINUX.
Thankshttp://mmmysql.sourceforge.net/
(This is a type 4 driver, so "for Linux" is irrelevant.)
Maybe you are looking for
-
Pricing in SAP Retail: Basic Purchase Price in UOM for the VKP5
Dear Community, We need that in the SAP Retail pricing (VKP5 transaction), the Basic Purchase Price can be transferred to condition record for PB00 in the Purchase Order Unit of Measure instead of Sales Unit of Measure. Thanks in advance for your hel
-
Req:Download of purchase order item details using ALV oops
Hi all, How to download the purchase order item details using ALV oops from the output of header details
-
Hi, can we validate the clearing functions F-03, F-32, F-44 for certain document types? We want to make sure that DocType 'ZL','ZG','ZS','ZI' can't be cleared with regular document types like 'KR','SA' etc. what we can write in prerequisite and che
-
Documentation for doc literal processing
I'm struggling with an existing that uses doc literal services, but I can't get it to work in oc4j 10g preview. I've tried the doc_lit demo that Oracle provides -- loading the WSDL from the original source (ws-i.org) works fine, but trying to load it
-
Server switches on automatically after shutdown
We always shutdown our server for some electrical problem. but now We are facing a problem in our server which is automatically switched on after two hours.