What is the wp_profile Administrative Console URL of IBM Portal Express 8.5? - websphere-portal

I was just exploring Portal Express 8.5 and was able to login to the admin console of cw_profile but not to the wp_profile. In Portal express 8 version we can use https://:10032/ibm/console/logon.jsp. This is not working on 8.5 version.
Please help.

Usually the ports are assigned during installation, so it could be that they vary depending what is already installed on your system. You can check the config on the server itself by checking serverindex.xml. The file is located at wp_profile/config/cells//nodes/
Inside of this file you can check for WC_adminhost and WC_adminhost_secured. These two elements provide you information on the port used for the admin console.
The file I checked had them like this
<specialEndpoints xmi:id="NamedEndPoint_1430250971397" endPointName="WC_defaulthost">
<endPoint xmi:id="EndPoint_1430250971397" host="*" port="10039"/>
</specialEndpoints>
...
<specialEndpoints xmi:id="NamedEndPoint_1430250971399" endPointName="WC_adminhost_secure">
<endPoint xmi:id="EndPoint_1430250971399" host="*" port="10032"/>
</specialEndpoints>

Related

ColdFusion 2021 - how to browse pages in a browser

I have installed ColdFusion 2021 and can access the administrator at the following URL: http://127.0.0.1:8500/CFIDE/administrator/index.cfm
I have created a site and set up the datasource, but I can't preview it in a browser. I keep getting a 404 error — The page you are trying to access can not be displayed. Please try again or notify the administrator. When I look at my DSN settings, it's default to port 1433, not 8500. When I click 'verify' for the datasource, nothing happens. The status is blank. What am I overlooking?
This is the URL I'm using to test (folder name/file name): http://localhost:8500/mysite/addAgent.cfm
Thank you.
The port 8500 for the Coldfusion administrator has it's own webserver built in.
The CF admin will only serve it's own pages. You usually need a separate webserver that talks to Coldfusion with a handler. IIS, Apache, etc. Try removing the port for your own custom pages. Think of it as a separate site.
It looks like you are confusing at least 3 concepts.
You can get to the CF admin. That is a good thing.
Inside the CF admin is the DSN Settings. That is just a normal CF admin page. Port 1433 is how SQL Server communicates with systems external to it, like ColdFusion. Port 1433 is not a page.
ColdFusion has a built in server. Are you looking for the directory that ColdFusion uses for its built in server, cf_root/cfusion/wwwroot You can just add a subdirectory and file as needed.

IBM Connections and IBM Websphere Portal integration

I'm integrating IBM Connections and IBM Websphere Portal using this guideline (guideline page).
To deploy portal application archive SNPortlets.paa I need to know a couple of parameters from connections installation(network deployment installation) to run the script:
-DICportletWebapp=portletWebapp
-DICblogsHomepageHandle=homepagehandle
-DICemailSetting=emailSetting
-DICtagSearchType=tagSearchType
-DICdsxAdminId=
-DICdsxAdminPwd=
(those I've tried to figured out)
-DICbaseURL=https://connections_domain
-DICprofilesContextRoot=/profiles
-DICfilesContextRoot=/files
-DICprofilesURL=https://connections_domain/profiles
-DICprofilesURLunsecured=http://connections_domain/profiles
-DICsearchContextRoot=/search
-DICnewsContextRoot=/news
-DICfilesURL=https://connections_domain/files
-DICsearchURL=https://connections_domain/search
-DICoauthURL=https://connections_domain/connections/oauth
-DICnewsURL=https://connections_domain/news
-DICoauthContextRoot=connections/oauth
The question: is there any config file or other source where can I get all those parameters?
sure they are generally included in your LotusConnections-config.xml it should be in your deployment manager.
for instance on my server it's located at...
/local/con/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/localhostCell01/LotusConnections-config/LotusConnections-config.xml
<sloc:serviceReference acf_config_file="acf-config-nf.xml" bootstrapHost="" bootstrapPort="" clusterName="conCluster" enabled="true" person_card_service_name_js_eval="generalrs.label_personcard_activitieslink" person_card_service_url_pattern="/service/html/mainpage#dashboard%2Cmyactivities%2Cuserid%3D{userid}%2Cname%3D{displayName}" serviceName="activities" ssl_enabled="true">
<sloc:href>
<sloc:hrefPathPrefix>/activities</sloc:hrefPathPrefix>
<sloc:static href="http://con.ihost.com:81" ssl_href="**https://con.ihost.com:444**"/>
<sloc:interService href="https://con.ihost.com:444"/>
</sloc:href>
</sloc:serviceReference>
-DICblogsHomepageHandle The Blogs home page handle for your IBM Connections deployment. The default is homepage.
-DICemailSetting Set to email-exposed or email-hidden depending on whether the IBM Connections server is configured to expose user email addresses or to hide them.
-DICtagSearchType Set to search or mysearch, depending on whether you want the tag cloud to display tags only for public content or tags for public content as well as for content the logged-in user contributed.
-DICdsxAdminId The user ID that is set in the dsx-admin role for the Profiles and Communities services.
-DICdsxAdminPwd The password for the dsx-admin user.
http://infolib.lotus.com/resources/connections/4.5.1/doc/accessible/plugins/en_us/html-wrapper.html
basicaly dsx-admin you shouldn't have to use.
tagSearchType and emailSettings are just flags

Exporting a Typo3 site bit by bit

(edit: I'm leaving all the mistaken assumptions in just in case someone else makes the same mistakes)
I have an ancient Typo3 3.8.1 site on a remote server. I don't have access to that server, and the team in charge of maintaining the site doesn't know who to contact to get access to the server. I do have the admin rights on that site, though. (edit: no I don't. oops.)
This is what I see in the (not) admin menu:
I'm not sure if this version supports extensions, I can't find an extension manager anywhere. (because I'm not an admin)
I want to export the site so I can host it on a server on my own domain instead. The problem is the export file is too large, I can't download it. Will I destroy the directory structure if I export a bunch of pages at a time?
If you have admin access to the backend you can try to install Quixplorer - file manager. Using it you can try to zip folders in the main directory ie. (typo3, typo3conf, fileadmin etc) one by one and download them via browser.
It's important to download and remove typo3conf.zip from the server as soon as possible, cause it contains sensitive data.
Additionally you can also install PhpMyAdmin extension (search in repository) i you haven't other MySQL client.
Edit:
If you can't use Quixplorer the only way is... to write own extension and upload it via Extension Manager, there you'll need to try perform primitive file system operations like:
(PHP)
system('zip -R t3c.zip typo3conf/');
Sometimes the server allows more memory and execution_time that the T3D Export. So, if you can change PHP files on that server, try to change typo3/sysext/impexp/class.tx_impexp.php - search for ini_set and change that settings. If the server allows, you can then create bigger t3d-files.
And you could try some shell-extensions to get hands on that server:
http://typo3.org/extensions/repository/view/phpshell
http://typo3.org/extensions/repository/view/mw_shell
http://typo3.org/extensions/repository/view/shell
But to answer your initial question: you can crate a couple of T3D-files and import them again. Just force uid if you import them - and install all needed extensions first!

Cannot sign in with google app engine plugin

When trying to sign in using the button in the lower left corner of the screen, I am unable to do so because it needs a verification code. However, I am not offered the chance to receive one, it only brings me directly to the "allow this application page." The exact error in the log is
Could not sign in. Make sure that you entered the correct verification code.
Thanks for your help in advance.
I had the same issue, resolved by changing network settings as follows:
In Eclipse:
Preferences > General > Network Connections
Set Active Provider to Manual
Under Proxy entries, edit the HTTPS proxy, adding host and port info
Check "Requires authentication" and add your network ID and password
I had a similar problem on my Mac OS X.
However, after upgrading my JDK from 1.6 to 1.7 my problems disappeared.(Note: JDK not JRE)
The default java on Mac 10.x is Java SE 6 and you can't uninstall it. You can add Java 1.7 or higher and your system should automatically pick up the later version -you can check from the terminal with
$java -version

Redirect Loop Problem for Web Policy Agent?

I followed the installation guide for an Apache Web Policy Agent, but it always results in an endless redirect loop between web and application server. Firefox says "The page isn't redirecting properly" and Chrome thinks that "This webpage has a redirect loop". The setup is an Apache 2 on port 80 with a small demo app and a Web Policy Agent, and a Tomcat 7 server on port 8080 with an OpenAM server (the former OpenSSO from Sun):
App URL http://hostname.example.com:80/ (App and Agent, running on Apache 2.2.16)
OpenAM Server URL http://hostname.example.com:8080/openam (running on Tomcat 7.0.12)
The Live HTTP Header Firefox plugin shows that the policy agent and the OpenAM server (i.e. the Apache and Tomcat servers) redirect to each other, although the server sets the SSO Token Cookie correctly. The name of the SSO Token Cookie has the default value "iPlanetDirectoryPro". Any idea how to solve the problem?
After a whole week I finally figured it out, with the help of Stackoverflow and the OpenAM Mailing list. There were two main problems: missing log files and missing cookie domains. Installing the OpenAM server and the Web Policy Agent is difficult, there are a lot of log files and many different configuration options. If you select the wrong options, it won't work. It is impossible to make it work without knowing what is going on, which can only be determined by a suitable log file.
Missing Log for Web Policy Agent : The log level must be set in the "Java properties" files. There are two "Java Properties" files for the Web Policy Agent, OpenSSOAgentBootstrap.properties and OpenSSOAgentConfiguration.properties. The log and debug level which is named com.sun.identity.agents.config.debug.level can and must be defined in both (!) files, and it should be set to the high level, all:4 or all:5. The format is important. Even if you do this, the AgentConfiguration.properties file is only used when the agent is not working in centralized config mode. The profile must be set to "local".
Missing Cookie Domain: Do not forget to enter the right Cookie Domain during the setup of the OpenAM server in the beginning, or add it afterwards if it is missing. On the OpenAM server, go to Configuration > System > Platform and change the Cookie Domain Value to your domain (for instace .example.com) if it is missing. Otherwise the browser will lose your cookie during the redirect process. Somehow I had an empty entry for the cookie domain at the OpenAM server, I guess a forgot a dot (example.com instead of .example.com) so that it was invalid (or something like that).
This troubleshooting site was helpful to locate the problem.
#0x4a6f4672, Your post was absolutely helpful . Some more to add to your answer. The following changes is what i had to do in the config to make it running, at-least getting it running it for alfresco.
com.sun.identity.agents.config.user.mapping.mode=USER_ID(Dont use HTTP_HEADER)
com.sun.identity.agents.config.user.attribute.name=uid
com.sun.identity.agents.config.user.principal=true(Dont use false)
com.sun.identity.agents.config.user.token=SsoUserHeader(Keep it as per what is specified in you application- in my case alfresco)
Now you are not running the Agent in centralised mode but in local mode the setting which is specified for profile attribute can be only set via property file so add the following.
com.sun.identity.agents.config.profile.attribute.fetch.mode=HTTP_HEADER
com.sun.identity.agents.config.profile.attribute.mapping[uid]=SsoUserHeader(whatever you want the header to come in browser as)
As told by 0x4a6f4672, it is difficult to debug and unless you are in local mode , so switch to local mode immediately and start tracing the logs and make the property changes accordingly.

Resources