Fileupload issue - Unix
We use Forms 9.0.2, Jinitiator 1.3.1.8 on Sun Solaris 2.9. I had downloaded the forms demos 9i and got the uploadserver.jar and uploadclient.jar files - created a form with the bean as mentioned in the docs. The form works fine in Windows XP but fails in unix with the ORA-105100 error. Does anybody know if there is a fix to this problem. Everywhere I read in metalink, it talks about PATH and CLASSPATH. Looks like my path is properly set, since I see the uploadclient.jar file gettin loaded properly in Jinitiator. After I click on the button, the client dialog box opens, the progress bar appears and finally throws up this error.
Can anyone help please?
Is not a new feature and not really a bug, but rather a security change that they have cleaned up code and removed the ability to use UniversalXPConnect that made it possible in older Firefox versions to get enhanced privileges.<br />
That is no longer possible, so any code that relies on it will fail silently.<br />
You will now require an extension to run any code that requires enhanced XPCOM permissions.
Similar Messages
-
Code page issue - Unix file(s) content display in a report output
Hi All,
I am trying to retrieve file from Unix server and display in my report output.
I have written code as below:
OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
DO.
READ DATASET filename INTO i_tab-line.
ENDDO.
CLOSE DATASET.
1. Now i am able to display files of type .txt in report output but with line numbers above each line.
How can i avaoid it! I want to display as it looks in AL11 view.
2. If i am displaying files of type .PDF it is giving dump with below message:
A character set conversion is not possible.
At the conversion of text from code page '4110' to '4102' is not possible.
- a character was found that cannot be displayed in one of the two code pages;
- or it was detected that this conversion is not supported.
How can i display the .PDF (or) all types of files in my report as it is viewable in AL11.
Can anybody solve this this.
I have tried UTF-8 & NON-UNICODE options with ENCODE also they are also giving same dump.
Can anybody resolve these issues!
Thanks in advance.
Thanks,
Deep.Hi All,
Any resolution for above posted issue!
Thanks,
Deep. -
Issueing unix command from java
I am using FTPConnection.java by Bret Taylor, for uploading files to remote linux portal. But i cannot issue any unix command from it . please anyone help me in this case?
Read this:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
It'll explain it all. - MOD -
Hi,
After having read a few of the more than hundred postings regarding the fileupload utility - can anyone clarify
if this configuration can be made working:
jinit 1.3
forms6i(patch10)
forms listener on unix (linux)
fileupload pjc 6i or 9i code (self signed)
Currently - I have tried followed the instructions for configuring the server
PATH=$ORACLE_HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/jre/lib/i386/classic:$PATH
CLASSPATH=$ORACLE_HOME/forms60/java:$ORACLE_HOME/lib/importer.jar:$JAVA_HOME/jre/lib/rt.jar:$ORACLE_HOME/forms60/java/UploadServer.jar:$CLASSPATH
I'm able to import the certificate
Run the demo-form
Get CLASSPATH in the message area
select a file
start the fileupload (java console is showing<FILEUPLOAD>chunks ....</FILEUPLOAD> - Then I'm getting ORA-105101 and no file is uploaded.
Following ( Metalink note 134022.1) For
Linux Intel I have added to Variable name: LD_LIBRARY_PATH
$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/classic: $JAVA_HOME/jre/lib/i386/native_threads
But doing so is giving me the following error when starting up the forms listener
oracle.forms.servlet.ListenerServlet/Forms session <1> aborted: runtime process failed during startup with errors /opt/oracle/product/1.0.2/6iserver/bin/f60webm: error while loading shared libraries: libiplsn.so.0: cannot load shared object file: No such file or directory
-- file exists in path
When modifying ld_library_path I cannot start the forms listener process successfully - have tried various combinations of the listed libraries but no joy so far
I'm using 1.3 but have also tried 1.2.2 with same result.
Has anyone any positive experience on unix (Linux) to share ?You guess right again. The file is a text file.It wasn't really a guess, I knew it would have been.
If I replace all the \r\n with \n, does the file have
a problem on window?Yes, but sometimes not. Some applications for viewing the files will have no problem understanding the \n as a new line. But Notepad will just display a box where the \n is instead.
Do you know any simple way to replace all the \r\n
with \n?
I am new for dos2unix utility, can i execute command
inside my code(servlet or java class)?You can use Runtime.exec() to execute commands, you'd need to know what the parameters are... I'm not sure offhand.
You could also write some Java code...
File f = new File("thefile.txt");
File tmp = new File(f.getName() + ".tmp");
BufferedReader in = new BufferedReader(new FileReader(new File(f)));
PrintWriter out = new PrintWriter(new FileWriter(new File(tmp)));
String line = "";
while((line = in.readLine()) != null) { // doesn't matter what line end chars, it'll be handled correctly
out.print(line);
out.print("\n");
out.flush();
out.close();
tmp.renameTo(f);You could easily make a method of that to take a file and the line-end chars you want to use. But keep in mind that if you do this operation on a non-text file, like an image or word document, you will definitely mess up the file because non-text formats don't really have "lines". -
We use Forms 9.0.2, Jinitiator 1.3.1.8 on Sun Solaris 2.9. I had downloaded the forms demos 9i and got the uploadserver.jar and uploadclient.jar files - created a form with the bean as mentioned in the docs. The form works fine in Windows XP but fails in unix with the ORA-105100 error. Does anybody know if there is a fix to this problem. Everywhere I read in metalink, it talks about PATH and CLASSPATH. Looks like my path is properly set, since I see the uploadclient.jar file in loaded properly in Jinitiator. After I click on the button, it opens the client dialog box, the progress bar appears and finally throws up this error. Can anyone help please?
I read in one of Duncan's response to the same error in one of the threads as below:
"Once you have that working you'll find that the File-upload probably fails with an ora-105100 error this is due to a bug in the Java importer on Unix - it may effect linux as well - if so there is nothting you can do until that is fixed. (2550330) "
Is there a solution to this problem or no ? Please let me know of how we can proceed ? We are totally stuck with this issue for quite some time now.
Any help will be greatly appreciated.
Thanks,
Anita.Hi,
Refer below links:
http://oraclearea51.com/premium-content/32-technical-articles/oaf-beginners-guide/288-adding-attachments-in-a-oaf-page.html
http://apps2fusion.com/at/85-daxesh/516-oa-framework-attachment-region
--Sushant -
Reg. JSF fileUpload | issue with t:inputFileUpload tag
Hi,
i am new to JSF and i am trying a simple file upload function using the <t:inputFileUpload> tag. But iam always getting the error in JSP compilation. Please help in resolving this issue.
My project require to use to the Spring/JSF and i am using the following jar file in the WEB-INF/lib
aopalliance-1.0.jar
aopalliance-alpha1.jar
aspectjweaver-1.5.0.jar
cglib-nodep-2.2.jar
commons-beanutils-1.8.3.jar
commons-collections-2.0.20020914.020746.jar
commons-dbcp-1.2.2.jar
commons-digester-2.0.jar
commons-el.jar
commons-fileupload-1.1.1.jar
commons-lang-2.5.jar
commons-logging.jar
commons-pool-1.4.jar
javaee.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
myfaces-extensions-1.0.9.jar
ojdbc14.jar
org.springframework.aop-3.0.2.RELEASE.jar
org.springframework.asm-3.0.2.RELEASE.jar
org.springframework.aspects-3.0.2.RELEASE.jar
org.springframework.beans-3.0.2.RELEASE.jar
org.springframework.context.support-3.0.2.RELEASE.jar
org.springframework.context-3.0.2.RELEASE.jar
org.springframework.core-3.0.2.RELEASE.jar
org.springframework.expression-3.0.2.RELEASE.jar
org.springframework.instrument.tomcat-3.0.2.RELEASE.jar
org.springframework.instrument-3.0.2.RELEASE.jar
org.springframework.jdbc-3.0.2.RELEASE.jar
org.springframework.jms-3.0.2.RELEASE.jar
org.springframework.orm-3.0.2.RELEASE.jar
org.springframework.oxm-3.0.2.RELEASE.jar
org.springframework.test-3.0.2.RELEASE.jar
org.springframework.transaction-3.0.2.RELEASE.jar
org.springframework.web.portlet-3.0.2.RELEASE.jar
org.springframework.web.servlet-3.0.2.RELEASE.jar
org.springframework.web.struts-3.0.2.RELEASE.jar
org.springframework.web-3.0.2.RELEASE.jar
spring-dao-2.0-rc1.jar
standard.jar
tiles-api-2.1.4.jar
tiles-core-2.1.4.jar
tiles-jsp-2.1.4.jar
tomahawk12-1.1.9.jar
Logs:
====
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 15 in the jsp file: /pages/dataupload/fileUpload.jsp
The method setValue(String) in the type UIComponentTagBase is not applicable for the arguments (JspValueExpression)
12: <body>
13: <f:view>
14: <h:form id="welcomeForm" enctype="multipart/form-data">
15: <t:inputFileUpload id="fileupload" value="#{fileUploadForm.upFile}"
16: size="20" /><p/>
17: <h:commandButton value="Load the file" action="#{fileUploadForm.upload}" />
18: <t:outputText value="File Uploaded Successfully."
An error occurred at line: 15 in the jsp file: /pages/dataupload/fileUpload.jsp
The method setSize(String) in the type HtmlInputFileUploadTag is not applicable for the arguments (JspValueExpression)
12: <body>
13: <f:view>
14: <h:form id="welcomeForm" enctype="multipart/form-data">
15: <t:inputFileUpload id="fileupload" value="#{fileUploadForm.upFile}"
16: size="20" /><p/>
17: <h:commandButton value="Load the file" action="#{fileUploadForm.upload}" />
18: <t:outputText value="File Uploaded Successfully."
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:542)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)Hi,
But i have defined my upFile as a org.apache.myfaces.custom.fileupload.UploadedFile. So that i can use this object for retieving the uploaded file contents.
i am using JSF and tomahawk here to aceive that...but i am ending with the same error. please help.
Code for the File Upload:
===================
import java.io.IOException;
import java.io.InputStream;
import org.apache.myfaces.custom.fileupload.UploadedFile;
public class FileUploadForm {
private UploadedFile upFile;
boolean rendSuccess=false;
boolean rendFailure=false;
public FileUploadForm(){
public UploadedFile getUpFile(){
return upFile;
public void setUpFile(UploadedFile upFile){
this.upFile = upFile;
public boolean getRendSuccess(){
return rendSuccess;
public void setRendSuccess(boolean rendSuccess){
this.rendSuccess = rendSuccess;
public boolean getRendFailure(){
return rendFailure;
public void setRendFailure(boolean rendFailure){
this.rendFailure = rendFailure;
public String upload() throws IOException{
try {
InputStream stream = upFile.getInputStream();
long size = upFile.getSize();
byte [] buffer = new byte[(int)size];
stream.read(buffer, 0, (int)size);
stream.close();
rendSuccess=true;
rendFailure=false;
System.out.println("File Upload Successful.");
return "ok";
catch (Exception ioe) {
System.out.println("File Upload Unsuccessful.");
rendSuccess=false;
rendFailure=true;
return "no";
} -
Fileupload issue. Unable to get the full local directory path of the file uploaded
Fileupload Applet Issue with Firefox 15:
When uploading a file using our application, file that is being uploaded is hashed using a signed Applet.
This is working fine in IE and FF version lower than FF15.
Signed applet needs to hash file contents but it is is unable to read the full path of the uploaded file, and thus failing.
Applet expects the full path of the file that has been uploaded
Is there any way to get the full file path?Is not a new feature and not really a bug, but rather a security change that they have cleaned up code and removed the ability to use UniversalXPConnect that made it possible in older Firefox versions to get enhanced privileges.<br />
That is no longer possible, so any code that relies on it will fail silently.<br />
You will now require an extension to run any code that requires enhanced XPCOM permissions. -
Issuing Unix commands that expect input
Hi,
Has anyone any experience in doing this?
I have a server side process (Tomcat) running on unix that needs to issue two commands that will then ask for input. One of which is su which when invoked asks for a password.
Davewhats the tasman ?
I use this login because I heard of a funny story about a killing kangaroo. This kangaroo was part of an object-oriented combat simulator, and the (NASA ?) team forgot to remove the combat-code from the kangaroo-object wich were derived from tank-objects. -
Samba share shows up only after I restart samba
I've been setting up a laptop with Arch to use at work and home. The problem is I can not see my samba share until I restart the samba service. The server is available though. I can connect with \\IPADDRESS\SHARE. It's just not listed under Network Places or smbtree.
I have samba under DAEMONS in rc.conf and I've tried starting it in rc.local too. But even if I leave it out of those and start samba manually, I have to restart samba before the share will show up on any client.
The clients are Arch, Windows, and Ubuntu and the share is not available any of them. And the problem happens when I'm at work or at home. I've been googling, but I can't find much about a share being available but not being listed.
My /etc/samba/smb.conf:
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = MYWORKGOUP
# server string is the equivalent of the NT Description field
server string = Work Files
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = user
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0. 192.168.1. 127.
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# you may wish to override the location of the printcap file
; printcap name = /etc/printcap
# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
; printcap name = lpstat
# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
; printing = cups
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
; realm = MY_REALM
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
; passdb backend = tdbsam
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
# this line. The included file is read at that point.
; include = /usr/local/samba/lib/smb.conf.%m
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
dns proxy = no
# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
; add user script = /usr/sbin/useradd %u
; add group script = /usr/sbin/groupadd %g
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
; delete user script = /usr/sbin/userdel %u
; delete user from group script = /usr/sbin/deluser %u %g
; delete group script = /usr/sbin/groupdel %g
# Allow Symlinks (Needed this option after 3.4.6 due to security issues)
unix extensions = no
#============================ Share Definitions ==============================
;[homes]
; comment = Home Directories
; browseable = no
; writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
wins support = no
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; writable = no
; printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = no
; printable = no
; write list = @staff
# Other examples.
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[mike]
comment = Work Files
path = /home/MYUSER/.samba_share
valid users = MYUSER
available = yes
browsable = yes
public = yes
writable = yes
# Needed this option after 3.4.6 due to security issues
wide links = yesI removed the . (and moved the directory to match) but I still have the same issue.
Here's the smbd.log after a rebooting and then restarting samba:
[2010/05/04 07:25:41.262266, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:25:41.266578, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:26:01.041577, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2010/05/04 07:26:21.051370, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2010/05/04 07:26:45.716653, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2010/05/04 07:36:46.016675, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/04 07:36:46.017386, 0] smbd/server.c:500(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
And log.nmbd:
[2010/05/04 07:25:41, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/05/04 07:26:48.718046, 0] nmbd/nmbd.c:71(terminate)
Got SIGTERM: going down...
[2010/05/04 07:27:26, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/05/04 07:27:26.544934, 0] nmbd/nmbd.c:696(open_sockets)
[2010/05/04 07:36:46, 0] nmbd/nmbd.c:857(main)
nmbd version 3.5.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010 -
Open dictionary error from Persuasion 2.1
First of all, I posted this last night, but I put it in the wrong forum, since it was not at all obvious that you had to click on the "Using your Mac (whatever)" in order to post a new question/issue. I think it might be helpful to have that link on the first page that comes up when you select your product. Someone else had a similar problem, and some kind soul gave her a link to enable message posting, so I jumped on that too, and wound up (I should have noticed) posting it in the forum that has to do with monitors for a G5! Sheesh.
The Mac Mini issue is that one of my clients has a G4 Mac Mini running 10.4.11 and Classic. It has 512MBs of RAM. A couple of weeks ago, folders and files started mysteriously disappearing off of his desktop. Sometimes they would reappear, and sometimes a restart was necessary to get them back. Seemed to me to be a Finder problem. My suggestion was to reinstall Tiger, which I did, along with all of the updates to take him to 10.4.11. No more disappearing folders and files.
HOWEVER, a program he has routinely used with no problem since the early 90s suddenly started giving him problems (after I left, of course). It is Aldus Persuasion 2.1. When he would double-click on one of the files created by Persuasion, which he could open before reinstalling Tiger, he gets the following message:
"Open Dictionary. Unable to read the dictionary of the application or extension because it is not scriptable."
Then it quits and the Tiger version of Script Editor starts up with nothing in the box.
Getting info on the file says that it is a Unix executable file. Say what?
I have repaired permissions. I have run Disk Warrior. I have reinstalled OS 9.2.2. I have reinstalled Classic. Still no success.
I had an extra G4 Dome iMac (10.4.11 and 256MBs RAM) and a printer that I loaned him, so he can at least open and print his files. I put his copy of Persuasion on a flash drive and copied it to his wife's computer (G4 Tower, with 10.4.11 and 512MBs RAM). It runs and prints. I have a G4 tower (10.4.11 and 1 gig of RAM). It runs and I assume would print, although I did not try. The Dome iMac runs Persuasion and prints. I have a G3 tower on which it did not run. These are all copies of the one on his Mac Mini, so I do not believe that his copy is corrupted. He is glad that he can at least print some of his files, but does not want two computers in his office. I'm bidding on eBay on a copy of Persuasion 4 for him, in hopes that this will correct the situation.
We know that Persuasion is old, and the guy at Adobe who has worked there for 5 years has never even heard of it, so there is no tech support there.
Other than trying a newer version, I have no more tricks up my sleeve, and I would appreciate ANY suggestions or advice.
Thank you very much!
Cherie+When he would double-click on one of the files created by Persuasion, which he could open before reinstalling Tiger, he gets the following message:+
+"Open Dictionary. Unable to read the dictionary of the application or extension because it is not scriptable."+
+Then it quits and the Tiger version of Script Editor starts up with nothing in the box.+
+Getting info on the file says that it is a Unix executable file. Say what?+
Starting with the last issue (Unix executable) that really just means that the OS doesn't know what program created the file.
It sounds like OSX and Classic no longer are tracking the creator info on those Persuasion files.
Question: If you double-click on the Persuasion program, does it run?
If so, if you do a Get Info on one of the Persuasion files, is there an option to tell it what program you want to use to open it? Can you set it to Persuasion? -
Vista bootmgr compressed VISTA - need command prompt!
I am at wit's end and even though my 8 year old bought his HP G60 with his own money, I am about to hurl it out the window as I wasn't "consulted" and would not have condoned this unfamiliar to me Vista O/S.
All I wanted to do was reset the computer/system to factory defaults. He is gaming now a few years later with nothing important and seemed the quickest way to clean up the PC. I create recovery disks, a NICE LITTLE PROCESS that took 3 entire days. NO JOKE. I had to place every few hours COLD PACKS under and on it because this thing from day one runs hotter then heck.
So voila, it's done. And reboots. And I hope there is some other bored GEEK reading this because I can't find ONE POST on the entire Al Gore Internet that gets me to a command prompt without using install disks. This HP shipped with no install o/s disks. I created the recovery as a safety net, and it's starting over AGAIN and personally, I don't have 3 more days and hot pack maintenance in me before I just buy a new one. PLEASE HELP. It seems simple enough to get to a command prompt and uncompress something I never even intended to compress nor did in any keystroke of my imagination.
He is losing faith in his mother who he believes created MPLS.... got a network problem, I'm your gal. Word won't load, call IT. Windows XP has an issue, UNIX, learning Win7... but this Vista? grrrrrr. Where's the wine for my WHINE?I guess I only said it in the subject. boot gets BOOMGR is compressed. Press Control Alt Del to restart. Tried the normal ways to boot and get into some start up, but seems I need a command prompt to uncompress...
-
Need to replace a file in the application server
Hello Experts,
Through ABAP coding, I need to replace a file which is available in the application server from one path to another. I should not use OPEN DATASET, CLOSE DATASET, DELETE DATASET and all as they deal with the data. I need to replace the file with out touching the data of the file.
Could anyone please help.
I heard that i have to use some UNIX script.
Regards,
SudheerSudheer,
Try this...
WITHOUT TOUCHING THE DATA OF A FILE . . .Just Moving the file ( unix commands in abap )
DATA: command(255) TYPE c,
fnam_sour(255),
fnam_target(255).
fnam_sour = '\hme\usr\interface\..... " path of source file
fnam_target = '\hme\usr\interface\..... " target path, where file to placed.
OPEN DATASET fnam_sour FOR INPUT " fnam_sour -> path of source file...
MESSAGE msg IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc <> 0.
< error msg : no file exits>
else.
OPEN DATASET fnam_target FOR INPUT " fnam_target -> path where file to be placed....
MESSAGE msg IN TEXT MODE
ENCODING DEFAULT.
if sy-surc = 0.
CONCATENATE 'mv' fnam_sour fnam_target INTO command SEPARATED BY
space.
CONDENSE command.
PERFORM uxcmd USING command.
endif.
endif.
*& Form UXCMD
FORM uxcmd USING p_command.
**issue UNIX command by calling system function.
DATA: BEGIN OF itab OCCURS 0,
line(255),
END OF itab.
CALL 'SYSTEM' ID 'COMMAND' FIELD p_command
ID 'TAB' FIELD itab-sys.
ENDFORM. " UXCMD
Regards
Ram -
ORA-27121 on 8.1.6 SE
Hello ALL
A faced the following problem
during installtaion 8.1.6 Standard
Edition on my Debian 2.2
After software installation
database creation failed
I tried to run
createseed.sh manualy and
get ORA-27121: unable to determine size
of shared memory segment
Linux Error: 13: Permission denied
Changing shared pool size from
initial 15M to smallest 3.5M
didn't help
What is wrong?
nullThis is what happened to me just today,but I have experienced the same problem on tru64 unix, with sticky bit not in place for the following files: $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/oracleO. Once you restore those files via tar command (this is what happened to me), the sticky bit disappears, and you have to re-introduce it by issuing unix command: chmod 1777 on those files.
What it does for you - it allows you to execute the sql statements as an oracle user & group!
In other words, if you try to run sqlplus via user / password, you get an error:
ORA-01034:ORACLE not available
ORA-27121: unable to determin size of shared memory segment
Compaq Tru64 UNIX Error: 13: Permission denied
This should not be a problem if you try and execute the same sql statements using listener (connecting to the server by using @ statement).
I hope this helps -
How to call PL/SQL function from JSP ?
We have the JSP application developed using the JDeveloper 3.0. I am trying to call the PL/SQL DB function. I'm trying to use the method of ApplicationModule:
.getTransaction().executeCommand(sCommand)
The problem is that I can not get the function result back to JSP. The executeCommand() does not seem to accept any host variables.
What to do ? Did anyone manage to get the feedback from DB ?
Here is the code in the JSP page:
<%! String res=" ";%>
<jsp:useBean id="rsn"
class="oracle.jbo.html.databeans.TRSRowSetNavigator"
scope="request" >
<%
rsn.initialize(application,session, request,response,
out,"theIMO_trs_bc4J_Bc4JModule.AuctionsListView");
rsn.setReleaseApplicationResources(true);
// this is the ID to be copied
String copy_id = request.getParameter(TRS.LOOK_UP_PK_FIELD);
if( copy_id != null) {
// call the PL/SQL procedure to create copy of this auction
String sCommand = "DECLARE a NUMBER; BEGIN :res:=Copy_Auction("
copy_id"); END;";
rsn.getRowSet().getApplicationModule().getTransaction().executeCommand(sCommand);
rsn.getRowSet().getApplicationModule().getTransaction().commit();
I receive the following error:
Error Message: JBO-27121: SQL error during statement execution. Statement: DECLARE a NUMBER; BEGIN :res:=Copy_Auction(45); END;
JBO Error:JBO-27121: SQL error during statement execution. Statement: DECLARE a NUMBER; BEGIN :res:=Copy_Auction(45); END;: ORA-01008: not all variables bound
What criteria has the host variable meet to be used in the executeCommand(sCommand) method ?
Thanks,
Michael
nullI could be wrong there, but I have experienced similar problem on tru64 unix, with sticky bit not in place for the following files: $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/oracleO. Once you restore those files via tar command (this is what happened to me), the sticky bit disappears, and you have to re-introduce it by issuing unix command: chmod 1777 on those files.
What it does for you - it allows you to execute the sql statements as an oracle user & group!
Otherwise, if this bit is lost, whenever you try to connect to sqlplus via user / password it hits you back with:
ORA-01034 ORACLE not available
ORA-27121 unable to determine size of shared memory segment
Compaq Tru64 UNIX Error: 13:Permission denied
This should not be a problem if you try and execute the same sql statements using listener (connecting to the server by using @ statement).
I could be late in response to you, but maybe not for other people. -
Encountered an internal error in the SSL library
Hi,
We need to harden our environment according CIS standards. After applying those policies I am encountering following issue:
Unix/Linux agents managed by the interal Unix/Linux resource (Management Servers domain joined) pool turn grey with the
WS-Management Certificate Health in critical state. Some return healthy after a while... to fail again after a while.
When I resign the certificate through Discovery Wizard the agent turns healthy again... to return to a grey state again after a while.
Error in Health Explorer below:
ErrorMessage
WSManFault The server certificate on the destination computer (flexprod1.mydomain.net:1270) has the following errors:
Encountered an internal error in the SSL library.
While troubleshooting I found out that executing following results in an error
winrm e http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx -r:https://flexprod1.mydomain.net:1270
-u:scomuser -p:pswd -auth:basic -encoding:utf-8
WSManFault
Message = The server certificate on the destination computer (flexprod1.mydomain.net:1270) has the following errors:
Encountered an internal error in the SSL library.
Error number: -2147012721 0x80072F8F
A security error occurred
When I re-execute the command right afterwards... it succeeds! :-/ When I run the command 10 minutes afterwards, it fails again the
first time it is executed.
My guess the possibility it is related to above issue is likely.
I'm not having this issue on the gateway servers (not domain joined) where the policies are not applied.
P.s. Unfortunately I installed security and critical updates a few hours before applying the gpo so it could well be related to that
also.
Before I try to revert the changes made by the gpo... can anyone verify if a setting in the gpo can cause this issue?
Relevant part (I think) of the gpo below. Or does anyone know what this might be caused by or how to further troubleshoot this?
Thanks!
Microsoft network client: Digitally sign communications (always) Enabled
Microsoft Network Server
Policy Setting
Microsoft network server: Digitally sign communications (always) Enabled
Microsoft network server: Digitally sign communications (if client agrees) Enabled
Network Access
Policy Setting
Network access: Do not allow anonymous enumeration of SAM accounts and shares Enabled
Network Security
Policy Setting
Network security: LAN Manager authentication level Send NTLMv2 response only. Refuse LM & NTLM
Network security: Minimum session security for NTLM SSP based (including secure RPC) clients Enabled
Require NTLMv2 session security Enabled
Require 128-bit encryption Enabled
Network security: Minimum session security for NTLM SSP based (including secure RPC) servers Enabled
Require NTLMv2 session security Enabled
Require 128-bit encryption Enabled
System Cryptography
Policy Setting
System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing Enabled
System Settings
Policy Setting
System settings: Use Certificate Rules on Windows Executables for Software Restriction Policies Enabled
User Account Control
Policy Setting
User Account Control: Admin Approval Mode for the Built-in Administrator account Enabled
User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode Prompt for consent for non-Windows binaries
User Account Control: Switch to the secure desktop when prompting for elevation Enabled
Other
Policy Setting
Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings Enabled
Registry Values
Policy Setting
MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ScreenSaverGracePeriod "0"
MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SafeDllSearchMode 1
MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\DisableIPSourceRouting 2
MACHINE\System\CurrentControlSet\Services\Tcpip6\Parameters\DisableIPSourceRouting 2Hi Steve,
Thanks for your reply.
I've managed to pinpoint the issue to the following gpo setting:
System cryptography: Use FIPS 140 compliant cryptographic algorithms, including encryption, hashing and signing algorithms
Description: For the Schannel Security Service Provider (SSP), this security setting disables the weaker Secure Sockets Layer (SSL) protocols and supports only the Transport Layer Security (TLS) protocols as a client and as a server (if applicable). If this
setting is enabled, Transport Layer Security/Secure Sockets Layer (TLS/SSL) Security Provider uses only the FIPS 140 approved cryptographic algorithms: 3DES and AES for encryption, RSA or ECC public key cryptography for the TLS key exchange and authentication,
and only the Secure Hashing Algorithm (SHA1, SHA256, SHA384, and SHA512) for the TLS hashing requirements.
Disabled the setting in a new gpo and everything returned to normal.
Grts.
Maybe you are looking for
-
Mini dvi to hdmi not working in Mountain Lion
mini dvi to hdmi (my TV) worked fine with Lion. After upgrading to ML and trying to use mirroring it says i cannot as it only see one display. TV report no signal. Any advice?
-
Hello, I would like to create an extention that will help to manage a glossary. First I need to decide on the structure of the xml document that will contain all glossary entries. Since I don't have much experience with XML in extention content, I wa
-
Hiding few columns before displaying alv grid output
Hi All, I struck up at hiding few columns before displaying alv output. I have used used FM: REUSE_ALV_GRID_DISPLAY. By using this i am displaying 29 fields to the output. But before displaying the output i want to hide few columns among them, and al
-
Mis match in Types Conversion.
Hi All, I'm stuck at this following logic implementation. The fields For Action reason and Text, In Query Sheet it was mention to use the following Logic. 1) from table /BI0/SEMPLOYEE, input the employee number and output the SID 2)
-
PlayerMediaCore Taking Several Minutes to Load
What's this PlayerMediaCore.prm that always hangs on startup? It seems 90% of the load time (about 2-1/2 minutes on my 3.5GHz quad-core) is taken up by this plugin. It has a vital-sounding name, so I'm not sure that removing it is a good idea, but it