What is meant by "Discussions"?
Software, Computer Help
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Software, Computer HelpGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:
Friday, 11 August 2006
JAAS: configuring Websphere web-application to a custom realm/LoginModule Kilian Goetz 00:49:55
 Hi,

iВґve got to set up a Apache MyFaces 1.1 Webapplication on a WebSphere 5.1. My problem is to configure the JAAS-Login. The application has a custom LoginModule wich handles User-Authentication­ self by hibernate. It works fine on TomcatВґs and JBoss.
IВґve installed the application with the Websphere AdminConsole (it works fine) and configured JAAS Applications Login with the correct realm-name and LoginModules of my application.
Now if i want to log in, my own Login-Form only accepts the windows-user login but not uses my custom LoginModule/realm.

code-fragment form web.xml:

<security-constrain­t>
<display-name>MyUse­r</display-name>
<web-resource-colle­ction>
<web-resource-name>­MyLogin</web-resourc­e-name>
<url-pattern>/*</ur­l-pattern>
</web-resource-coll­ection>
<auth-constraint>
<role-name>MyUser</­role-name>
</auth-constraint>
</security-constrai­nt>

<login-config>
<auth-method>FORM</­auth-method>
<realm-name>MyLogin­</realm-name>
<form-login-config>­
<form-login-page>/l­ogin.jsf</form-login­-page>
<form-error-page>/e­rror.jsf</form-error­-page>
</form-login-config­>
</login-config>

<security-role>
<role-name>MyUser</­role-name>
</security-role>

an from server.xml configuration of tomcat:

<Realm className="org.apac­he.catalina.realm.JA­ASRealm"
appName="MyLogin"
userClassNames="MyL­ogin.UserNamePrincip­al"
roleClassNames="MyL­ogin.RolePrincipal"
debug="99"
useContextClassLoad­er="true" />

jaas.config:

MyLogin {
MyLogin.auth.module­.MyLoginModule requisite;
};

How could i configure this realm-assignment in WebSphere 5.1 (AdministratorConso­le or config-file)?

Pls help me, iВґm searching for a solution for a long time

kiliang.
comment 6 answers | Add comment
Session sharing Roy Tsang 00:29:00
 Would you tell me how can I share session variable across several context(application­)?

I have developed several applications on the websphere.
In fact, they are using the same user database.
User login application A, then they can access application B without login.

Does Single Sign On (SSO) can do that job?

thank you very much.
comment 3 answer | Add comment
help with teranews/xnews Bopper 04 00:22:14
 I have forgotten my teranews password how the hell do I get started with
xnews I cannot figure it out and I am no wiser for reading all the
information that come with it. I cannot stand all that technical stuff its
a genuine phobia I have, it brings on anxiety. I was doing fine till my
computer hsd to be repaird.

Can anyone help please

B04


comment 15 answers | Add comment
Thursday, 10 August 2006
Rational Web Developer and Express Guest 23:23:19
 Two Questions:

1) Is Rational Web Developer the same thing as WSAD?

2) It says that Rational Web Developer is bundled in the Express install. But then here (http://www6.softwa­re.ibm.com/sdfdl/v2/­regs2/wbiesel1/was60­_trial/Xa.2/Xb.N2_vx­grz5cMKjJqFji8i7w/Xc­.InstallGuide_expres­s.html/Xd./Xf.Ltr./X­g.3481749/Xi.was60ex­p/XY.regsrvs/XZ.S3Aj­UvnieU2v7V7QtmCHUK1s­W1o/XX.text/html/Ins­tallGuide_express.ht­ml#rwdroadmap) it says that Rational Web Developer should not be installed on the same machine as Express. So which one is correct?
comment 1 answer | Add comment
I am stuck on this..can you help please? Richard 23:16:59
 This may be a silly question but it has me really stumped! I
imported an item into the UK recently which I paid by credit card, and
so I enter the transaction in my credit card register. Now along comes
the bill from Fedex for the import duty and VAT and an admin charge for
the item and I paid this by cheque.

I am confused as to quite how I should deal with this Fedex bill in my
entry into the register for my cheques as the vat figure is not now part
of the original goods that it is charged on if you follow me.

Many thanks if you can guide me on this.

Richard
--
Richard K

comment 6 answers | Add comment
Re: "Just so there's no mistake." Nomen Nescio 22:29:25
 
Do keep in mind that at some point, the X-No-Archive policy for the Google> Groups was changed so that a post actually remains in the archive for seven> days before it will no longer be searchable. The chances of someone replying> to an X-No-Archive post, and possibly not using X-No-Archive in the reply,> is much greater with a seven day timeframe before the post is removed.>
"I don't want you to archive my articles! How can I keep my messages from> being archived on Google Groups?"> http://groups.googl­e.com/support/bin/an­swer.py?answer=7918

Look at your profile. Google does NOT delete messages from its archive
after 7 days, it just stops displaying them on the front-end, but they
are STILL THERE.





comment 6 answers | Add comment
Find EJBs already deployed in WAS using Admin Console GUI Guest 21:45:59
 How can I see all the EJBs (stateless session beans) that are bound to node/cell in WebSphere App Server 5.1.x?

I can see the EJBs bound in WSAD Test Server by running Universal Test Client on WSAD Test Server. The EJBs will be displayed under ejb directory as com.myejb.....

Is there a similar way to see all the EJBs that are already bound in WAS (not WSAD) using Admin Console GUI?
Add comment
Monitoring Health of installed App Silverfox 21:41:29
 We use MQ and WebSphere App Server 5.1. We have a number of
applications installed that pass data via MQ from a series of hand held
scanners to our backend database.

I need to be able to monitor the health of not only the WebSphere
Application Server but also the individual applications. If one of
them goes down/hangs I need to be alerted.

How would I go about this?

comment 1 answer | Add comment
Exception com.ibm.ejs.cm.prox­y.OracleConnectionPr­oxy is closed while querying database ..Please hel Taneja Akash 17:22:44
 Hi All,

I am getting following exception while trying to query oracle database in my onMessage() method of JMS listener. Can you please suggest any solutions?
Currently my datasource is Non-XA datasource. Is it required to have a XA datasource or this is some another problem.I have checked my code it works fine if i am calling it through unit test case instead of JMS Listener.

com.ibm.websphere.c­e.cm.StaleConnection­Exception: class com.ibm.ejs.cm.prox­y.OracleConnectionPr­oxy is closed
at com.ibm.ejs.cm.prox­y.OracleConnectionPr­oxy.prepareStatement­(OracleConnectionPro­xy.java:206)
at net.sf.hibernate.im­pl.BatcherImpl.getPr­eparedStatement(Batc­herImpl.java:257)

Warm Regards
Akash
Add comment
Overhead on enabling Diganostic traces for data source alone Arun S 16:45:10
 Hi All,
If we enable the diagnostic traces for Data Sources alone in production what would be the ballpark estimate on impact of log size,application performance and CPU usages.
Any web references for this impact study would be useful.

Thanks,
Arun
comment 1 answer | Add comment
JMX Admin Client Blues Guest 16:01:56
 I am trying to connect to a remote server and I am getting this error. The system.out log says this

Any help is appreciated.

System.out
~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~
[8/1/06 11:14:49:502 CDT] 0000000a RoleBasedConf W loadSecurityPolicy:­ cannot load AdminOperations ,continue with the default mbean security policy.
[8/1/06 11:14:49:767 CDT] 0000000a JMXSoapAdapte A ADMC0013I: The SOAP connector is available at port 8880
[8/1/06 11:14:51:158 CDT] 0000000a distSecurityC I SECJ0243I: Security service started successfully

But I get this error
~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~
com.ibm.websphere.m­anagement.exception.­ConnectorException: ADMC0016E: Could not create SOAP Connector to connect to host ACDV0548 at port 8880
at com.ibm.websphere.m­anagement.AdminClien­tFactory.createAdmin­Client(AdminClientFa­ctory.java:368)
at com.rps.was.jmx.JMX­RemoteClientApp.crea­teAdminClient(JMXRem­oteClientApp.java:64­)
at com.rps.was.jmx.JMX­RemoteClientApp.main­(JMXRemoteClientApp.­java:42)
Caused by: java.lang.reflect.I­nvocationTargetExcep­tion
at sun.reflect.NativeC­onstructorAccessorIm­pl.newInstance0(Nati­ve Method)
at sun.reflect.NativeC­onstructorAccessorIm­pl.newInstance(Nativ­eConstructorAccessor­Impl.java:39)
at sun.reflect.Delegat­ingConstructorAccess­orImpl.newInstance(D­elegatingConstructor­AccessorImpl.java:27­)
at java.lang.reflect.C­onstructor.newInstan­ce(Constructor.java:­274)
at com.ibm.websphere.m­anagement.AdminClien­tFactory.createAdmin­Client(AdminClientFa­ctory.java:299)
... 2 more
Caused by: com.ibm.websphere.m­anagement.exception.­ConnectorNotAvailabl­eException
at com.ibm.ws.manageme­nt.connector.soap.SO­APConnectorClient.re­connect(SOAPConnecto­rClient.java:251)
at com.ibm.ws.manageme­nt.connector.soap.SO­APConnectorClient.<i­nit>(SOAPConnectorCl­ient.java:184)
... 7 more
Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line "...": java.util.NoSuchElementException; targetException=java.lang.IllegalArgumentException: Error parsing HTTP status line : java.util.NoSuchElementException]
at org.apache.soap.tra­nsport.http.SOAPHTTP­Connection.send(Unkn­own Source)
at org.apache.soap.rpc­.Call.invoke(Unknown­ Source)
at com.ibm.ws.manageme­nt.connector.soap.SO­APConnectorClient$2.­run(SOAPConnectorCli­ent.java:234)
at java.security.Acces­sController.doPrivil­eged(Native Method)
at com.ibm.ws.manageme­nt.connector.soap.SO­APConnectorClient.re­connect(SOAPConnecto­rClient.java:231)
... 8 more
comment 3 answer | Add comment
can i install websphere 5.1 on AIX 5.3 32bit processor Guest 15:26:12
 can anybody tell me, Installation of websphere application server 5.1 can be done on AIX 5.3 with 32 bit processor or not??

thank you in advance.
comment 3 answer | Add comment
SOAP Attachment interop(C#<->Java) Guest 15:21:05
 Hi,
I have a requirement to implement WebServices Client in C# and WebServices Server in Java(webSphere). The application involves uploading attachments. Preliminary research suggest I use MTOM, but the webSphere app server I am going to be using does not support MTOM. I have to restrict my ideas towards either MIME or DIME. Please suggest best approach with the mentioned constraints...any sample code with the interop(C# <-> Java) would be appreciated.

Thanks in advance.

Cheers,
Sridhar.
Add comment
Problems installing with $AdminApp install Guest 15:12:51
 Hi all,

IВґm trying to make a script to deploy applications with jacl, my code is:

###################­####################­####################­##############
if {$argc < 4} {
puts "Use: <wsadmin> install_app.jacl <cell> <node> <server> <ear>"
exit
}

set cell [lindex $argv 0]
set node [lindex $argv 1]
set server [lindex $argv 2]
set ear [lindex $argv 3]

$AdminApp install $ear {-cell $cell -node $node -server $server}
$AdminConfig save
###################­####################­####################­##############

My problem is in the exec of the script, it logs next:

-------------------­--------------------­--------------------­-------------------
WASX7017E: Se ha recibido una excepciГіn al ejecutar el archivo "instalar_app.jacl"­; informaciГіn de excepciГіn: com.ibm.websphere.m­anagement.exception.­AdminException
javax.management.MB­eanException
com.ibm.websphere.m­anagement.exception.­AdminException: ADMA5047E: No existe el nombre de cГ©lula $cell en la configuraciГіn.
-------------------­--------------------­--------------------­-------------------

so, as you can see, it doesnВґt "understand" the argument $<var> between the "{}".

Anybody knows how can i type my vars between that "{}" so it works fine ?? IВґve been trying with quotes, back slash and some else but without success.

Thanks a lot.
comment 2 answer | Add comment
Websphere documentation is poor Josh.S17@Gmail.Com 12:19:59
 Is it just me or do others agree that the websphere documentation is
quite poor. Does anyone have experiences with other application
servers. Is weblogic any better?

comment 1 answer | Add comment
Re: So MUCH indirection! So Little Productivity! Guest 11:50:25
 Have you considered a change of career? From your post it sounds like you would make a good philosopher :)­
comment 3 answer | Add comment
WAS 6.1 - WSJdbcDataSource incompatible with OracleDataSource Mauro Velasco 03:12:09
 Hi all, In WAS 6.1 I created a Datasource but when I'm looking for it
in my application in this way

ds = (OracleDataSource) ctx.lookup("java:co­mp/env/"+dataSource)­;

Got thw following com.ibm.ws.rsadapte­r.jdbc.WSJdbcDataSou­rce
incompatible with oracle.jdbc.pool.Or­acleDataSource

I need use OracleDataSource and for this have two questions:

1. Why WAS return a WSJdbcDataSource object when in the Datasource
configuration
I specify oracle.jdbc.pool.Or­acleConnectionPoolDa­taSource and
<res-type>oracle.jd­bc.pool.OracleDataSo­urce</res-type> in my web.xml ?

2. Exist some way to change this configuration in WAS??

Pls any idea or help is very apreciated

best regards
Mauro

comment 2 answer | Add comment
websphere application deployment through admin console should ask for configuration of Provider URL Tirumal B 02:01:51
 I need websphere application server to ask me for configuration of a Provider URL during the deployment of an application. THiss configuraiton is specific to the deployed applcaiton. The resource can actually be configured under resource provider URLs but i want that screen to popup during the deployment of the appication
Add comment
Re: JNDI lookup of resources Matthias R Engelhardt 01:03:02
 I am trying the same thing and have also a problem. It seems that I came one step less than you - I get "Exception in thread "main" java.lang.NoClassDe­fFoundError: com/ibm/ejs/ras/Tr"­. I could find no .jar library containing class "Tr". Does somebody know where to find it (I am using IBM Rational Application Developer 6.0 on a Suse Linux 9.1 computer).

And is the original problem soved in the meantime? Thanks in advance.
comment 2 answer | Add comment
Scripts to display Websphere performance statistics Klh 00:55:48
 We're running WAS 5.0 on Windows 2003 advanced server.

Occassionally we have performance issues for which we would like to be
able to take a quick snap shot of several statistics, like:

- connection pool count
- thread pool count
- avg response time for the servlet

We have Tivoli Performance viewer, but it takes so long (about 30
minutes) for the viewer to start up that often times the problem has
gone away or we've had to reboot our server before we can get the
statistics we need.

I was wondering if anybody had some DOS command line scripts that we
could run to obtain this information when we're having a problem.

Thanks in advance,
KLH

Add comment
Question about userid/password management Rswartwood 00:47:11
 I'm working with a client who wants to access an FTP server from a
Timer EJB in WAS 6.0. They need a userid and password to access the
server but aren't supposed to store this information in a properties
file. Does anyone have any thoughts on how/where to store this?

Thanks
Ralph Swartwood

comment 1 answer | Add comment
Hot code replace not working with MyEclipse 5.0M2 and Websphere 6.0 Nimisha Wale 00:07:16
 Hi,

I am getting issues in hot code replacement while connecting to externally started Websphere server through MyEclipse.
I am able to debug my application fine with MyEclipse but when I try to compile something it says "Target VM does not support hot code replcement".
If I start my server with -Xj9 as VM argument, then I get an error saying "Could not start the JVM".
Also, there is a mismatch in current environment information between SystemOut.log and startServer.log. While startServer.log says that Java version is JIT enabled, SystemOut.log says that JIT is disabled.

Please let me know how to fix this.

Thanks
Add comment
Wednesday, 9 August 2006
Re: Sitemesh and WAS 6 David Hamilton 23:54:38
 This question seems abandoned - does anybody know whether a fix exists for WAS 6.0.x? If not, are there known workarounds?
comment 1 answer | Add comment

Add new topic:

How:  Register )
 
Login:   Password:   
Comments by: Premoderation:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Software, Computer HelpGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

see also:
Automated JBoss(Branch_3_2 WonderLand)…
Forum searching returns no results
pass tests:
see also:
Google Phone G1 - Begin to enjoy your…
iPhone killer? - BlackBerry Storm…
Hi,i am coming!

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .