Linux 7.1 & J2SDK ver 1.4 [Urgent]
Hi,
i have intalled J2SDK ver 1.4 successfully. but when i run java it gives the following error. if some one know about this please tell, it is very urgent .....
Error: failed /usr/java/jdk1.4/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot load shared object file: No such file or directory
Regards
make sure that all your files have been unzipped correctly.. then run javadoc first thereafter run the compiler ok if u dont come rite try the helpdesk or the feedback..... read the manual properly.............c ya gotta go
Similar Messages
-
How to install Apache on Red Hat Linux Server-5.....Urgent Reply
I have rhel-5 and i need to instal apache on that.I dont have any idea about that.
Someone please explain step by step how to proceed with it.944096 wrote:
I have rhel-5 and i need to instal apache on that.I dont have any idea about that.
Someone please explain step by step how to proceed with it.why is it URGENT for me to provide you with any assistance?
when all else fails Read The Fine Manual
http://www.oracle.com/pls/db112/portal.portal_db?selected=11
Handle: 944096
Status Level: Newbie
Registered: Jul 2, 2012
Total Posts: 10
Total Questions: 6 (5 unresolved)
why do you waste time here when you rarely get your questions answered? -
How to install j2sdk into Suse Linux
How to install the j2sdk-1_4_0_03-linux-i586.bin into Suse Linux 8.1
I done it like this:
user@linux:~> chmod a+x j2sdk-1_4_0_03-linux-i586-rpm.bin
user@linux:~> ./j2sdk-1_4_0_03-linux-i586-rpm.bin
accept licence
user@linux:~> rpm -iv j2sdk-1_4_0_03-fcs-linux-i586.rpm
so its installed but not linked
i install the sdk1.3.x from my suse cd so it create a java2.conf file in /etc/java/
and change it to:
# Configuration for java2 package
Priority: 60
Vendor : Sun
Version : 1.4.0
Devel : True
JAVA_BINDIR = /usr/java/j2sdk1.4.0_03/bin
JAVA_ROOT = /usr/java/j2sdk1.4.0_03
JAVA_HOME = /usr/java/j2sdk1.4.0_03
JRE_HOME = /usr/java/j2sdk1.4.0_03/jre
JDK_HOME = /usr/java/j2sdk1.4.0_03
SDK_HOME = /usr/java/j2sdk1.4.0_03
JAVA_LINK = j2sdk1.4.0_03
be sure that CREATE_JAVALINK in sysconfig is set to yes
else edit it in yast->system->Editor /etc/sysconfig
after that i uninstall jre1.3.x and sdk1.3.x
and it works
good luck -
Sos: deploying developer forms on linux ----- urgent!!!!!
have a problem in deploying developer forms on linux.
how do i do that?
urgent!!!!!!!!!!!!!!!!!!!!!!!You must compile a form under Linux.
To do that, you must have Developer/Server for Linux. After installing it, in $ORACLE_HOME/bin there will be a compiler - f60genm -
SAP Installation java error package j2sdk-1_4_2_16-fcs is already installed
Hi All,
I need one help.
I am trying to install SAP ECC 6.0 in REDHAT Linux 5.0 and Database Oracle 10.2.
I have downloaded the below two java files
j2sdk-1_4_2_16-linux-i586.bin
j2sdk-1_4_2_16-linux-i586-rpm.bin
I uncared the file j2sdk-1_4_2_16-linux-i586.bin. Then I searched and come to know we have to install the .rpm file, so I deleted the /java folder (perhaps a mistake, I didn't use the uninstall command).
Then I uncared the file j2sdk-1_4_2_16-linux-i586-rpm.bin and tried to run the below rpm command to install the java package. Now I am getting the below response
rpm -iv j2sdk-1_4_2_16-linux-i586.rpm
Preparing packages for installation...
package j2sdk-1_4_2_16-fcs is already installed
Please help me how correct this error.
I searched and found the below command to replace the already installed java file, with the new file.
rpm -iv --replacepkgs j2sdk-1_4_2_16-linux-i586.rpm
but it does not worked facing the below error
--replace:unknownoption.
Please help me, thanks.
Thanks,
Senthil.Hi,
Please, install correct version of sdk 1.4.2:
https://service.sap.com/sap/support/notes/716604
And check thread Re: SAP ECC-6.0 in Suse Linux 10 sp1 for uninstallation info.
Best Regards,
Aleh
Edited by: Aleh Mikhniuk on Mar 23, 2011 9:34 AM -
hello frnds...i have installed oracle 10g in ubuntu 11.04....now i want to make database connection between java and oracle...so how can i do it??i know the java code..but the main problem is database driver..how can i give the classpath for specific jdbc dirver...pls tell me the steps to set classpath for jdbc driver...
thnx in advance..884540 wrote:
hello frnds...i have installed oracle 10g in ubuntu 11.04....now i want to make database connection between java and oracle...so how can i do it??i know the java code..but the main problem is database driver..how can i give the classpath for specific jdbc dirver...pls tell me the steps to set classpath for jdbc driver...
thnx in advance..You can mention the classpath using the javac and java options:
javac -cp .;<path> <ClassName>.java
and
java -cp .;<path> <ClassName>
Or refer the below link to avoid mentioning classpath everytime you run/ compile the program
http://www.linuxquestions.org/questions/linux-software-2/j2sdk-install-174483/#post898715 -
Problem in installing j2sdk on cygwin-a-top-windowsXP
Sir/madam,
I have cygwin installed on windowsXP. I am new to java. I needed j2sdk for a program and I downloaded the Linux .bin file "j2sdk-1_4_2_07-linux-i586-rpm.bin". I tried to use "./ " installation method as suggested on the site, but got the following messeges after agrreeing to licence terms:
trap: bad signal HUP
Unpacking..
Checksumming...
0
0
Extracting...
./install.sfx.924 not found
Done
But nothing was installed in the folder where I ran this command. Please tell me the solution at the earliest. Whether I downloaded the wrong file for Cygwin-win installation or something else is there. I have even tried the simple bin file but same problem exists.
Thanking in advance.
Rohit ThakkarPerhaps when flaming about what cygwin is or is not one should consider how it is used. Some folks take their unixy source and compile it, linking with the cygwin dll. But others of us live in a bash or ksh shell in an xterm, all UNDER CYGWIN ON WINDOWS. The problems folks have is that so many proprietary...uh...things, like Javac/java have hard coded methodologies, such as depending on a %PATH% vs. $PATH...Slash vs. backslash. Here's what is probably what should be known by you superdeduper portablility language lovers:
java -classpath `cygpath -wp $CLASSPATH` [arguments]
or
java -classpath $(cygwath -wp $CLASSPATH) GoodByeCruelWorld.class
Man page for cygpath...
CYGPATH(1) CYGWIN CYGPATH(1)
NAME
cygpath - Convert Unix and Windows format paths, or output system path
information
SYNOPSIS
cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
cygpath [-c HANDLE]
cygpath [-ADHPSW]
OPTIONS
Output type options:
-d, --dos
print DOS (short) form of NAMEs (C:\PROGRA~1\)
-m, --mixed
like --windows, but with regular slashes (C:/WINNT)
-M, --mode report on mode of file (currently binmode or
textmode)
-u, --unix
(default) print Unix form of NAMEs (/cygdrive/c/winnt)
-w, --windows
print Windows form of NAMEs (C:\WINNT)
-t, --type TYPE
print TYPE form: 'dos', 'mixed', 'unix', or 'windows'
Path conversion options:
-a, --absolute
output absolute path
-l, --long-name
print Windows long form of NAMEs (with -w, -m only)
-p, --path
NAME is a PATH list (i.e., '/bin:/usr/bin')
-s, --short-name
print DOS (short) form of NAMEs (with -w, -m only)
System information:
-A, --allusers
use `All Users' instead of current user for -D, -P
-D, --desktop
output `Desktop' directory and exit
-H, --homeroot
output `Profiles' directory (home root) and exit
-P, --smprograms
output Start Menu `Programs' directory and exit
-S, --sysdir
output system directory and exit
-W, --windir
output `Windows' directory and exit
Other options:
-f, --file FILE
read FILE for input; use - to read from STDIN
-o, --option
read options from FILE as well (for use with --file)
-c, --close HANDLE
close HANDLE (for use in captured process)
-i, --ignore
ignore missing argument
-h, --help
output usage information and exit
-v, --version
output version information and exit
DESCRIPTION
The cygpath program is a utility that converts Windows native file-
names to Cygwin POSIX-style pathnames and vice versa. It can be used
when a Cygwin program needs to pass a file name to a native Windows
program, or expects to get a file name from a native Windows program.
Alternatively, cygpath can output information about the location of
important system directories in either format.
The -u and -w options indicate whether you want a conversion to UNIX
(POSIX) format ( -u) or to Windows format ( -w). Use the -d to get
DOS-style (8.3) file and path names. The -m option will output Win-
dows-style format but with forward slashes instead of backslashes.
This option is especially useful in shell scripts, which use back-
slashes as an escape character.
In combination with the -w option, you can use the -l and -s
options to use normal (long) or DOS-style (short) form. The -d option
is identical to -w and -s together.
Caveat: The -l option does not work if the check_case parameter of
CYGWIN is set to strict, since Cygwin is not able to match any Win-
dows short path in this mode.
The -p option means that you want to convert a path-style string
rather than a single filename. For example, the PATH environment vari-
able is semicolon-delimited in Windows, but colon-delimited in UNIX.
By giving -p you are instructing cygpath to convert between these
formats.
The -i option supresses the print out of the usage message if no file-
name argument was given. It can be used in make file rules converting
variables that may be omitted to a proper format. Note that cygpath
output may contain spaces (C:\Program Files) so should be enclosed in
quotes.
cygpath usage
#!/bin/sh
if [ "${1}" = "" ];
then
XPATH=".";
else
XPATH="$(cygpath -w "${1}")";
fi
explorer $XPATH &
The capital options -D, -H, -P, -S, and -W output directories used
by Windows that are not the same on all systems, for example -S might
output C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM. The -H shows the Win-
dows profiles directory that can be used as root of home. The -A
option forces use of the "All Users" directories instead of the cur-
rent user for the -D and -P options. On Win9x systems with only a
single user, -A has no effect; -D and -AD would have the same out-
put. By default the output is in UNIX (POSIX) format; use the -w or
-d options to get other formats.
COPYRIGHT
Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
Red Hat, Inc.
Cygwin is Free software; for complete licensing information, refer to:
http://cygwin.com/licensing.html
MAINTAINER
This man page was written and is maintained by Joshua Daniel Franklin,
[email protected]
SEE ALSO
The full documentation to the Cygwin Utilities is maintained on the web
at:
http://cygwin.com/cygwin-ug-net/using-utils.html
The website is updated more frequently than the man pages and should be
considered the authoritative source of information.
2006 Aug 09 CYGPATH(1) -
Hi,
I need the JMS C API for Linux to connect to WLS(WebLogic Server).
Please let me know whether it is available for linux or not.
Thanking you in anticipation.
regards,
Subodh
Hi Tom,
Thanks a lot for the reply ,actually customer has a deadline ,earlier they were
using JMS C api for windows for using WebLogic JMS ,now they are moving to Linux
,so they need JMS C api urgently.
Please help me ,if possible try to escalate it.
Again,thanks a lot.
regards,
Subodh
Tom Barnes <[email protected]> wrote:
>Also note that there are several ways to contact
>WL from C without using JMS.
>
>Subodh Kumar wrote:
>> Hi,
>>
>> I need the JMS C API for Linux to connect to WLS(WebLogic Server).
>>
>> Please let me know whether it is available for linux or not.
>>
>> Thanking you in anticipation.
>>
>> regards,
>> Subodh
>>
>>
>
-
Difference in read/write between Windows Vs Linux
Hi,
Can you please write, whether it is a bug or my ignorance. I thought, if a java program runs in Windows then it will run in other platform too, without editing any code. It proved me wrong. So is it a bug?
Ref: Fedora linux version 5
Kernel ver. 2.6.17
jdk version - build 1.5.0_06-b05
I was working on a web service. The server side program connects to an application using socket program and sends back data to client.
While it was working very fine with Windows XP. When I moved the service to Linux (above said linux). The program stopped working. When I explored it, I found 3 things.
1. I was using PrintWriter
PrintWriter outputStream = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()), true);
to write into the socket. It works fine in Windows but not in Linux. ie. it sends different bytes in linux. Thus fails. When I changed it to BufferedOutputStream it works fine.
BufferedOutputStream outputStream = new BufferedOutputStream (socket.getOutputStream());
2. I was using BufferedReader to read
BufferedReader inputStream = new BufferedReader(new InputStreamReader(socket.getInputStream()));
data from socket. It reads. But byte varies from expectation. The same program works very well with windows.
I used DataInputStream now. that works. but..
DataInputStream inputStream = new DataInputStream(socket.getInputStream());
3. While reading it was suppossed to read 2098 bytes, instead it reads 1448 bytes. It reads correctly in Windows, but not in the above said linux.
Is it a bug or there is a difference in reading and writing from socket between Windows and Linux ( even though it is same JVM).
Thanks
Sasi.Thanks a lot for both of you.
I believe, \r\n Vs \n could not be the reason.
Because, I was sending binary data.Then you should not be using Writer at all!
>
With regard to "utf-8", I thought of that but I did
not try to issue it in the function. Because, I was
trying to send and receive raw binary data.Then you should not be using Writer at all!
>
Now, You may ask that why did you use PrintWriter.
Because, the data had unsigned byte values. Makes no difference - you should not be using Writer at all!
So I
converted everything in to char array and send it.Will cause you problems at some point on some platform unless you use Base64 or HEX encoding.
especially, whereever unsigned byte was required, I
used (byte & Oxff). It worked very well with
Windows. So I just go ahead doing other things.I use byte & 0xff for dealing with unsigned valued but your use sounds dangerous.
>
Here my question is, I assumed that if a program is
written in java and complied on jvm x, then
irrespective of the underlying OS, if the jvm is the
same x, then the program should run without error. Is
it wrong. If it is not wrong, then is it a jre bug?Your program will work if you have not used any implicit or explicit platform dependencies. For example, if in your program then you have hard codes a path as "C:\Program Files" then it will work on Windows (but then only if it has a C drive) but not on Unix.
Any program has to deal with a number of platform specific features and Java protects you from them as much as possible BUT you must deal with things like Locale, EOL and default character encoding.
No! Of course it is not a jre bug. You have coded to a specific platform and are then are suprised when it fails on other platforms.
>
Did you see my third point of my original problem
statement. How to solve that.Since I don't have a view of your code I can't make an informed comment. I think I can guess what the problem is but I won't speculate. -
LINUX wls 6.0 sp2 & jdk 131 - Unable to start the Server - Segmentation fault
Facing problems in starting a weblogic 6.0 server with service pack 2 for Linux.
OS: RedHat7.0
BEA WLS version : 6.0
Service pack : SP2
JDK version : jdk1.3.1
When starting the startWebLogic.sh, it fails to start up completely and ends in
a
"startWebLogic.sh line 142 13834 Segmentation fault".
( After taking in the valid password for the system).
Putting the verbose flag in the start-up script seems to see if it gave any clue,
teh last class loaded was the weblogic.apache.xerces.utils.StringHasher .
Does anyone have ideas as to what the cause maybe.
Is there a patch that is needed/known problem.
Any help would be appreciated.
Thanks
ShyamPlease read the Linux install notes for JDK 1.3.1.
http://java.sun.com/j2se/1.3/install-linux-sdk.html
I'll paste the relevant parts:
Known Problems
RedHat Linux 6.2 is the officially supported Linux platform for J2SDK 1.3.1.
Limited testing has been done on other Linux operating systems, and the
following are known problems on the non-supported platforms.
a.. If you use Red Hat Linux 7, we recommend version 7.1 rather than 7.0.
Limited testing has revealed problems when using J2SDK with Red Hat Linux
7.0, some of which are described below.
b.. The newer glibc-2.2.x libraries cannot correctly handle initial thread
stack sizes larger than 6 MB. This can cause a segmentation fault on come
Linux platforms that use the newer libraries. Such platforms include Red Hat
7.0, Mandrake 8.0, SuSe 7.2, and Debian 2.2. The problem will not occur on
Linux platforms that are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It
will also not affect Red Hat 7.1 because it uses a different thread stack
layout. This problem is being tracked as bug 4466587.
Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048"
in tcsh to limit the initial thread stack to 2 MB.
c.. When System.exit(int) is invoked on Red Hat 7.0, the program never
exits with a non-zero value. This problem is apparently due to a bug in the
exit function in libc.so library. To avoid this problem, use the supported
Red Hat release, version 6.2, or, if you want to use Red Hat 7, use version
7.1 rather than 7.0.
d.. On RedHat Linux 7.0, if you want to use the Classic VM rather than one
of the Java HotSpot VMs in J2SDK 1.3.1, you must download and install
glibc-2.2-9.i386.rpm file available at
http://www.redhat.com/support/errata/RHBA-2000-079.html. Do not install the
i686 files available on that same web page, as those will prevent proper
functioning of the Java HotSpot VMs in J2SDK 1.3.1.
e.. If you use RedHat Linux 7 Server, you must manually install
compat-libstdc++-6.21-2.9.0.0.i386.rpm to prevent "error while loading
shared libraries" when using the Java HotSpot VMs. This file is located in
the /RedHat/RPMS directory on the RedHat Linux 7 CD-ROM. You may also obtain
a copy of this file from http://rpmfind.net. To install the file, use this
command:
rpm --install compat-libstdc++-6.21-2.9.0.0.i386.rpm
It is not necessary to manually install
compat-libstdc++-6.21-2.9.0.0.i386.rpm if you are using RedHat Linux 7
Workstation.
f.. When using RedHat Linux versions other than 6.1, the font.properties
file may fail to display some Symbol/Dingbats characters properly on some
AWT components. To correct this, use this revised font.properties file to
replace the one at <JAVA_HOME>/jre/lib/.
g.. Caldera OpenLinux uses version 2.1.2-3 of glibc. Because that version
is not greater than or equal to 2.1.2-11, the Java 2 SDK's rpm installer
will fail during its dependency check. We recommend that you obtain an
updated version of the glibc library available from Caldera at the following
locations:
ftp.caldera.com:/pub/updates/eDesktop/2.4/current/RPMS
or
ftp.caldera.com:/pub/updates/eServer/2.3/current/RPMS
Regards,
Eric
"root" <[email protected]> wrote in message
news:[email protected]...
I am having the same problem , Changing the bash stack size even to 16kdidn't help;
>
RedHat 7.0, WebLogic 6.1, JDK1.3.1, have bumped ss , and mx as well as thebash
ulimit ,
Any Ideas .. I see other posts on the same topic. ..verbose load ends withsame
weblogic.apache.xerces.utils.StringHasher.class
as ther have reported.
sundaram wrote:
Facing problems in starting a weblogic 6.0 server with service pack 2
for Linux.
>>
OS: RedHat7.0
BEA WLS version : 6.0
Service pack : SP2
JDK version : jdk1.3.1
When starting the startWebLogic.sh, it fails to start up completely andends in
a
"startWebLogic.sh line 142 13834 Segmentation fault".
( After taking in the valid password for the system).
Putting the verbose flag in the start-up script seems to see if it gaveany clue,
teh last class loaded was the weblogic.apache.xerces.utils.StringHasher.
>>
Does anyone have ideas as to what the cause maybe.
Is there a patch that is needed/known problem.
Any help would be appreciated.
Thanks
Shyam -
Need to write start up scrits for weblogic admin server on Linux
Hi,
I am new to weblogic i have Installed wls1035 on Linux Created Managed servers,but i want write start up and stop scripts for weblogic admin server please let me know how to write.
My weblogic server is Running on Linux..please help me its very urgent for me.....Put something like this into a startAll.py file (excluding the ---):
startNodeManager(verbose='false',NodeManagerHome=localWlsHome + '/common/nodemanager',ListenPort=5556,ListenAddress=localhost)
nmConnect('weblogic','password','localhost','5556','domain_name')
nmStart('AdminServer','/path-to-domain-dir')
nmStart('my_server_1','/path-to-domain-dir')
nmStart('my_server_2','/path-to-domain-dir')
nmDisconnect()
exit()
source /path-to-domain-dir/bin/setDomainEnv.sh
$JAVA_HOME/bin/java weblogic.WLST startAll.py
Similar for stop (stopAll.py):
nmConnect('weblogic','password','localhost','5556','domain_name')
nmKill('my_server_1')
nmKill('my_server_2')
nmKill('AdminServer')
stopNodeManager()
exit()
source /path-to-domain-dir/bin/setDomainEnv.sh
$JAVA_HOME/bin/java weblogic.WLST stopAll.py
You might have issues with the Nodemanager having an autogenerated username and password. That can be fixed like this:
In the AdminServer console, click on Lock & Edit
In the AdminServer console, go to <domain> -> Security -> General -> Advanced and update the Node Manager username and password to use the same values as the WebLogic server.
In the AdminServer console, apply the changes.
Start WLST: $WL_HOME/common/bin/wlst.sh
Connect to the AdminServer: connect('weblogic','password','t3://<adminserver-hostname>:<adminserver-port>')
Enroll: nmEnroll('/path-to-domain-dir')
Exit WLST: CTRL^D
You might also look into customizing the nodemanager's property file:
Edit $WL_HOME/common/nodemanager/nodemanager.properties
StopScriptEnabled=true
CrashRecoveryEnabled=true
StartScriptEnabled=true
For further reading, please take a look at: http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/reference.html
Edited by: 925121 on Apr 3, 2012 2:16 AM -
How to install Linux .rpm.bin
Downloaded Linux Java release, j2sdk...rpm.bin. Can't find anything willing to process a bin file. Know how to use console rpm or Gnome RPM, but neither will touch a bin file. What to do? Thanks.
Discovered in other forum queries that bin file is simple executable. As suggested, did "chmod +x j2sdk...rpm.bin", then executed it. All is well. Thanks.
-
Novell Linux Small Business Suite based SLES9 - IBM X3200M3
Good day,
We need migrate our Novell Linux Small Business Suite ver 9.0 to new hardware, especifically IBM X3200 M3.
How to proceed to allow installing in IBM system?
Thanks for your time
Regards,
Juan L. Merajmera,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Error while querying the external tables in 9i
i am working on a project on Oracle 9iR2 on Linux AS 3.0, i am in urgent need to port my data in text files for using in the DB
I have created an external table using the following script. While executing a query it gives the following error. Pls Hlp
create table ap_info_ex
(ser_no number(7),
no_of_sps number(1),
hpy_liq_mm number(2),
rmp_rnk_cd number(1),
ir number(3),
dps_flg varchar2(1))
organization external
(type oracle_loader
default directory aps_jul
access parameters (records delimited by newline
fields terminated by ","
(sno char,
no_sps char,
hpy_mm char,
rmp_rnk char,
ir char,
dpsflg char))
location ('info.txt'));
Table has been created successfully
but when i execute a query say
select * from ap_info_ex;
THIS IS THE ERROR MESSAGE I AM GETTING
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file AP_INFO_EX_6151.log
OS error Permission denied
ORA-06512: at "SYS.ORACLE_LOADER", line 14
ORA-06512: at line 1
hope you would help me. i am greateful for that.Arun,
Here are the things you could do.
1. You may want to specify a logfile in your access parameters using the command 'logfile'.
For example,
logfile 'info.log'. You could create the file in advance and provide appropriate permissions to the operating system user(In unix, I use the commands 'touch' and 'chmod').
2. You could specify the command
'NOLOGFILE' in your access parameters.
3. Provide permissions for the user to create files in the folder associated with the directory object 'aps_jul'. -
To access pdf files from application server using web.show_document
Hello!
If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
Regards
JayashreeHi Sandeepmsandy,
There is no available code sample for this scenario. You may write your own.
Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
Step 2: Use some special classes to get file from serer.
HttpWebRequest can help download small pdf files. For more information to see
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.
Maybe you are looking for
-
Link between Prod Order and Sale Order schedule line
Dear all, Ours is a MTO (81). In Scheduling Agreement / Sale Order , there are multiple schedule lines for a single item . Production Orders are generated for every schedule line of the Item. The client wants to know (for a custom developed report) ,
-
Hp slate 7 voice tab, kitkat update
I have this problem with my hp slate 7 voice tab. When I installed the kitkat update, my tablet kept on rebooting and then it stops and shows options or ways I could fix the issue. I tried every single option and it still does not work. I have been w
-
Carriage return in TextArea Flash component in Director 11
Hello. I have a very big problem now Neither embedded Flash movies with textareas or standard flashcomponent TextArea from Director tool pallete do not react on keyboard button "Enter" pressings. There is no carriage return after ENTER button is pres
-
Error Extending eDirectory Schema for Radius in iManager
I am working on integrating eDirectory with FreeRADIUS on our OES 11 SP2 servers. I have been following all the steps in the "Integrating Novell eDirectory with FreeRADIUS" guide located here: https://www.netiq.com/documentation/edir_radius/. I did n
-
Hello all, I'm using the software "Imtoo DVD to Ipod" to convert my DVD's. When this is done I've got 1 (video) file, that I upload in Itunes and put on my Ipod. Now is my question: is it also possible to convert a DVD to one file but with chapter???