HttpServletRequest (or IPortalComponentRequest) instance over ThreadLocal
Hi,
is there a way to retrieve the current HttpServletRequest (or IPortalComponentRequest) instance over a ThreadLocal variable in NW AS Java? I'm developing an external navigation connector which works with a remote system. Among other things I need the current authenticated user for the thread.
Best regards,
Fabian
Hi,
I want to reply myself in order to help other users running into the same problem. As far as I know today, the request can't be retrieved/is not put onto a ThreadLocal variable by the engine. The current user can be retrieved with this code
UMFactory.getAuthenticator().getLoggedInUser();
F.e. the logon ticket can be retrieved with
(String) user.getTransientAttribute("com.sap.security.core.usermanagement","MYSAPSSO2_STRING");
These keys are [not made publicly available|http://help.sap.com/javadocs/NW04s/current/ep/constant-values.html#com.sap.portal.pcm.attributes.IAttrPcmLaunch.ATTRIBUTE_EXT_LINK], so I can't say if this is supported or not. However, this is acceptable for my client.
Best regards,
Fabian
Similar Messages
-
Need to send object instances over the network
I found no other way to implement a switch case to cast objects on both sides to solve my problem.
Basically I need to send objects over a network protocol based on XML, the object is sent inside XML
converted in base64, overall encoding of XML is utf-8.
Let's suppose in my network there are 2 peers connected via socket.
I have multiple instances of different types on both peers but I want to keep these instances
synchronized. If something changes on side A, side B must receive that instance and replace
it in the correct place (just one way, from A to B).
When I receive such instance on B I want to cast it to it's proper instance
of it's proper type and I am scratching my head on how could I implement this without some
sort of unique ID table and switch case.
If I had 1 instance per type could it be done easily?
But I need to keep in synch many instances per type.
Is there any dynamic casting that I can trigger based on some type/instanceID information
I could send along the object?I found no other way to implement a switch case to cast objects on both sides to solve my problem.
Basically I need to send objects over a network protocol based on XML, the object is sent inside XML
converted in base64, overall encoding of XML is utf-8.
Let's suppose in my network there are 2 peers connected via socket.
I have multiple instances of different types on both peers but I want to keep these instances
synchronized. If something changes on side A, side B must receive that instance and replace
it in the correct place (just one way, from A to B).
When I receive such instance on B I want to cast it to it's proper instance
of it's proper type and I am scratching my head on how could I implement this without some
sort of unique ID table and switch case.
If I had 1 instance per type could it be done easily?
But I need to keep in synch many instances per type.
Is there any dynamic casting that I can trigger based on some type/instanceID information
I could send along the object? -
Hf901-00001 won't install at all on some instances.
Hi,
We have multiple servers with CF 9.0.1 installed, all with the multiple servers configuration and all with multiple instances.
Yesterday I started patching to hf901-00001 (http://kb2.adobe.com/cps/890/cpsid_89094.html). It worked properly on 30 some instances over 4 servers but for a few instances on one server it just won't install.
The server in question has 7 instances + 1 main cfusion instance. The patching worked fine for 4 of them, but with the others it blew up the CF admin and I had to restore my CFIDE from a backup.
Right now I am trying to get cfusion up-to-date here's what I see.
Server Product: ColdFusion
Version: 9,0,1,274733
Edition: Enterprise
Serial Number ******
Operating System: Windows 2003 OS Version 5.2
Adobe Driver Version: 4.0 (Build 0005)
JVM Details Java Version: 1.6.0_17
Java Vendor: Sun Microsystems Inc.
When I try to update with the hf901-00001.jar file, everything seems to work as it should. I get the "For the hotfix to get applied, you must restart the ColdFusion Service." so I restart Macromedia JRun CFusion Server and it starts up fine.
However when I go back to the CFAdmin I still see
Version 9,0,1,274733.
I don't see Update Level /C:/JRun4/servers/CF_Academic2a/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/updates/hf901 -00001.jar
So I assume that patch isn't going through. If I look in C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\updates\ I can see the hf901-00001.jar files though. At this point if I proceed with the rest of the patching (Copying CFIDE, WEB-INF, etc) the CFAdmin starts throwing error --- class def not found on some critical CF parts.
As anyone else had issue with this patch or have any suggestion as what to try next? Any pointers would be greatly appreciated.Charlie,
Thanks for the reply, ok going to double check everything point by point. Going to use my main cfusion instance for my testing.
Before patching:
My CFIDE is mapped to C:\inetpub\wwwroot\CFIDE (from the mapping section)
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\updates has only one file empty.txt
ColdFusion version is 9,0,1,27473 from the CF administrator information section.
Version confirmed by dumping server.coldfusion.productversion (9,0,1,27473)
Patching process:
Using hf901-00001.jar from update (http://kb2.adobe.com/cps/890/cpsid_89094.html#main_ColdFusion_9_0_1)
Successful, I get "For the hotfix to get applied, you must restart the ColdFusion Service"
Restarting "Macromedia JRun CFusion Server"
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\updates\ now has 2 files, empty.txt and hf901-00001.jar
Checking log for the restart in C:\JRun4\logs\cfusion-out.log, everything start up as it should but there's an error. No details though, see dump below.
Starting Macromedia JRun 4.0 (Build 108858), cfusion server
02/25 09:18:42 info JRun Naming Service listening on *:2904
02/25 09:18:43 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
02/25 09:18:43 info JRun Web Server listening on *:8300
02/25 09:18:43 info JRun Proxy Server listening on *:51020
02/25 09:18:43 info Deploying enterprise application "cfusion-ear" from: file:/C:/JRun4/servers/cfusion/cfusion-ear/
02/25 09:18:43 info Deploying web application "Adobe ColdFusion 9" from: file:/C:/JRun4/servers/cfusion/cfusion-ear/
Ignoring invalid file in updates directory: hf901-00001.jar
02/25 09:18:45 INFO License Service: Flex 1.5 CF Edition enabled
02/25 09:18:45 INFO Starting Flex 1.5 CF Edition
02/25 09:18:45 user FusionReactor: FusionReactor Rev. 3.5.0, Build: FusionReactor.74.14844
02/25 09:18:45 user FusionReactor: Initializing configuration
At this point if I continue with the manual steps and copy the file in CFIDE and WEB-INF it break the instance and I can't access it without restoring from a backup. (ClassDefNotFound errors). So the jar isn't being applied for some reason, the log is quiet as to why it's rejecting the file or think it's invalid. It's the same file used to patch the other instances. I suspected a corrupted jar and redownloaded it, same result for those 4 instances only after I patched another production server, our development, acceptance and lab servers the same way.
One thing that I noticed, the one that did patch correctly have chf9000001.jar in their /lib/updates directory which is hotfix1 for CF 9.0.0. I am under CF 9.0.1 so it shouldn't be required right? Not sure why it's missing from the cfusion instance.
I tried copying chf9000001.jar and restarted and it shows up as my update level in CFAdmin. I still get the invalid file error for hf901-00001.jar though.
I never installed Cumulative Hotfix 1 (CHF1) for ColdFusion 9.0.1 (http://kb2.adobe.com/cps/862/cpsid_86263.html) as Adobe only recommend it if you experience one or more of the issue listed.
Other points I checked following your post:
1) neo-runtime.xml does have <var name='/CFIDE'><string>C:\inetpub\wwwroot\CFIDE</string></var> so as far as I can tell I am using the correct /CFIDE
2) You say "Or are you using the external web server (IIS or Apache)? If trying one, what happens if you try the other?"
I am using IIS default website to access it (it's currently bound to port 8080). How do I try the other? In JRun Launcher I see my Web port as 8300 for cfusion but if I go to http://localhost:8300/ I get a blank site (it just shows Index of /)
The only thing I have to go on is that the jar isn't loaded as per the log, but there is no error or anything so I am kind of at a lost as to what I can try next. -
Open excel files in multiple instances
When ever i open the excel files it opens as different windows of the same instance . Is there any way to open in multiple instances of excel ... I saw some answes in forums which says about about unchecking 'Ignore other application that use DDE'
.. once i set that the excel file doesnot open again giving an error "there was a problem sending the command" ....
Could some one help me on this .. this is pretty urgent for me ... i am using this in my vb.net project with process.start(file) ...
i dont think i want to create an excel application and open the file in the code as i may not be able to release the com objects properly in my fuinctionality ....Try this one:
1. To begin, we go to the registry. Click START, and in the RUN command line type REGEDIT and hit ENTER or click OK. This will start the registry editor.
2. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.8\Shell\Open\Command
3. Double click on the (Default) instance over to the right. Right now this probably says something like:
If you have Office 2007 installed:
C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /dde
Or, if you have Office 2010 installed
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
Change this value to:
C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /e "%1"
for Office 2007 and for Office 2010 change it to:
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
4. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.12\Shell\Open\Command
Again, double click the (Default) entry to the right and change
C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /dde
to
C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /e "%1"
When you exit the registry this should be all you need to do. Each time you double click on your Excel shortcut or type excel.exe in the command line a new instance of Excel is launched with the default spreadsheet.
Quote from:
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2011/09/06/opening-excel-in-multiple-instances.aspx
Max Meng
TechNet Community Support -
How to make database instances available in the SAP MMC
Hello,
I have been trying to figure out on how to make a database instance, which I installed on the MSSQL Server, available in the SAP Management Console in order to start the instance. I am able to view the instance over the Enterprise Manager of the MSSQL Sever, but I cannot start it from there (this is only possible from the SAP MMC). I have the SAP MMC installed on my computer, but just cannot figure out on how to control the instance from there because I cannot see it.
I hope someone can help me on this matter!
Thanks....
KatharinaHello Katharina,
Run SAP MMC and right-click to SAP R/3 Systems.
Choose properties and go to Fixed tab.
In 'System' field enter Your SID (e.g. EBP)
In 'Instance' field enter hostname<space>instance number (e.g. epb01 10) Remember, there is space between ebp01 and 10.
Click on 'Add' button and then OK.
Best Regards,
Marcin Gajewski -
HELP!!: Two server application instances could work in the same port?
Hi everybody!!!
i have two server application instances over the same JVM and both of them need to get requests from the same port, how can i get this??
I`m not interested on using RMI, and i wouldn`t like to use sockets, because i have already using XML-RPC, so if you can tell me how can i get this without using sockets nor RMI, please help me...
I don�t if there any way using threads??
thanks a lot,
JCPARRAMTwo sockets can't be bound to the same port on the same machine at the same time. This means that one application can't have two sockets listening on the same port and that two applications can't each have a socket listening on the same port (no matter what language they are written in, and, if they are in Java, no matter whether they are on the same JVM or not).
Your only solution is to make one of the server applications listen on a different port. -
Sql instance detected even I uninstalled sql 2008 express
I am using SqlDataSourceEnumerator.Instance.GetDataSources() to find if sql instance is installed in my machine or not.
I have installed sql server 2008 in my machine,then uninstalled completely,and it didn't show any error.
SqlDataSourceEnumerator.Instance.GetDataSources() works perfectly in windows 7 or xp to check if sql installed or not.
But when I install and then uninstall sql in windows 8 on a particular machine,the code all time returning the instance what was previously installed.But
other machines with windows 8 creating no problem.
I've checked registry as well as programfiles. Sql is nowhere.
When I reinstall sql it is installing with no error also.
So how SqlDataSourceEnumerator getting instance in windows 8?
If SqlDataSourceEnumerator is not reliable to check if sql installed or not,then how can I detect that by c#.
Mind it I need a procedure for both 64 and 32 bit machine though I'm using wow6432 installer.Hi souvik sett,
Question: So does this method not fetch instance over network in xp?
SqlDataSourceEnumerator Class provides a mechanism for enumerating all available instances of SQL Server within the local network. It is supported in all versions of .NET Framework, and Windows XP platform is also supported in .NET Framework. So this is not
a platform issue with Windows XP.
SQL Server provides information for the SqlDataSourceEnumerator through the use of an external Windows service named SQL Browser. This service is enabled by default, but administrators may turn it off or disable it, making the server instance invisible to
this class. So please make sure that SQL Server Browser Service is enabled on your Windows XP platform. For more information about SQL Server Browser Service, please refer to the following article:
http://technet.microsoft.com/en-us/library/ms181087(v=sql.105).aspx
To communicate with the SQL Server Browser service on a server behind a firewall, we need to open UDP port 1434, in addition to the TCP port used by SQL Server (e.g., 1433). For more information about How to Configure a Firewall for SQL Server Access, please
refer to the following article:
http://msdn.microsoft.com/en-us/library/cc646023.aspx
If you have any question, please feel free to let me know.
Regards,
Donghui Li -
R12(12.1.3) Vision Instance Cloning Issues
Hi guys
I setup a vision instance R12(12.1.3) using Oracle VirtualBox and Oracle VM templates & the instance is up and running fine. I tried to clone the instance over another VM, which is built on VM embedded OS (prerequisites fulfilled) and I have done the following
Done pre-clone on database tier
Done pre-clone on application tier
shut down both db, application
created tar ball for both database, application folders /u01/E-BIZ/db , /u01/E-BIZ/apps and copied to the target VM server
extracted the files to /u01/E-BIZ/db , /u01/E-BIZ/apps/
switched to /u01/E-BIZ/db/tech_st/11.2.0.2/appsutil/clone/bin
and ran perl adcfgclone.pl dbTier
After 50% the cloning fails and the MAKE file has an errorcode = .58
I have checked the MAKE log and the bottom part is like this
/u01/E-BIZ/db/tech_st/11.2.0.2/srvm/lib
ins_srvm.mk:68: warning: overriding commands for target `libsrvm11.so'
ins_srvm.mk:31: warning: ignoring old commands for target `libsrvm11.so'
ins_srvm.mk:71: warning: overriding commands for target `libsrvmocr11.so'
ins_srvm.mk:34: warning: ignoring old commands for target `libsrvmocr11.so'
ins_srvm.mk:74: warning: overriding commands for target `libsrvmhas11.so'
ins_srvm.mk:37: warning: ignoring old commands for target `libsrvmhas11.so'
make: *** No rule to make target `iodbagrp'. Stop.
Failed linking target iodbagrp on Sun Oct 6 23:01:53 EDT 2013...
/u01/E-BIZ/db/tech_st/11.2.0.2/bin
$Id: genorasdksh.sh /linuxamd64/15 2010/04/28 22:10:13 aime Exp $
Generating BASE ORASDK library...
Creating /u01/E-BIZ/db/tech_st/11.2.0.2/lib/liborasdkbase.so.11.1
-rwxr-xr-x 1 root root 11733746 Oct 6 23:01 liborasdkbase.so.11.1
lrwxrwxrwx 1 root root 21 Oct 6 23:01 liborasdkbase.so -> liborasdkbase.so.11.1
Completed linking target liborasdkbase on Sun Oct 6 23:01:54 EDT 2013...
/u01/E-BIZ/db/tech_st/11.2.0.2/bin
$Id: genorasdksh.sh /linuxamd64/15 2010/04/28 22:10:13 aime Exp $
Generating FULL ORASDK library...
Creating /u01/E-BIZ/db/tech_st/11.2.0.2/lib/liborasdk.so.11.1
-rwxr-xr-x 1 root root 41617377 Oct 6 23:01 liborasdk.so.11.1
lrwxrwxrwx 1 root root 17 Oct 6 23:01 liborasdk.so -> liborasdk.so.11.1
Completed linking target liborasdk on Sun Oct 6 23:01:54 EDT 2013...
/u01/E-BIZ/db/tech_st/11.2.0.2/rdbms/lib
rm -f /u01/E-BIZ/db/tech_st/11.2.0.2/lib/libskgxp11.so
cp /u01/E-BIZ/db/tech_st/11.2.0.2/lib//libskgxpg.so /u01/E-BIZ/db/tech_st/11.2.0.2/lib/libskgxp11.so
Completed linking target ipc_g on Sun Oct 6 23:01:54 EDT 2013...
The value of IS_RAC:false
Error found while relinking
return code = .58
I have referred few other threads discussing the same issue, unfortunately, I don't have access to Oracle support at this point of time. Hence would request one of you to provide me the instructions available with ""Fatal error: Don't know how to make target `iodbagrp' " [ID 1365015.1]
regards,
rajHi Asif
It's all right I didn't mean sharing the document either, just the content, lol
As I have mentioned, I was trying to clone an instance which was live and "rocking", couldn't understand why the clone will fail, while all the prerequisites were in place (As the new virtual machine was a copy of the existing VM with instance live)
Later I changed the OS level rights for user oracle, changed the mode of /u01/E-BIZ to 777 and tried to run the adcfgclone once again and the entire process went through smoothly.
Anyway, I would say, the case is closed now.
Thanks once again
regards,
raj
Removed the "actual solution" which didn't work -
Remotely accessing an Apps instance
We have installed 11.5.10 on a Win 2k Server machine, and we are able to perform all activities, viz. accessing and using the Navigator Window and application forms, without any hassle. The name of the machine is appsinstance and domain is ct.com
Now, while trying to access the instance from another machine, specifying the URL http://appsinstance:8000 in the client's machine launches the Rapid Install R11i page, but clicking the Oracle E-Business Home Page link does not takes us to the login page. Trying http://appsinstance.ct.com fails to even launch the Rapid Install page.
Plz let me know wot all do we need to ensure at the apps server end so that the clients that are not a part of the same domain ct.com, can also remotely access the instance.
We are also planning to host the instance over a global IP so that the adminstrators can also perform aother activities, viz. accessing and administering the instance using OAM, by remotely connecting through a URL
Thanks in Advancemake sure that the clinets are able to ping the host.domain you are using? if not check your DNS or add the ip/host.domain on the clined hosts file under windows/sys32/drivers/etc directory
fadi -
EBS instance migration across servers
Hi,
Background: Oracle database in TB's
Application: Oracle EBS 11i - release 11.5.10
Need your advice to migrate EBS instances over network in easier way ,cheaper cost and minimum downtime.Preferably avoiding third party backup solution
Thanks & Regards,
Apps DBA
Edited by: user10702579 on Nov 11, 2011 1:59 AMHi;
Please see:
Database Documentation Resources for EBS Release 11i and R12 [ID 1072409.1]
Also see:
How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database [ID 286775.1]
Different Upgrade Methods For Upgrading Your Database [419550.1]
10G - 11G with New Hardware
Migrating to Linux with Oracle Applications Release 11i [ID 238276.1]
Debugging Platform Migration Issues in Oracle Applications 11i [ID 567703.1]
9i Export/Import Process for Oracle Applications Release 11i [ID 230627.1]
10g Release 2 Export/Import Process for Oracle Applications Release 11i [ID 362205.1]
Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
Regard
Helios -
HttpServletRequest Object Question?
I need to manipulate the Header (specifically the Authorization) of an Http request made to a servlet. I would assume that the header is encapsulated in the HttpServletRequest object sent to the server, but I don't seem to have any way of accessing it.
Any suggestions, advice?
ThanksThe header is included in the HttpServletRequest instance, but you might be misunderstanding that interface. HttpServletRequest instances are only meant to wrap a client request to some server- not the server's response. Thus, you can retrieve values from the request, but you can not set them (not through HttpServletRequest), because the instance only wraps a client's request. To set a header value, use HttpServletResponse:
response.setHeader("Refresh", "15");
... you can get a Header value from the request by,
request.getHeader("Refresh"); -
How can you do an upload into a blob using ADF/JSP/Struts? I've seen the demo for OrdDoc but would rather have the blob as it would be easier to move between instances over a db link (cannot do with object type).
Thoughts/tips/code?
I can provide what does NOT work...Here is the code I am using (Error message first):
Target URL -- http://10.141.146.47:8988/UploadedFiles-ViewController-context-root/uploadDocument.do
06/12/19 07:49:45 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
Dec 19, 2006 7:49:45 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Dec 19, 2006 7:49:45 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 19, 2006 7:49:45 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='uploadedfiles.view.ApplicationResources', returnNull=true
06/12/19 07:49:48 *** UploadDocumentAction.findForward() ***
Dec 19, 2006 7:49:48 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Dec 19, 2006 7:49:48 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Dec 19, 2006 7:49:48 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Dec 19, 2006 7:49:48 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Dec 19, 2006 7:49:48 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
06/12/19 07:49:55 *** UploadDummyBlobAction.onUpload - START ***
06/12/19 07:49:55 myrow.getId() = null
06/12/19 07:49:56 myrow.getFilename() = null
06/12/19 07:49:56 java.lang.NullPointerException
06/12/19 07:49:56 at uploadedfiles.view.UploadDocumentAction.onUpload(UploadDocumentAction.java:82)
06/12/19 07:49:56 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06/12/19 07:49:56 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
06/12/19 07:49:56 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
06/12/19 07:49:56 at java.lang.reflect.Method.invoke(Method.java:324)
06/12/19 07:49:56 at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
06/12/19 07:49:56 at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
06/12/19 07:49:56 at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
06/12/19 07:49:56 at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:235)
06/12/19 07:49:56 at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
06/12/19 07:49:56 at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
06/12/19 07:49:56 at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
06/12/19 07:49:56 at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
06/12/19 07:49:56 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
06/12/19 07:49:56 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
06/12/19 07:49:56 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
06/12/19 07:49:56 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
06/12/19 07:49:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
06/12/19 07:49:56 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
06/12/19 07:49:56 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
06/12/19 07:49:56 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
06/12/19 07:49:56 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
06/12/19 07:49:56 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
06/12/19 07:49:56 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
06/12/19 07:49:56 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
06/12/19 07:49:56 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
06/12/19 07:49:56 *** UploadDocumentAction.findForward() ***
06/12/19 07:49:56 UploadDocumentAction.findForward()- event : Upload
06/12/19 07:49:56 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
06/12/19 07:49:56 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
06/12/19 07:49:56 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
06/12/19 07:49:56 at java.lang.Thread.run(Thread.java:534)
public class UploadDocumentAction extends DataForwardAction {
protected void processUpdateModel(DataActionContext actionContext) {
super.processUpdateModel(actionContext);
// Create a blank record in the model and set it as the current row
BindingContext bc = actionContext.getBindingContext();
DCDataControl dc = bc.findDataControl("UploadedFilesServiceDataControl");
UploadedFilesService service = (UploadedFilesService)dc.getDataProvider();
service.insertRowIntoUploadedFilesView();
* public void onUpload( DataActionContext ctx )
* This handles uploading a file into a blob domain by use of a
* transient view attribute (TempOrdDoc) and then getting the uploaded
* file (which is passivated to the oc4j's ordpas folder) and then placing
* this via input/output stream calls into a BlobDomain to place into the
* view object's row.
* Processing Steps:
* 1. Get access to the current row of the iterator and cast it to an
* exposed client interface. This allows easier placement of the
* values into the record.
* 2. Get access to the TempOrdDoc and retrieve the file source content.
* this appears to contain the ORD IM passivated blob,ie:
* C:\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\ordpas\ord10858pas
* 3. Create input stream to this object and output stream to the view
* object's blob, then read/write the data.
* 4. Set the view object columns: Content Type, Size, and Blob. Note that
* we have to get the description from the request to set it.
* 5. Get access to the application module, then commit the transaction.
* @param ctx
public void onUpload( DataActionContext ctx ) {
System.out.println("*** UploadDocumentAction.onUpload - START ***");
HttpServletRequest request = ctx.getHttpServletRequest();
try {
DCBindingContainer bc = ctx.getBindingContainer();
DCIteratorBinding iter = bc.findIteratorBinding("UploadedFilesView1Iterator");
Row r = iter.getCurrentRow();
UploadedFilesViewRowClient myrow = (UploadedFilesViewRowClient) r;
System.out.println("myrow.getId() = " + myrow.getId());
System.out.println("myrow.getFilename() = " + myrow.getFilename());
OrdDocDomain doc = myrow.getTempOrdDocDomain();
OrdContentSource ocontent = doc.getContentSource();
OrdFileSource fSource = (OrdFileSource) ocontent;
System.out.println( "fSource.getContentLength()=" + fSource.getContentLength());
System.out.println( "fSource.getFileName()=" + fSource.getFileName() );
System.out.println( "fSource.getMimeType()=" + fSource.getMimeType() );
InputStream istream = fSource.getInputStream();
BlobDomain blob = myrow.getContent();
int bufsize;
if ( blob == null ) {
blob = new BlobDomain();
bufsize = 32767;
} else {
bufsize = blob.getBufferSize();
r.lock(); // required for a blob update.
OutputStream out = blob.getBinaryOutputStream();
int length = 0;
byte buf[] = new byte[bufsize];
while ((istream != null) && ((length = istream.read(buf)) != -1)) {
out.write(buf, 0, length);
System.out.println("read " + length + " bytes from in, writing to out");
istream.close();
out.flush();
out.close();
myrow.setContent( blob );
BindingContext bctx = ctx.getBindingContext();
DCDataControl dc = bctx.findDataControl("UploadedFilesServiceDataControl");
UploadedFilesService service = (UploadedFilesService)dc.getDataProvider();
service.saveRowUploadedFilesView();
catch ( Exception ex )
// required by fSource.getInputStream();
ex.printStackTrace();
} // onUpload
protected void findForward(DataActionContext actionContext) throws Exception {
System.out.println("*** UploadDocumentAction.findForward() ***");
// Try to catch errors instead of the default error handler.
try {
List events = actionContext.getEvents();
if (events != null && events.size() > 0) {
ListIterator li = events.listIterator();
while (li.hasNext()) {
System.out.println("UploadDocumentAction.findForward()- event : " + li.next().toString());
} catch (Exception e) {
System.out.println(e.getMessage() );
e.printStackTrace(System.out);
super.findForward(actionContext);
/* UploadedFilesViewRowClient.java */
public class UploadedFilesViewRowClient extends RowImpl
* This is the default constructor (do not remove)
public UploadedFilesViewRowClient() {}
public oracle.jbo.domain.Number getId() {
return (oracle.jbo.domain.Number)getAttribute("Id");
public void setId(oracle.jbo.domain.Number value) {
setAttribute("Id", value);
public String getFilename() {
return (String)getAttribute("Filename");
public void setFilename(String value) {
setAttribute("Filename", value);
public oracle.jbo.domain.BlobDomain getContent() {
return (oracle.jbo.domain.BlobDomain)getAttribute("Content");
public void setContent(oracle.jbo.domain.BlobDomain value) {
setAttribute("Content", value);
public oracle.jbo.domain.Date getDateCreated() {
return (oracle.jbo.domain.Date)getAttribute("DateCreated");
public void setDateCreated(oracle.jbo.domain.Date value) {
setAttribute("DateCreated", value);
public oracle.ord.im.OrdDocDomain getTempOrdDocDomain() {
return (oracle.ord.im.OrdDocDomain)getAttribute("TempOrdDocDomain");
public void setTempOrdDocDomain(oracle.ord.im.OrdDocDomain value) {
setAttribute("TempOrdDocDomain", value);
/* UploadedFilesServiceImpl.java */
public void insertRowIntoUploadedFilesView() {
//vo is your view object
ViewObject vo = getUploadedFilesView1();
Row aRow = vo.createRow();
aRow.setNewRowState(Row.STATUS_INITIALIZED);
/* Do these get populated automatically? Yes! since setup in entity as historical */
vo.insertRow(aRow);
vo.setCurrentRow(aRow);
// getTransaction().commit();
public void saveRowUploadedFilesView() {
//vo is your view object
ViewObject vo = getUploadedFilesView1();
getTransaction().commit();
... -
Portal authentication failing intermittently post self registration
We are in the process of upgrading from EP6 to EP7 and have hit a critical authentication problem that is proving difficult to diagnose and resolve.
Our self registration process leads straight into user logon:
1) the user fills in the registration form with their user ID, password etc and selects Submit which creates the user ID in our R/3 user store
2) the user is presented with text informing them that their registration has been successful and a Proceed button which when selected authenticates them with the portal with their newly created user ID
Step 2) above is working intermittently in our EP7 system - sometimes the process works exactly as expected others an exception is raised (com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED).
It seems as though the cause is that the user creation process has not completed fully before the logon step.
We tried implementing a wait step (10 seconds) following selection of the Proceed button which reduced the incidence rate of the problem but didn't cure it entirely.
A possible contributing factor is hardware performance as we are testing the upgrade on an impact analysis system which is not as efficient as our live portal landscape.
I've pasted the code which performs the authentication and extracts from the DIAGTOOL portal logs below which show the login module configuration (SAP standard I believe).
Any help/advice what to try next would be greatly appreciated as we are running out of ideas.
Thanks,
Alan
The following code performs the authentication and redirection to the portal user's home page:
public void onRedirect(Event event) throws PageException {
getBean();
//Get resource bundle
ResourceBundle rbSetup =
ResourceBundle.getBundle(
"setup",
((IPortalComponentRequest) this.getRequest()).getLocale());
ILogonAuthentication logonAuthentication =
UMFactory.getLogonAuthenticator();
HttpServletRequest req =
((IPortalComponentRequest) this.getRequest())
.getServletRequest();
HttpServletResponse res =
(IPortalComponentRequest) this
.getRequest())
.getServletResponse(
true);
req.setAttribute(
ILoginConstants.LOGON_UID_ALIAS,
SelfRegBean.getLogonUid());
req.setAttribute(
ILoginConstants.LOGON_PWD_ALIAS,
SelfRegBean.getPassword());
Subject subject = null;
try {
subject = logonAuthentication.logon(req, res, AUTHSCHEME);
if (null != subject) {
res.sendRedirect(rbSetup.getString("REDIRECT_URL"));
} catch (LoginException e) {
SelfRegBean.setError(rb.getString(LOGIN_FAILED));
} catch (IOException e) {
SelfRegBean.setError(rb.getString(REDIRECT_FAILED));
Full exception thrown when the authentication process fails:
com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:949) at uk.ac.ncl.SelfRegistration$SelfRegistrationDynPage.onRedirect(SelfRegistration.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172) at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115) at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) -
Key log extracts from DIAGTOOL:
Exception on login:
[EXCEPTION]
com.sap.security.core.server.userstore.UserstoreException: Could not refresh user postsp15p
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "postsp15p" not found!
LOGIN.FAILED
User: N/A
Authentication Stack: ticket
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false true
#1 ume.configuration.active = true
2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok exception true Authentication did not succeed.
3. com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok true
#1 ume.configuration.active = true
com.sap.security.core.logon.imp.UMELoginException:
ObjectID handed over is 'null'!
Guest | LOGIN.ERROR | null | | Login Method=[uidpwdlogon], UserID=[null], IP Address=[10.64.65.191], Reason=[Authentication did not succeed.]
USER_AUTH_FAILEDWe are in the process of upgrading from EP6 to EP7 and have hit a critical authentication problem that is proving difficult to diagnose and resolve.
Our self registration process leads straight into user logon:
1) the user fills in the registration form with their user ID, password etc and selects Submit which creates the user ID in our R/3 user store
2) the user is presented with text informing them that their registration has been successful and a Proceed button which when selected authenticates them with the portal with their newly created user ID
Step 2) above is working intermittently in our EP7 system - sometimes the process works exactly as expected others an exception is raised (com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED).
It seems as though the cause is that the user creation process has not completed fully before the logon step.
We tried implementing a wait step (10 seconds) following selection of the Proceed button which reduced the incidence rate of the problem but didn't cure it entirely.
A possible contributing factor is hardware performance as we are testing the upgrade on an impact analysis system which is not as efficient as our live portal landscape.
I've pasted the code which performs the authentication and extracts from the DIAGTOOL portal logs below which show the login module configuration (SAP standard I believe).
Any help/advice what to try next would be greatly appreciated as we are running out of ideas.
Thanks,
Alan
The following code performs the authentication and redirection to the portal user's home page:
public void onRedirect(Event event) throws PageException {
getBean();
//Get resource bundle
ResourceBundle rbSetup =
ResourceBundle.getBundle(
"setup",
((IPortalComponentRequest) this.getRequest()).getLocale());
ILogonAuthentication logonAuthentication =
UMFactory.getLogonAuthenticator();
HttpServletRequest req =
((IPortalComponentRequest) this.getRequest())
.getServletRequest();
HttpServletResponse res =
(IPortalComponentRequest) this
.getRequest())
.getServletResponse(
true);
req.setAttribute(
ILoginConstants.LOGON_UID_ALIAS,
SelfRegBean.getLogonUid());
req.setAttribute(
ILoginConstants.LOGON_PWD_ALIAS,
SelfRegBean.getPassword());
Subject subject = null;
try {
subject = logonAuthentication.logon(req, res, AUTHSCHEME);
if (null != subject) {
res.sendRedirect(rbSetup.getString("REDIRECT_URL"));
} catch (LoginException e) {
SelfRegBean.setError(rb.getString(LOGIN_FAILED));
} catch (IOException e) {
SelfRegBean.setError(rb.getString(REDIRECT_FAILED));
Full exception thrown when the authentication process fails:
com.sap.security.core.logon.imp.UMELoginException: USER_AUTH_FAILED at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:949) at uk.ac.ncl.SelfRegistration$SelfRegistrationDynPage.onRedirect(SelfRegistration.java:507) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172) at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115) at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) -
Key log extracts from DIAGTOOL:
Exception on login:
[EXCEPTION]
com.sap.security.core.server.userstore.UserstoreException: Could not refresh user postsp15p
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "postsp15p" not found!
LOGIN.FAILED
User: N/A
Authentication Stack: ticket
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false true
#1 ume.configuration.active = true
2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok exception true Authentication did not succeed.
3. com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok true
#1 ume.configuration.active = true
com.sap.security.core.logon.imp.UMELoginException:
ObjectID handed over is 'null'!
Guest | LOGIN.ERROR | null | | Login Method=[uidpwdlogon], UserID=[null], IP Address=[10.64.65.191], Reason=[Authentication did not succeed.]
USER_AUTH_FAILED -
How can you retrieve the GRPNO and SRVID in a server?
Hi,
Is there a way within a server (e.g. in tpsvrinit) of retrieving the -g and -i
parameters passed to the server at startup? (these are visible if you use the
"tmboot -d1" option). We have multiple instances (over 100) of servers that use
the same executable, but we are unable to determine which messages in the ULOG
come from which server (as there is no means of tying the pid to the group/server
id). What we would like to do is display a message at startup that gives the
group id and server id, and also include this info in subsequent ULOG messages.
Any and all suggestions will be gratefully received!
Thanks & regards,
Malcolm.Hello Malcolm,
you might want to try using the MIB_SELF flag while calling the MIB for the T_SERVER
class.
Hope this helps,
/Per
"Malcolm Freeman" <[email protected]> wrote:
>
Hi,
Is there a way within a server (e.g. in tpsvrinit) of retrieving the
-g and -i
parameters passed to the server at startup? (these are visible if you
use the
"tmboot -d1" option). We have multiple instances (over 100) of servers
that use
the same executable, but we are unable to determine which messages in
the ULOG
come from which server (as there is no means of tying the pid to the
group/server
id). What we would like to do is display a message at startup that gives
the
group id and server id, and also include this info in subsequent ULOG
messages.
Any and all suggestions will be gratefully received!
Thanks & regards,
Malcolm. -
When certain files are saved using Excel 2010 to the My Documents folder, they cannot be found by using the Open button within Excel 2010. But the file is always found using My Computer and following the path to My Documents. What is
even odder is that if I do a "Save As" within Excel and rename the file to the same name but with a "!" at the beginning of the name, it will then show up in the Excel Open window. There doesn't seem to be a distinct pattern as to
when the file can or cannot be displayed by the Excel Open button.
I am using Windows 7 64bit along with Office 2010 64bit. Windows has current service packs and updates. There are perhaps 200 - 400 Excel files in the My documents folder. Some of them are .XLS and some are .XLSX.
William FearnHi,
Do you mean that you can't find the Excel file when you click Excel->Open->My Documents folder?
Do you use the other folder path to test?
Dose the issue occur in other Office suits (Word, Power Point)?
Do you get some error message, like "Windows cannot find 'FilePath\FileName', Make sure you typed the name correctly, and then try again."?
Please try the following methods:
Method1:
1. Go to the registry. Click START, and in the RUN command line type REGEDIT and hit ENTER or click OK.
2. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.8\Shell\Open\Command
3. Double click on the (Default) instance over to the right. Right now this probably says something like:
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
Change this value to:
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
4. Navigate to the following key: HKEY_CLASSES_ROOT\Excel.Sheet.12\Shell\Open\Command
Again, double click the (Default) entry to the right and change
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /dde
to
C:\Program Files\Microsoft Office\Office14\EXCEL.EXE /e "%1"
Note : Please backup the registry key before you modify.
Method2:
Click the File tab, and then click Options.
Click Advanced, scroll down to the General
section, and then clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the
General area.
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]"
Maybe you are looking for
-
Using Tiger 10.4.11 and trying to back up hard drive on time capsule
I have successful set up time capsule to be my base internet station. Now I want to copy my hard drive onto Time Capsule but cannot figure out how to do it. I visited the apple store today in NYC and they folks there suggested I use "migration assist
-
Odd forum, the title is my question.
-
How to Associate Project and Expenditure Org to Legal Entities
This question is related to the "Derive Legal Entity from Organization Setup" Implementation Option for Intercompany Billing. Does anyone know how Proj/Exp Orgs are associated to Legal Entities? I believe Legal Entities are defined in GL Accounting S
-
Rules-based GATP with sales BOM
Hi, with reference to the following thread which asks the same question, but although in "answered" status, actually contains no answer to the final question... GATP Question We are investigating the possibility of using GATP with rules-based ATP to
-
Swf useless when moved to server - Please help
I publish test.swf and test.html to mydoc folder on my local computer. Mydoc folder also contains the test.flv that was imported to the flash to create the swf and html. Open any of them in the mydoc folder and they work fine, move the swf or html f