Multiple servlets in one web app?
Is this possible?
what I want is to have different servlets handling different parts of the app and control to be passed via <form> tag in embeded html.
If this is possible do I need to deploy each of them on their own or can I have multiple entries in the web.xml file.
Alternatively am I going about this the wrong way?
Thanks
You should have a look at web.xml documentation. You would find out a lot more features you could use and get a better understanding how this all works and what all could be done. If you have tomcat, have a look at it's documentation or even better get the free pdf at pdf.coreservlets.com!
Similar Messages
-
SharePoint 2013 Multiple authentication prompts for web apps
We have multiple web apps for MySite, collaboration portal and search centre. When users click on different URLs and access different portals non IE browsers prompt for credentials multiple times for
each Web app.
Is this some thing to do with
kerberos delegation set-up?
http://technet.microsoft.com/en-us/library/ee806870(v=office.15).aspx
sudesh withanageThis is basically the way its designed to work. Kerberos will help with authentication between different site collections on the same web app, but not different web apps. Since you have multiple web apps Kerberos Delegation of credentials does
not apply. It only happens on non-IE browsers because IE can be set to pass the OS credentials in the background by default. For other browsers you normally have to save a web site's credentials.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Accessing Common functionality from multiple parts of my web app
I have a web app and one of the modules is getting used by other modules in the application.
This was ok when we had 2 modules accessing this module but now we are adding more and more.
The module consists of JSP and Servlets and Backend DAO's.
Right now I have special cases (if statements) that determine what module is accessing this module (each module passes in it id in the URL for example testId, correctionId.
Basically what this module creates can be assoicated with other modules, so the DAO will save and then check to see if certian module ids are present and then does a save based on that.
I dont think this solution is very elegent and I was wondering if anyone had any suggestions on a good way to design this module so it can be easily accessed from other modules in my application.
So to summerize:
All my modules are JSP/Servlet/DAO/Model Code
One of my Modules is accessed from many other modules.
When this module saves its data to the database, it has to take the id that the calling module passsed into it and determine what database bridge table it should save to.
I want to if anyone has any suggestions on how to design this so allowing more modules to access this module will not require anot of extra code in the module.
Thank you,
AlHello Al,
Use DAO Pattern.
Have a Factory Class which determines which DAO object it instantiates and hands it over to the Servlet.
Based on the ID, Create the instance object of the DAO and have an interface which has the contract method.
What I mean is :
For Example lets say u have a Interface "ModuleDAO". Have a method "persistData"...
Create 2 DAO Implementations which implement the same Interface and both will have their own "persistData" implementation going to the respective Tables. The reason why I am recommending multiple DAO implementation is to avoid If else / etc and complex coding.The implementations are independant of each other.
Have a DAO Factory [or you can use Spring Framework Bean Factory] infront and have your servlet request for the DAO Implemntation based on the ID.
Your servlet should have NO reference to the Internal Implementation which is being retuirned. It only need to know about the Interface. This way code is clean, decoupled from logic and easier if you want to move the logic out to EJB / External WebServices, etc...
Hope this helps.
By this way, you are exercising all "Factory, DAO and Bridge" Design Patterns.
Thanks,
Pazhanikanthan. P -
Incoming Email not working for one web app, but IS working for others in same farm.
I have enabled incoming email in a large multi-web application farm running SharePoint 2013 SP1 and the Feb 2015/March 2015 CUs that were pushed down in Windows Updates. It works just fine for two web applications, but it will not work for one particular
web application. I see the email land in the /drop folder. If I remove the email address from the library in http://nonworkingapp web
application and use it on a library in a http://working web application, then the email is processed successfully. Conversely,
if I take an address from a library in http://working and move it to a library inhttp://nonworkingapp it
does not work. I've tried multiple site collections on http://nonworkingapp. This rules out any SMTP issues, etc. and means
the issue is bound to this web application. Permissions are the same between the "non-working" and "working" locations: domain users are members on the site, and the library inherits permissions from the site. The App Pool and Timer
Service accounts have rights to the folder and to the library.
The error in the ULS log is the typical error processing message, but it gives no additional information even though I have enabled Verbose logging.
The Incoming E-Mail service has completed a batch. The elapsed time was 00:00: 00.0156294. The service processed 2 message(s) in total. Errors occurred processing 2 message(s): Message ID: Message
ID:
Typically, you see "alias not found" or some permissions or quota issue here, but this issue is NOT the same as those. In this case NO additional information is provided in ULS.
Edit: running stsadm.exe -o refreshdms -url http://one/failing/site fixed some similar issues where "Unknown alias" was
reported even though the list did have an alias (see here:http://blogs.technet.com/b/vinitt/archive/2009/07/15/e-mail-enabled-list-alias-information-is-not-synchronized-between-configuration-database-and-content-database.aspx).
This did not fix the issue for the case mentioned above.
What could possibly be the issue preventing incoming email from working on this one web application?Thanks for your reply. Incoming E-Mail was running on all 3 WFE, however I do not think this was the cause. As noted, _other_ emails send to http://workingapp are working just fine. I can send two emails - one to a library on http://workingapp
and another on http://notworkingapp. The email to http://notworkingapp will sit in the drop folder, while the one to http://workingapp will be processed correctly. In addition, the ULS log on WFE1 indicates an attempt to process the file fails.
So clearly, the timer job on WFE1 is running and attempting to process the file. For kicks, I disabled the service on WFE2 and WFE3, but with no change in the behavior.
WRT to #1, I have done this already (as noted in the original post). I can remove an alias from http://workingapp and place it on http://nonworkingapp and it is not processed. If I return it to http://workingapp it is processed. In other
words, I go into Library Settings -> Incoming Email for a working library, and copy the alias, then disable incoming email for that library. I then go to Library Settings -> Incoming Email for a non-working library, enable incoming email, and paste
the alias. Once done, emails sent to the alias are not processed. I then do the reverse, and it works again.
On #2, I have already tried multiple libraries on http://nonworkingapp (also as noted in the original post).
In my environment, incoming email does not work for any library on http://nonworkingapp, but does work for any library on http://workingapp. Troubleshooting listed above has ruled out any problem with basic mail server configuration or library settings
- the problem is bound to http://nonworkingapp
I'm not sure what you mean by "steps to reproduce the issue". If I knew that, I would probably be able to solve the issue. The best I could come up with to describe the situation would be:
Set up SP 2010 in a three-node configuration with multiple web apps
Enable incoming email and confirm it works
Migrate to a SP2013 SP1 farm in a three node configuration.
Enable a new email alias for a library
Observe that it doesn't work for one web application.
Obviously, it's pretty unlikely that attempting that in a lab would actually have the same result. -
Storing multiple passwords for one web site
I go to one web site that I have over 30 different user accounts that I access. Is there a way to have Firefox remember all of the user account login and passwords?
You may be able to do that with the LastPass add-on https://addons.mozilla.org/en-US/firefox/addon/lastpass-password-manager/
I don't know about the maximum but it does support multiple info for the same domain / URL. Please note that the app is basically a secure online backup solution for passwords and whatever is created is mirrored to an online backup site. -
Re: Multiple servlets in one webapp
Do I define all the servlets in the one web.xml or one web.xml per servlet?
web.xml is per your webapplication,one for each application. All the servlets of your particular webapplication need to be configured in the web.xml of your webapp
-
404 file not found ,for servlets in a web app but not for html files
Hi everybody ,I have this web app on weblogic 7 .The application
works file with Tomcat 4.0 but on WebLogic server 7,I am getting
404 not found for all the servlets ,although weblogic is serving
the html files without any problems
Create a subdirectory called 'classes' and copy your servlet class file
to the 'classes' dir.
mydomain/applications/
DefaultWebApp/
WEB-INF/classes.
Modify the web.xml file located in the mydomain/applications/
DefaultWebApp/
WEB-INF/ directory
<web-app>
<servlet>
<servlet-name>
myServlet
</servlet-name>
<servlet-class>
package.name.myServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
myServlet
</servlet-name>
<url-pattern>
servlet-url-pattern
</url-pattern>
</servlet-mapping>
</web-app>
Start the default WebLogic Server.
Call your servlet from a Web browser with the following URL:
http://localhost:port/servlet-url-pattern
servlet-url-pattern is the value of the <url-pattern> element that you
defined in the web.xml file.
prakash wrote:
> Hi everybody ,I have this web app on weblogic 7 .The application
> works file with Tomcat 4.0 but on WebLogic server 7,I am getting
> 404 not found for all the servlets ,although weblogic is serving
> the html files without any problems
-
Multiple NLS in one web server
Hello all ,
currently i have the following:
DB1 ,ar8mswin1256 characterset , accessed from web application with nls = ar8mswin1256 .
DB2 , WE8ISO8859P1 characterset , accessed from web application with nls = WE8ISO8859P1.
i want to consolidate the two database into one utf8 , and put the two web applications into one web server (Microsoft IIS ).
Question1:
Now , for the two applications , what characterset should i use ( in the client side)? utf8,ar8mswin1256, WE8ISO8859P1.
Question2:
In Microsoft IIS web server how can i set a different Charaterset for each web applications? the entry for the NLS is in the registry and shared by whols applications in the server and there is no option in the command "ALTER SESSION" to set the characterset.
Thanx for your help
nullIf you use Oracle9i (at least) database and client, then both the database and the NLS_LANG should be AL32UTF8.
Microsoft IIS by itself does not read NLS_LANG. It has to use some Oracle interface to get to the database. Anyway, the recommendation is to use whatever Microsoft IIS and your programming environment have available to work in Unicode UTF-8. You do not need two separate NLS_LANG values.
-- Sergiusz -
How to embed multiple queries in one web template
Hi,
I've a requirement wherein I need to embed two queries in one web template. The first query displays order quantity from a particular customer and the second query displays other information for that customer. Most of my web templates i've contains only one query which i've created using 0ADHOC template saving this as diff template and modifying it. But this is the first time I have got this type of requirement wherein the user drills down on a particular customer for order quantity and then goes for other information from other query.
Does anyone out there has any idea or suggestion as to how to do this ? One more thing I need to pass the values from one query to another which is akin to RRI concept while staying in the same web template.
Your suggestions/advices are highly appreciated.
Thanks in Advance,
Rash.Hi Rash,
You can do this by including 2 table web items in your template and assiging the 2 different queries as different dataproviders to each. You can try to create a drop down box to filter the customer and in its properties set DataProvider1 and DataProvider2 as the affected data targets.
Hope this helps... -
How to configure request manager service for multiple website in one web application
I have set up sp 2013 as below:
web application : wa1
site collection : sc1
sp site: site1, site2
I used 2 WFE, 1 APP, how can I use request manager service to control site1 to wfe1, site2 to wfe2?
AwenThat's not what i'd describe as load balancing.
A better description would be load-isolation. In your description then if the load on site1 was large (and growing) but site2 was quiet then site1 would struggle and eventually become unable to handle the number of users but site2 would still be ok. That's
fine from a QOS point of view but it's not the norm for load balancing. It would work in simple scenarios but the out of the box load balancing tools are much better suited than that sort of approach.
This article shows how to configure the RMS and may help show how your request is difficult to configure:
http://www.harbar.net/articles/sp2013rm2.aspx -
Multiple projects in one web role using Azure cloud?
How to run One webrole with multiple projects using azure?
In my solution One WCF service and ane website i want run both on one solution,
How to run both in one domain?
anilbabuThanks for replying,
I want to this type of output,
In my project one solution two projects(one website and one WCF service)
what i am asking is
this type
running both projects single service
http://postimg.org/image/oijwkbn7h/
After
i a hosting into azure that url's like this
How can i get this type of output
EX: http://multliplehos.cloudapp.net/
Service url: http://multliplehos.cloudapp.net/Service1.svc
anilbabu -
Calling ejbs from servlets without using web apps.
i am trying to instantiate and ejb from a servlet but it gives me the
following error. the configuration and code that generated this error is
attached below.
oddly enough the same chunk of code works fine in a stand alone client if
j2ee.jar;weblogic\classes and weblogicaux.jar are included in the classpath.
any help would be appreciated.
peter
-8787844: in servlet.Webmedx.init
-8787844: null
java.lang.ClassCastException
at
com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject.narrow(Porta
bleRemoteObject.java:296)
at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at webmedx.servlet.Webmedx.init(Webmedx.java:23)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:474)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java, Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:422)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:187)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:118)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:760)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:707)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:369)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
configuration:
WebLogic startup settings are presently:
CLASSPATH Prefix
\weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar
CLASSPATH
\weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar;\weblo
gic\
jre1_2\lib\tools.jar;\weblogic\jre1_2\jre\lib\rt.jar;\weblogic\jre1_2\jre\li
b\i1
8n.jar;C:\weblogic\license;C:\weblogic\classes\boot;C:\weblogic\classes;C:\w
eblo
gic\lib\weblogicaux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
JAVA_HOME \weblogic\jre1_2
WEBLOGIC_LICENSEDIR C:\weblogic\license
WEBLOGIC_HOME C:\weblogic
system properties:
java.security.manager
java.security.policy=\weblogic\weblogic.policy
weblogic.system.home=\weblogic
java.compiler=symcjit
weblogic.class.path=\weblogic\lib\weblogic510sp5.jar;\weblog
ic\license;\weblogic\classes;\weblogic\lib\weblogicaux.jar
INITIAL_HEAP 64 MB
MAX_HEAP 64 MB
SERVERCLASSPATH
\weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar;\weblo
gic\
jre1_2\jre\lib\rt.jar;\weblogic\jre1_2\jre\lib\i18n.jar;C:\weblogic\classes\
boot
;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
Type "wlconfig -help" for program usage.
code:
public void init() throws ServletException{
try{
Log.debug("in servlet.Webmedx.init");
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, "t3://localhost:7001");
Context initial = new InitialContext(h);
Object objref = initial.lookup("webmedx/pool");
webmedxpoolhome =
(WebmedxPoolHome)PortableRemoteObject.narrow(objref,WebmedxPoolHome.class);
}catch(Exception ex){
Log.error(ex);
The problem before was that you were trying to load the same class from
2 different class paths. The ClassCastException is very un-intuitive in this
case.
Peter Ghosh wrote:
> however, when i added it to the classpath prefix (not the
> weblogic.classpath) it seemed to do the trick. very odd.
> thanks,
> peter
>
> "Peter Ghosh" <[email protected]> wrote in message
> news:[email protected]...
> > i tried that but no luck. any other suggestions?
> > peter
> >
> > "Ohad Shany" <[email protected]> wrote in message
> > news:[email protected]...
> > > Is your EJB classes on the servlet classpath?
> > > (weblogic.httpd.servlet.classpath property)
> > >
> > > I had some strange casting problem when my EJB classes was on the
> servlet
> > > classpath
> > > and it was gone when i moved them to the weblogic.class.path . Worth a
> > try.
> > >
> > > OHAD
> > >
> > > Peter Ghosh wrote:
> > >
> > > > i am trying to instantiate and ejb from a servlet but it gives me the
> > > > following error. the configuration and code that generated this error
> is
> > > > attached below.
> > > > oddly enough the same chunk of code works fine in a stand alone client
> > if
> > > > j2ee.jar;weblogic\classes and weblogicaux.jar are included in the
> > classpath.
> > > > any help would be appreciated.
> > > > peter
> > > >
> > > > -8787844: in servlet.Webmedx.init
> > > > -8787844: null
> > > > java.lang.ClassCastException
> > > > at
> > > > com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject.narrow(Porta
> > > > bleRemoteObject.java:296)
> > > > at
> > > > javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
> > > > at webmedx.servlet.Webmedx.init(Webmedx.java:23)
> > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > > > at
> > > > weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
> > > > pl.java:474)
> > > > at
> > > > weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
> > > > Impl.java, Compiled Code)
> > > > at
> > > > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
> > > > mpl.java:422)
> > > > at
> > > > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
> > > > java:187)
> > > > at
> > > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> > > > pl.java:118)
> > > > at
> > > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> > > > textImpl.java:760)
> > > > at
> > > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> > > > textImpl.java:707)
> > > > at
> > > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
> > > > ContextManager.java:251)
> > > > at
> > > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
> > > > a:369)
> > > > at
> > > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
> > > >
> > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
> > > > Code)
> > > >
> > > > configuration:
> > > >
> > > > WebLogic startup settings are presently:
> > > >
> > > > CLASSPATH Prefix
> > > > \weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
> > > > logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar
> > > > CLASSPATH
> > > > \weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
> > > >
> >
> logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar;\weblo
> > > > gic\
> > > >
> >
> jre1_2\lib\tools.jar;\weblogic\jre1_2\jre\lib\rt.jar;\weblogic\jre1_2\jre\li
> > > > b\i1
> > > >
> >
> 8n.jar;C:\weblogic\license;C:\weblogic\classes\boot;C:\weblogic\classes;C:\w
> > > > eblo
> > > > gic\lib\weblogicaux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
> > > > JAVA_HOME \weblogic\jre1_2
> > > > WEBLOGIC_LICENSEDIR C:\weblogic\license
> > > > WEBLOGIC_HOME C:\weblogic
> > > > system properties:
> > > > java.security.manager
> > > > java.security.policy=\weblogic\weblogic.policy
> > > > weblogic.system.home=\weblogic
> > > > java.compiler=symcjit
> > > >
> > > > weblogic.class.path=\weblogic\lib\weblogic510sp5.jar;\weblog
> > > > ic\license;\weblogic\classes;\weblogic\lib\weblogicaux.jar
> > > > INITIAL_HEAP 64 MB
> > > > MAX_HEAP 64 MB
> > > > SERVERCLASSPATH
> > > > \weblogic\lib\weblogic510sp5boot.jar;\j2ee\lib\j2ee.jar;\web
> > > >
> >
> logic\lib\servlet.jar;\weblogic\lib\jaxp.jar;\weblogic\lib\parser.jar;\weblo
> > > > gic\
> > > >
> >
> jre1_2\jre\lib\rt.jar;\weblogic\jre1_2\jre\lib\i18n.jar;C:\weblogic\classes\
> > > > boot
> > > > ;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
> > > >
> > > > Type "wlconfig -help" for program usage.
> > > >
> > > > code:
> > > >
> > > > public void init() throws ServletException{
> > > > try{
> > > > Log.debug("in servlet.Webmedx.init");
> > > > Properties h = new Properties();
> > > > h.put(Context.INITIAL_CONTEXT_FACTORY,
> > > > "weblogic.jndi.WLInitialContextFactory");
> > > > h.put(Context.PROVIDER_URL, "t3://localhost:7001");
> > > > Context initial = new InitialContext(h);
> > > > Object objref = initial.lookup("webmedx/pool");
> > > > webmedxpoolhome =
> > > >
> > > >
> >
> (WebmedxPoolHome)PortableRemoteObject.narrow(objref,WebmedxPoolHome.class);
> > > > }catch(Exception ex){
> > > > Log.error(ex);
> > > > }
> > > > }
> > >
> >
> >
-
Office Web Apps Farm Across Multiple Data Centers?
I have not been able to find any definitive information about this but the article below seems to suggest what I have in mind is not recommended. I am not sure about supported.
"Stick to one data center. Servers in an Office Web Apps Server farm must be in the same data center. Don’t distribute them geographically. Generally you need only one farm, unless you have security needs
that require an isolated network that has its own Office Web Apps Server farm."
http://technet.microsoft.com/en-us/library/jj219435.aspx#topology
What I have is two very well connected data centers located in the same metro area. We will be deploying a Lync EE pool at each site and use pool pairing for DR. What I am wondering is should I:
Create a single Office Web Apps farm with the server from each data center as members?
Create a farm in each site with a single member, but both farms sharing the same URL?
Create a farm in each site with a single member, but both farms have different names. This seems unnecessarily ugly, but throwing it out there.
Since Lync is using Office Web Apps in read only mode the question is different than if SharePoint were involved. However, I can't rule out this farm also being used for SharePoint down the road.
The LB/RP device of choice is Citrix NetScaler. Another thought I had is can that be configured so incoming requests for Office Web Apps at each data center can prioritize traffic to the server or farm within that data center? If that is unavailable
then switch to the server at the other data center?
Thanks.Hi,
An Office Web Apps farm can be deployed to provide functionality for multiple sites.
Also you can deploy one Web Apps farm on each site.
So I think you can choose to deploy with the option one and three as you said.
Here is a case about deploying Lync deploy Office Web Apps server may help you:
http://social.technet.microsoft.com/Forums/lync/en-US/7e67bacf-4895-4bdb-95b8-0aff8a0c575f/geographical-placement-of-office-web-app-servers?forum=lyncdeploy
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Creating multiple web apps in 443 port number
hi all,
would like to know the speciality of 443 port number.can we create multiple web applns on this ?
assume i have a web app running on 443 called
https://myportal.company.com [ intranet ] can i create a another web app on this same port, like
https://mysites.company.com [ its a mysite web appln ] and can we create an all different, Internet web appln on this same port ?
if yes, what are the steps to achieve this.
and curious to know why MSFT has designed like this.
help is appreciated!Any Web App you create must be differentiated from other Web Apps in one of 3 ways. It can use a custom IP address, a custom port number or a host header. In your example you are already using the same port number and I assume you aren't using
different IP addresses since that requires a fair amount of behind the scenes work. So that would leave creating the two web apps with different host headers. The problem with this approach is that Apps in SharePoint require at least one web app
in the farm with NO host header. So if https://myportal.company.com was created using no host header then https://mysites.company.com must be created using a host header. Any additional Web apps using 443 will also need to be created with host
headers. Apps will then all run off the MyPortal web app. You can specify the host header for the web app when creating the web app. Everything else is normal.
To answer your question of why it is designed this way. This is the way IIS server works and really has nothing to do with SharePoint.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Office Web Apps - how to disable office web apps features for one web application
ENV: Sharepoint 2010 farm with office web apps + fast search
I have the requirement for one web application to open all its documents in client applications - I can enable feature "OpenInClient". This web application uses team site template and other web application also uses team site template. ( feature
stapling ruled out) Now I can run powershell cmdlet to enable this feature on all the currently existing site collections. But the requirement is to enable this feature for all the future site collections. This web applications has 60 k site collections
and atleast more than 10 site collections get created each day and they dont like the option to run a powershell script each day to activate this solution.
Is there any other way to by default activate new site collections on this WA to open in client applications by default (can we disable this office webapps features only on one web app)?
VMI have learnt from this forum that it is not possible to turn off Office web apps on single web application. The line of control lies at farm level and then at site collection.
Disable
Office Web Apps on web application
VM
Maybe you are looking for
-
I'M FED UP WITH NO BEING ABLE TO ACCESS MY ADOBE CREATIVE CLOUD SOFTWARE.
I subscribed to 1 year with Adobe Creative Cloud more than a year ago. I got a discounted price of $29.99 per month instead of the normal $49.99 per month, because I qualified being that I had previously purchased and installed Adobe Creative Design
-
How do you debug Busting problems?
I'm using a dataTemplate and a Bust Control File, but the busting doesn't appear to be firing, however everything is completing normally and I'm not able to find any log files (request & concurrent) that have errors in them? When i run the request, w
-
Default documents to Adobe Acrobat Professional
I am running Adobe Acrobat Professional X but each time I open a PDF (from email and/or from file) my system defaults to Adobe Acrobat Reader XI. How do I set it to (always) default to my Adobe Acrobat Professional X application? I have tried to un
-
Customize Filter View in OBIEE 11g
Hi, Is there any way to customize the filter view? My requirement is not to show formulas that are used in Analysis in the "Filter view". All analysis that we create should go with Filter Views at the bottom and Users should not see the formulas. Exa
-
I need to convert current date to alaska timezone.. wats the query in sql developer?