How to add apache to an exisitng BOXI31 presently running on IIS
Hi Tim,
I know its rude that I directly mailed you but i am not able to post on the SAP forum due to some reasons I don't know. So please if you can help me I would be highly indebted.
I have a multiple server installation.
Number of Servers : 4
Number of CMS : 2
Application tier on 2 servers.
Web tier on 2 servers.
The problem is when i login my .NET infoview works fine but my Java infoview doesn't.
I found the error that the CCM doesn't have Tomcat Apache Server.
So my guess is thats the reason why the java infoview is not working.
Please help how to add the Apache to the CCM.
Regards
Sid
Hi,
You need to run custom installation to install Java Web components on your server box and choose to install
tomcat app server
- Subhodeep
Similar Messages
-
How to add iphone user agent in safari browser running on windows xp
How to add new user agent (iphone user agent) to safari browser(version 3) which is running on windows xp os .
thanks in advanceUPDATE: We were able to further identify the root cause of the problem to be when anonymous access is turned off and the subweb is set up to use basic and integrated authentication (IIS settings). To test this, we removed integrated authentication (leaving only basic authentication in place) and the problem was fixed. However, this is not a viable solution as we need to use integrated authentication (for various other reasons).
-
How to add users to group which is present in another AD domain?
Hi,
Using JNDI how to add user as a member of group which is present in another AD domain?
For example: In AD forest test.com their are two domain a.test.com and b.test.com. Group is present in a.test.com and I want to add user present in b.test.com as a member of the group.
Any pointer around this would be great help.See the below link to get an idea on group types.
http://technet.microsoft.com/en-us/library/cc755692(v=ws.10).aspx
If the group is a universal group, you can just add members similar to local group even if user and group are in different domains. That is by setting the member attribute of the group. -
How to add new source views for Bill Presentment Architecture (BPA)?
Hi,
Financials 11.5.10.2;
I'm trying to add custom source views to be used with BPA.
I go to configuration\data sources and click on the views buttons to see the available views.
There I click on the register button. If I use the LOV button for view name, no views are available. I thought I would see the view in the APPS schema.
How do I make my custom views available in the list of values?
Thanks.It was easy for us. The guide suggests your view begin with the string "ARBPA". One might assume that if your view doesn't start with this, it won't be available from the list.
-
How to add an image - binary data is present in data interface
Hi,
we have the requirement that an image (e.g. pie chart) has to be present in a print form. Based on the data, the image always differs. It is not possible to set an URL to get the image so we decided to store the binary data in the data interface.
Is it possible to map the image control to the data structure?
How can we store the binary content of an image in the data structure (please think about unicode and non-unicode ERP systems)?
Do you have any idea?
Thank you very much.
ThomasHi Thomas,
You need to create an image field and in the source choose 'graphic content ; give the name of the variable which has the binary data . and give the type as 'MIME/image'. -
How to add a parallel flow to already present parallel flow..
Hi,
I have added a parallel work flow to a single user..it worked just fine..But I want to add a one more user to in that parallel work flow...
I used the routeTask with a parallel participant and I even set IsAdhocSupported to true..but still it is not working..
I am getting this error...
Caused by: ORABPEL-30036
Invalid action on workflow task.
Action ADHOC_ROUTE on task 9e5b4b5151b1b834:-50a3ec3d:11c45e1c8e4:-3659 is not valid because of .
Contact oracle support if error is not fixable.
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3440)
at oracle.bpel.services.workflow.task.impl.TaskService.routeTask(TaskService.java:1915)
at oracle.bpel.services.workflow.task.impl.TaskService.routeTask(TaskService.java:1906)
at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.routeTask(TaskServiceBean.java:825)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at TaskServiceBean_RemoteProxy_68d4144.routeTask(Unknown Source)
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:585)
Is there any method to add a user to parallel work flow..
Thanks In Advance.Hi,
I have added a parallel work flow to a single user..it worked just fine..But I want to add a one more user to in that parallel work flow...
I used the routeTask with a parallel participant and I even set IsAdhocSupported to true..but still it is not working..
I am getting this error...
Caused by: ORABPEL-30036
Invalid action on workflow task.
Action ADHOC_ROUTE on task 9e5b4b5151b1b834:-50a3ec3d:11c45e1c8e4:-3659 is not valid because of .
Contact oracle support if error is not fixable.
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3440)
at oracle.bpel.services.workflow.task.impl.TaskService.routeTask(TaskService.java:1915)
at oracle.bpel.services.workflow.task.impl.TaskService.routeTask(TaskService.java:1906)
at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.routeTask(TaskServiceBean.java:825)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at TaskServiceBean_RemoteProxy_68d4144.routeTask(Unknown Source)
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:585)
Is there any method to add a user to parallel work flow..
Thanks In Advance. -
How to add proxy to dtexec command line to run ssis package
Hi all!
I am in badly need to your help to solve my problem
i build an ssis package to read xml data from API and load it in a local DB
and i created an ajent sql job to schedule run this package and thanks god it worked well..
BUT..
When i changed my network that i must use a proxy (**.**.***.***:8080) to connect to internet
the scheduled job didn't work !!
i guess i must add this proxy server to the DTEXEC command line that i use in my scheduled job
waiting for your help please..
ThanksDear all
really Thanks a lot .. PROBLEM SOLVED :)
i created a new credential using my windows account and then i created a new proxy account using my new credential and finally i use this proxy account in sql agent job and it works well
i guess that the problem is SQL Server Agent uses SQL
Server credentials to launch the job, not Windows
credentials .
Thanks -
How to add new a font with Forms 6i running on Web URGENT !!!
In Forms 6i , I have added a new Font and installed it successfully .In client Server
mode the Form is Successfully Showing me
the newly added font. But when I run this Form on Web It does not shows me the font correctly. The font is a True Type Font for
Windows . I am running my forms using OAS 4.0.8.1 on Win NT. Do I need to make some configurations on the Server ????
Please Help ?????Thanks.
1/ Actually most of the customers will use our app through normal 56k modems. Their first connection must avoid to download Jinitiator which is 8Mo, so we don't want people to use Jinitiator (opening the session is even longer with Jinitiator than IE5).
2/ Moreover, the applet window has a grey title line with the word "window" and the name form : this is not internet at all ;-)
3/ A normal connection through a firewall doesn't work with the famous port 9000.
help please.
Thank you
null -
JAEHYLEE (R12 ADI) How to add DFF in Web ADI
Goal
How to add DFF in Web ADI
Solution
ADI Mass Addition Template Layout Define에서 DFF를 사용하기 위해서 아래 ER이 현재 진행중이고 그 전에 사용하기 위해서는 아래와 같은 Datafix를 Workaround로 사용하여야 합니다.
Please do the following in the test instance first and if satisfied migrate to production
1.Setup-->Financials>Flexfields>Descriptive>Segments
Query the Mass addition DFF and Category flexfield
2.Both the above is to be defined exactly the same
3.Reference field for both should be ATTRIBUTE_CATEGORY_CODE
4)login to sqlplus apps account and run the following script
sql
- make sure it runs without errors, then commit. Otherwise rollback. This
script should not be run over again, therefore verify the outcome.
- restart the apache listener
- login to apps and navigate to the Webadi Define Layouts page, under FA
responsibility.
- choose a layout for the Additions integrator, include the "Descriptive
Flexfield" and "Context".
- Test it.
SCRIPT
===========
set serveroutput on size 1000000
Declare
content_code varchar2(1000);
interface_code varchar2(50) := 'FA_MASS_ADD_INTERFACE';
begin
dbms_output.put_line('Start add descriptive flexfiedl to Additions
integrator: ' || interface_code);
dbms_output.put_line('Updating attribute columns in bne_interface_cols_b')
Update bne_interface_cols_b
set display_flag = 'N' ,
val_type = 'DESCFLEXSEG',
group_name = 'MASSADD_DF'
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and interface_col_name in ('ATTRIBUTE1','ATTRIBUTE2',
'ATTRIBUTE3','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6',
'ATTRIBUTE7','ATTRIBUTE8','ATTRIBUTE9','ATTRIBUTE10',
'ATTRIBUTE11','ATTRIBUTE12','ATTRIBUTE13','ATTRIBUTE14',
'ATTRIBUTE15','ATTRIBUTE16','ATTRIBUTE17','ATTRIBUTE18',
'ATTRIBUTE19','ATTRIBUTE20','ATTRIBUTE21','ATTRIBUTE22',
'ATTRIBUTE23','ATTRIBUTE24','ATTRIBUTE25','ATTRIBUTE26',
'ATTRIBUTE27','ATTRIBUTE28','ATTRIBUTE29','ATTRIBUTE30');
dbms_output.put_line('Creating CONTEXT');
-- see webadi dev.guide for complete parameter documentation.
BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
(P_APPLICATION_ID => 140,
P_INTERFACE_CODE => interface_code,
P_SEQUENCE_NUM => 1011,
P_INTERFACE_COL_TYPE => 1, -- indicates that column exists
in interface table.
P_INTERFACE_COL_NAME => 'CONTEXT',
P_ENABLED_FLAG => 'Y',
P_REQUIRED_FLAG => 'N',
P_DISPLAY_FLAG => 'Y',
P_FIELD_SIZE => 30,
P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
etc.
P_DEFAULT_VALUE => '',
P_SEGMENT_NUMBER => '',
P_GROUP_NAME => 'MASSADD_DF',
P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
P_OA_CONCAT_FLEX => 'N',
P_READ_ONLY_FLAG => 'N',
P_VAL_TYPE => 'DESCFLEXCONTEXT', -- TABLE,JAVA etc.
P_VAL_ID_COL => '', -- Column for table LOV.
P_VAL_MEAN_COL => '', -- Column for table LOV.
P_VAL_DESC_COL => '', -- Column for table LOV.
P_VAL_OBJ_NAME => '', -- Table for table LOV, class for java
P_VAL_ADDL_W_C => '', -- where clause for table LOV.
P_DATA_TYPE => 2, -- 1=NUMBER,2=varchar,3=date
P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
P_SUMMARY_FLAG => 'N', -- VARCHAR2
P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
P_PROMPT_LEFT => 'Context - Descriptive Flexfield', --
VARCHAR2
P_PROMPT_ABOVE => '', -- VARCHAR2
P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
Text', '* Value','Text','* Date'
P_USER_HELP_TEXT => 'US', -- VARCHAR2
P_LANGUAGE => 'US', -- VARCHAR2
P_SOURCE_LANG => 'US', -- VARCHAR2
P_OA_FLEX_NUM => '', -- VARCHAR2
P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
P_DISPLAY_ORDER => 802, -- check
P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
P_LOV_TYPE => 'NONE', -- VARCHAR2
P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
dbms_output.put_line('Creating MASSADD_DF_PARENT');
-- see webadi dev.guide for complete parameter documentation.
BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
(P_APPLICATION_ID => 140,
P_INTERFACE_CODE => interface_code,
P_SEQUENCE_NUM => 1012,
P_INTERFACE_COL_TYPE => 2, -- indicates that column exists
in interface table.
P_INTERFACE_COL_NAME => 'MASSADD_DF_PARENT',
P_ENABLED_FLAG => 'Y',
P_REQUIRED_FLAG => 'N',
P_DISPLAY_FLAG => 'Y',
P_FIELD_SIZE => '', --?
P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
etc.
P_DEFAULT_VALUE => '',
P_SEGMENT_NUMBER => '',
P_GROUP_NAME => 'MASSADD_DF',
P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
P_OA_CONCAT_FLEX => 'Y',
P_READ_ONLY_FLAG => 'N',
P_VAL_TYPE => 'DESCFLEX', -- TABLE,JAVA etc.
P_VAL_ID_COL => '', -- Column for table LOV.
P_VAL_MEAN_COL => '', -- Column for table LOV.
P_VAL_DESC_COL => '', -- Column for table LOV.
P_VAL_OBJ_NAME => 'oracle.apps.bne.integrator.validators.
BneDFFValidator', -- Table for table LOV, class for java
P_VAL_ADDL_W_C => '', -- where clause for table LOV.
P_DATA_TYPE => '', -- 1=NUMBER,2=varchar,3=date ?
P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
P_SUMMARY_FLAG => 'N', -- VARCHAR2
P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
P_PROMPT_LEFT => 'Descriptive Flexfield', -- VARCHAR2
P_PROMPT_ABOVE => '', -- VARCHAR2
P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
Text', '* Value','Text','* Date'
P_USER_HELP_TEXT => 'US', -- VARCHAR2
P_LANGUAGE => 'US', -- VARCHAR2
P_SOURCE_LANG => 'US', -- VARCHAR2
P_OA_FLEX_NUM => '', -- VARCHAR2
P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
P_DISPLAY_ORDER => 803, -- check
P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
P_LOV_TYPE => 'NONE', -- VARCHAR2
P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
dbms_output.put_line('Creating OA_FLEX component');
end;
insert into bne_components_b
(application_id, component_code, object_version_number, component_java_class,
created_by, creation_date, last_updated_by, last_update_login, last
updatedate )
values
(140, 'OA_FLEX',1.0,'oracle.apps.bne.integrator.component.BneOAFlexComponent',
2,to_date('20051201','YYYYMMDD') ,2, 2, to_date('20051201','YYYYMMDD') );
Update bne_interface_cols_b
set last_update_date = to_date('20051201','yyyymmdd')
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and sequence_num in (1011, 1012);
Update bne_interface_cols_tl
set last_update_date = to_date('20051201','yyyymmdd')
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and sequence_num in (1011, 1012);
Reference
559392.1Hello.
The process is described in the Oracle Web Applications Desktop Integrator Implementation and Administration Guide manual.
Octavio -
How to install Apache Server on Linux 10G for HTML DB 1.6
Hello,
i have Oracle 10g installed under Suse Linux. Apache needed to be installed too in the oracle home but isn't.
it's required for HTML 1.6 DB install.
i did not found it with the normal installation image, how to install Apache for Oracle? for 10G?
Regards
CarlThe Apache is on the Companion CD
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/linuxsoft.html
Also HTMLDB 1.5, so Install only the Application Server and add the HTMLDB 1.6 from separate Download -
How to add crystal enterprise server in portal?
Hello, I am not familiar with SAP Portal, I am a little bit confused with the following direction from point 5. I don't know how to add the system in the landscape. I don't see the Edit list. The netweaver version is 2004.
To configure the BusinessObjects Enterprise server
1. From the top-level navigation bar, choose System Administration; then
choose System Configuration.
2. From the Detailed Navigation iView, choose System Landscape.
3. In the Portal Catalog, expand Portal Content.
4. In the folder containing the systems, right-click a system and choose
Open, and then choose Object.
5. In the System Landscape Editor, from the Edit list, select Crystal
Enterprise Server.
6. In the BusinessObjects Enterprise Editor, enter the following parameters:
u2022 Host Name of Crystal Enterprise Server:
Here you need to enter the BusinessObjects Enterprise server as fully
qualified host name (including the port).
For example: BusinessObjects001.business.net:1080
u2022 Path of BusinessObjects Enterprise Server:
Here you need to enter the path to the viewer application you want to
use for this system.Hi,
the steps are under the assumption that you have a system already configured in the portal.
the values for the BusinessObjects server are just properties. If you don't have a system configured you would have to create a system first - otherwise you can set these properties for an exisitng system
ingo -
How to configure Apache Virtual Hosts?
Hi, I was wondering, how does configure Apache virtual hosts for Mac OS X Client 10.4.5? At this time, I have added
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /Library/WebServer/Documents/janus
ServerName janus.php.test
ErrorLog /private/var/log/httpd/janus.php.com-error_log
CustomLog /private/var/log/httpd/janus.php.com-access_log common
</VirtualHost>
Finally, when I try to use the name in the browser, I get the following error message:
Safari can’t find the server.
Safari can’t open the page “http://janus.php.test/” because it can’t find the server “janus.php.test”.
Well, I must go and thanks in advance.
Peace,
-ConradIf you want to use the fqdn you defined and can/do not want to register it as a Internet Domain you can add it to the hosts file in /etc/hosts if you are comfortable using terminal and the shell
open a terminal
and use the following commands
cd /etc
sudo vim hosts
(you will be prompted for your password here, enter it and hit return)
in vim scroll to the last line which will look like
::1 localhost
type
i
(you are now in insert mode)
type the following line
192.168.0.15 janus.php.test
(replace the ip address with the ip address of the host in question)
hit Control-C
type
:w (vim will confirm in the last line)
type
:q
you are back at the terminal
test your new hosts file by typing
ping janus.php.test
Hope this helps
Mike -
How to add fields to already loaded cube or dso and how to fill records in
how to add fields to already loaded cube or dso and how to fill it.can any one tell me the critical issues in data loading process..?
This is sensitive task with regards to large volumes of data in infoproviders.
The issue is to reload of data in case of adjusted structures of infoproviders.
Indeed there are some tricks. See following:
http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
https://service.sap.com/sap/support/notes/1287382 -
Ok, so I've been trying to get CERN's ROOT program/libraries to work in an xcode project for a while, but I'm running into one really weird error, and I think I may just not know how to add a library to a project correctly.
Suppose I create a new Xcode C++ command line tool project. I hit Build and go, and it gives me a nice little Hello World! in the console, just as it should. If I then click on the project in Groups & Files, go to Project>Add to Project..., and choose, say, libCint.so, from my root/lib directory, and click ok, then click Build & Go, I get an error in the console:
dyld: Library not loaded: @rpath/libCint.so
Referenced from: /Users/paulthompson/Documents/Programming/Build Products/Debug/LibraryIncludeTest
Reason: image not found
sharedlibrary apply-load-rules all
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)
My assumption is that either I'm missing a step in the process of adding a library, or else there is something jacked up with the libraries themselves. Anyone have any advice?
Thanks,
Paul
EDIT* Oh, I should mention that the actuall binary that gets built after adding the library WILL execute properly in the Finder, or from terminal, just not with the Build & Go, or Go commands from within xcode.
Message was edited by: TraxusIVTraxusIV wrote:
Results of otool:
LibraryIncludeTest:
@rpath/libCint.so (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
Macintosh-9:Debug paulthompson$ otool -L /Applications/CERNRoot/root/lib/libCint.so
/Applications/CERNRoot/root/lib/libCint.so:
@rpath/libCint.so (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
I honestly don't know much about @rpath. I found this page that explains it a bit more: http://blogs.sun.com/dipol/entry/dynamiclibraries_rpath_andmac
So, since I don't want to deploy with the environment variable set, I should ask, what IS the correct, MacOS X way to do it?
The best way to find that is to look at how Apple does it. They put frameworks in /System/Library/Frameworks and regular shared libraries in the standard places. You can do the same. Put your frameworks into /Library/Frameworks and your shared libraries into /usr/local-based paths.
If you want to create stand-alone executables that can be installed via drag-n-drop, you can put shared libraries inside the application bundle. If your shared libraries/frameworks are elsewhere, you will need some sort of installer to get them installed.
I've been sifting through Apple's developer documentation but I have yet to find a concise, straightforward explanation of how to add shared libraries. I'm horribly confused at this point. Is there a good tutorial available anywhere for both the general unix case of linking to dylibs and .so's, and the Mac specific case?
Hopefully someone else knows an answer for this one.
*EDIT* I do already have the variable defined both in ~/.MacOS/environment.plist and also in Xcode as an additional user variable.
I'm not sure about the whole RPATH thing. Setting environment.plist will define environment variables for use in the Finder, but that is really a hack. There are better ways to do it, but if you are porting some open-source programs, that may be the only way. You should be able to define those variables in Xcode. You have to selected the debug executable under "Exectuables" -
How to add A single row at the middle of the table in a Webi report
Hi,
I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
Thanks in advance
Regards
MonikaHi Monika,
It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
Can you explain in more detail what you are trying to do?
Thanks
Maybe you are looking for
-
Problem in a forecast function
Hi everyone, I have an application planning. In the application I have a button that execute a forecasting planning function. On wednesdya the function was generatin the forecanting sucessfully (around 3 to 5 seconds in time excecution) but the next
-
Oracle xml_dom.writeToClob ignore the character set
I'm trying to generate a xml file using oracle. After generating the xml using dbms_xmldom, it is stored in a CLOB and later written to a table. The problem is that the character set ('UTF-8') is not included in the header even though it is specified
-
"File" tab in external table editor replaced by "Access Parameters"?
Hi, I have a few external tables where the "File" tab in the external table editor is replaced by an "Access Parameters" tab. Does anybody know what may have caused this or how to repair it? Thanks, Ed
-
Just today when I tried to sync, the progress bar showed, backing up iphone, then syncing contacts, then stopped, with an error message that read: iTunes could not sync calendars to the iPhone because the iPhone disconnected. The problem is... it did
-
Question Mark "?" symbol
Apparantly there's a Question Mark "?" symbol on my MacBook Pro,& when i click on it a message pops up saying "the item can't be found". Is there any way i can remove it?